4 Replies Latest reply on Apr 13, 2010 9:30 AM by slingsla0

    Maintaining individual character textformatting when copying from one textbox to another


      I have two text areas in adobe flex - an original and a target text area.  The original text area has text in it and some of the words are in bold (the user has the option to bold whatever selection in the text they want via a bold button).  What is the easiest way to maintain this text formatting when copying it over to the target text area?  I know about getStyle and setStyle but would using that mean I'd have to individually get the style of each character in the old text when copying over, check if it is bold, and set it again to bold in the target text area?  I know there's got to be an easier way than that but I just can't think of it right now.  Much appreciated