This is what Flex support wrote: I hope this code solves the problem
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Script> <![CDATA[ public function callRO():void{ ti.htmlText="<u>"+ti.text+"</u>"; } public function callROT():void{ ti.htmlText=ti.text; } ]]> </mx:Script> <mx:Label id="ti" text="Some Text" rollOver="callRO()" rollOut="callROT()" /> </mx:Application> So this is interesting, You could enhance this snippet to put a <u> tag around any link like 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 --- In [email protected], "Darren Houle" <[EMAIL PROTECTED]> wrote: > > You can also do something like... > > <a href="http://mysite.com/index.cfm"><b><u>#name#</u></b></a> > > It's really basic, but it works fine and the user gets the point. > > According to the docs... all that happens by default with links is that the > mouse turns to a hand, there's no hover, underline, etc. to let you know > it's a link. But you can use other tags to make it look like a link. My > undertanding is that the Flash Player supports the following tags (and > *only* the following tags) when embedding HTML in textareas, the htmlText > property, etc: > > <a> <b> <br> <font> <img> <i> <li> <p> <textformat> <u> > > Darren > > > > >From: "swhitley02" <[EMAIL PROTECTED]> > >Reply-To: [email protected] > >To: [email protected] > >Subject: [flexcoders] Dumb Newbie Question - Underlined Hyperlinks > >Date: Wed, 07 Jun 2006 21:34:40 -0000 > > > >Hello everyone. I'm hoping this is super easy, but I can't find any > >documentation on it. > > > >I'm working with Flex 2.0 Beta 3. While using the TextArea control, > >I'm posting an HTML hyperlink to the htmlText property. The link > >appears in the TextArea control and it works, but there's nothing to > >show the user that it's a link. Is there an easy way to force the > >display of hyperlinks to blue and underlined in the TextArea control? > >Is there another control that will display standard HTML? -- 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/

