Similar to recent thread on htmlText property of the Text/Label/TextArea control:
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Script> var fred:String = "<a href='mailto:[EMAIL PROTECTED]'>Fred</a>"; </mx:Script> <mx:Text id="t2" htmlText="{fred}" /> </mx:Application> If you don't need to do binding, you can use a CDATA block to get rid of those unsightly &glt; and < entities: <?xml version="1.0"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:Text> <mx:htmlText> <![CDATA[ <a href="mailto:[EMAIL PROTECTED]">Fred</a> ]]> </mx:htmlText> </mx:Text> </mx:Application> matt ________________________________ From: Pilby [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 09, 2005 2:51 PM To: Flex Coders Subject: [flexcoders] RE: How to email I trying to allow a user to click some text and get the same effect as clicking a mailto link in an HTML page where the user's local email client would open up a New Message window. How can I do that in Flex? Thanks. Yahoo! Groups Sponsor ADVERTISEMENT <http://us.ard.yahoo.com/SIG=129f14eqj/M=298184.6018725.7038619.3001176/D=gr oups/S=1705007207:HM/EXP=1108065101/A=2532114/R=2/SIG=12k9vp2n7/*http://clk. atdmt.com/NFX/go/yhxxxnfx0020000014nfx/direct/01/&time=1107978701402040> <http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S= :HM/A=2532114/rand=756651792> ________________________________ 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] <mailto:[EMAIL PROTECTED]> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .

