Styling Text in Flex???
Hey there,
What is your recommended way of styling text? And how would you store user-defined styles and apply them to different parts of text (like "header1", "highlighted", etc.)? Would you have to go through and use a text editor, or have you found a simple solution where you can just say “styleName” or “id” = “myStyle”, and it would apply styles from either a TextLayoutFormat object, or from some CSS parsed into a TextLayoutFormat object. Right now I am manually parsing CSS into TLF objects, caching them in a Dictionary, looping through Elements with “getChildByID”, and for-loop-assigning the TLF properties to the element. Seems like there could be something easier.
Thanks a lot,
Lance
