Ah - I gotcha - I'll try that. I see what Tom was saying now. Thanks all..
Jason Merrill Bank of America Learning & Organization Effectiveness - Technology Solutions >>-----Original Message----- >>From: [EMAIL PROTECTED] [mailto:flashcoders- >>[EMAIL PROTECTED] On Behalf Of Giles Taylor >>Sent: Tuesday, August 01, 2006 10:25 AM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] WSIWYG HTML text editor in Flash? >> >>You want to be using the TextFormat class. If you use it on an >>htmlTextField then flash does all the html coding for you; much easier! >> >>Giles >> >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf Of Merrill, >>Jason >>Sent: 01 August 2006 15:11 >>To: Flashcoders mailing list >>Subject: [Flashcoders] WSIWYG HTML text editor in Flash? >> >>Two related questions. In a nutshell, trying to make a WSIWYG HTML text >>editor for Flash 7. >> >>Question 1: >> >>Has anyone created an HTML text editor component or class of some kind >>in Flash? Basically, having a textfield containing a paragraph of text >>the user can apply bold, size, font, etc. to - I assume it would use >>something like: >> >>textfield.replaceText(Selection.getBeginIndex(),Selection.getEndIndex( ), >>theNewString) >> >>or something to that effect. >> >>So to my second question, I was able to get the above working, but the >>html Textfield would not apply the new HTML tags, it would show them >>literally when replaceText was used. Initially, I set the text with >>textField.htmlText = myText and renders fine with the bolding, but >>textField.replaceText() seems to not allow the textfield to show the >>bold tags applied - it shows the literal tag. Any ideas? >> >>Basically, would like to create a WSIWYG HTML text editor (flash 7), but >>from what I read in the archives, it's a lot harder than it sounds and >>maybe not even possible in Flash right now, but I don't want to give up >>too early. It seems that all the basic methods are available, there are >>just some quirks to work out with the Textfield class. >> >>Thanks, >> >>Jason Merrill >>Bank of America >>Learning & Organization Effectiveness - Technology Solutions >> >> >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training http://www.figleaf.com >>http://training.figleaf.com >>_______________________________________________ >>[email protected] >>To change your subscription options or search the archive: >>http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> >>Brought to you by Fig Leaf Software >>Premier Authorized Adobe Consulting and Training >>http://www.figleaf.com >>http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

