I’m about to create a simple text editor in Flex that needs to provide controls for italics, bold, links, and color. Are there any free Actionscript code snippets out there to take care of pieces of this project? It should act on a TextField.
I think the following will need to be accomplished:
- maintenance of controls which apply the above actions to selected text, or starts to apply these controls if nothing is selected
- a redundancy check that prevents nested italics, bold, color, or link tags (this is the part I really don’t want to do)
- system that can remove the above styles from selected text
This system won’t be very complicated and it shouldn’t be a big deal - but if you know where I can find some of these things already done then I would appreciate it.
NOTE: I really don’t want an entire option bar like the one in these forums…I want to make the system just for the named controls.
Thanks.