Flashguy’s Blog
Wicked Actionscript

Adding a hyperlink to a Flashbuilder RichText Component

January 23rd, 2010 by Gabor Wraight

First of all be aware to use RichEditableText instead of the RichText. Unfortunatly I couldn't get links to work in the RichText Component. Also set editable="false" focusEnabled="false" in the RichEditableText Component to make it clickable

Actionscript:
  1. <s:RichEditableText editable="false" focusEnabled="false">
  2.     <s:content><s:p><s:span>some Text</s:span><s:a href="http://www.flashguy.de">the link</s:a><s:span>more Text</s:span></s:p></s:content>
  3. </s:RichEditableText>

This entry was posted on Saturday, January 23rd, 2010 at 17:56 and is filed under Actionscript 3.0, Flashbuilder, Flex. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.