
July 14th, 2005
08:15 PM
Bold external Text
hello,
i have a file that loads text into a set text field. however i need some of this text bolded, what would be the best way of doing this? i tried playing around with CSS and HTML but couldnt figure it out.... any suggestions?!
Thanks
___________________
__________________
YUM
-Spotter

July 14th, 2005
09:02 PM
Neverside Newbie
Status: Offline!
That would be the best way to do it, in fact I'm not to sure of any other way.
Just put the <b> and </b> tags around your text (in your text file), and make the text field accept HTML. You can set that in the ActionScript, or in the properties panel.
eg.
textFieldname.html = true;
Remember when you set the text, use:
textFieldname.htmlText = htmlTextVar
Not:
textFieldname.text = htmlTextVar
By the way, Do NOT embed fonts for the text field when using html, it won't work-- That is the html text won't show.
Well, hope that helps you. 
___________________

Last edited by hamstu, July 14th, 2005 09:03 PM (Edited 3 times)

July 15th, 2005
04:33 AM
hey mate,
alright ive created the HTML, CSS and flash file
im getting the HTML to load in yay yay, however the CSS doesnt seem to load in - could someone take a look at my code in both the HTML and Flash docs and let me know if im missing anything?
thanks
http://www.teksunstudios.com/html_flash.zip
___________________
__________________
YUM
-Spotter