Skip to main content
Known Participant
September 8, 2009
Question

Adding Links and Images

  • September 8, 2009
  • 1 reply
  • 590 views

What is the best way to dynamically add links and images, or how do we even do that, assuming I'm using the Flex RichEditableText or TextArea?  Do I have to manually create a LinkElement and somehow splice it into the TextFlow?  If so, how may I go about doing that?

Thanks so much for your help,
Lance

This topic has been closed for replies.

1 reply

Adobe Employee
September 9, 2009

Well there's two code paths and its really up to you.  You have two choices.

1) Use the direct model APIs as you propose

2) Attach an EditManager and use the higher level APIs available there.  (detach it if you don't want user interactivity).

Richard