In theory, the TextLines are parented by the RichEditableText which is a child of TextArea. The TextLine API uses the term “Atom” instead of “character” because it can theoretically have images and other non-character things taking up space in the line. I’m not sure TextFlowComposer will help you unless you need to re-compose the TextFlow because you changed it enough.
Things like strikethrough are done by drawing directly in the TextLine. If I were to do quick-and-dirty highlighting, I would start by applying child shapes and blendmodes. On 5/29/10 1:01 PM, "Baz" <[email protected]> wrote: Alex, thanks a lot for the tip, TextLine is VERY interesting and I've been researching it a lot. I'm surprised not to have bumped into a plug-and-play HighlightComponent that someone's released, so I guess I'll have to roll my own. I'm not sure exactly where to start though. Do I use "atoms"? How do I get at a RichEditableText's TextLines, it sems only available in TextArea? Should I use "TextFlowComposer"? What would the general anatomy of a "HighlightComponenet" look like? Thanks! On Fri, May 28, 2010 at 11:04 AM, Baz <[email protected]> wrote: Alex I'm going to look into that, thanks for the tip. Similarly, if I wanted to change the font color of a single word, would I use TextLine (or something similar) or would I then have to manually break apart the <span> tags to be able to give them different styles? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui

