There is no API for that kind of thing. I would copy RichTextEditor.mxml and modify it. The key is to set the defaultTextFormat.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: Tuesday, April 22, 2008 9:45 AM To: [email protected] Subject: [flexcoders] RichTextEditor and keeping a color.... OK - I've got student data I'm loading into the RTE; it's got text that could be any color, etc. I've got teachers coming in to comment and make suggestions and I want their text to always be bold, red, and a certain font, even when they're clicking in and appending student text. I've got a function fired upon click that is trying to set the style for the text -- it works once, but when the teacher clicks someplace the text colors have been set - it resets itself to that color. All I want to do is what a user would do if they clicked, set their font, size, and color, and started to type. I just want to make it super simple. What am I missing?

