So this is interesting, You could enhance this snippet to put a <u>
tag around many links in a longer textfile like 

private var someHTMLText:String = "This is <a
href="http://somewhere";>first link</a> and <a
href="http://overthere";>second link</a>. And <b>now</b> some more text.";

public function rollOverLinks():void{
    ti.htmlText=parseAndUnderline(someHTMLText);
}
public function rollOutLinks():void{
    ti.htmlText= someHTMLText;
}
private function parseAndUnderline:String(textToParse:String) {
    // do parsing, find hyperlinks and underline them here
    …
}

If You encapsulate this in a custom component, You just would bind
Your text to the component and it would work like a standard Text
component and behave as expected.

Nevertheless I would like to have a RichHTMLText component which
supports CSS 2.0.

-karsten





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to