Answered
Copying a TextFlow element
Ok apparently i don't fully know what i am doing, i am trying
to copy a TextFlow object, so i can past it reformatted into
another location.
what i am trying looks like the code attached with "this._textFlow" already being a working and highly formatted TextFlow, what i get when i try to remove children of this copy is an error like
"newElement still owned by another FlowGroupElement" ... so i don't think i am getting a unique copy, also i am unable to change the styles in this copy by traversing through the display hierarchy (seen in the other attached code). Though this dose work if i loop through the original TextFlow and re render it.
After this code not working, I know what i am doing is probably the wrong way about doing what i want to do, but i am not seeing any methods or new classes that will allow me to do what i am trying to do...has anybody done something like this?
what i am trying looks like the code attached with "this._textFlow" already being a working and highly formatted TextFlow, what i get when i try to remove children of this copy is an error like
"newElement still owned by another FlowGroupElement" ... so i don't think i am getting a unique copy, also i am unable to change the styles in this copy by traversing through the display hierarchy (seen in the other attached code). Though this dose work if i loop through the original TextFlow and re render it.
After this code not working, I know what i am doing is probably the wrong way about doing what i want to do, but i am not seeing any methods or new classes that will allow me to do what i am trying to do...has anybody done something like this?
