Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-21-2011, 05:45 AM   #1
jimmiDaHand
Member
 
Join Date: Aug 2009
Posts: 86
Default html text (easy one)

In as3 how do u assign a variable to display html text:

var myText:String = "<ul><li> bla</li><li> bla</li><li> bla</li></ul>

my_txt.text=myText

cheers
jimmiDaHand is offline   Reply With Quote
Old 03-21-2011, 10:28 AM   #2
Harshit.Desai
Registered User
 
Join Date: Mar 2011
Posts: 19
Talking

Just write::---


var myText:String = "<ul><li> bla</li><li> bla</li><li> bla</li></ul>";

my_txt.htmlText=myText;
Harshit.Desai is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:43 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.