Groups | Blog | Home
all groups > flash actionscript > may 2005 >

flash actionscript : html with actionscript


robotstyle
5/18/2005 8:12:25 PM
This works fine:

Label.html = true;
Label.text = "<b> this is bold text </b>";

But this doesn't:

Label.html = true;
Label.text = "<font size="30pt"> this is 30pt text</font>";

How do I go about doing this?

apodkolinska
5/18/2005 8:23:12 PM
Try this... single quotes.. and html text needs to use the "htmlText" tag to work properly.

xmlFileName.html = true;
robotstyle
5/18/2005 8:36:30 PM
apodkolinska
5/18/2005 8:51:53 PM
AddThis Social Bookmark Button