Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

58 users online



Bold external Text

Bold external Text

Currently viewing this thread: 1 (0 members and 1 guests)


spot

spot

{mac++}
Status: Offline!

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

hamstu

hamstu

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. Grin

___________________

http://www.hamstu.com/images/hamstu_com.gif

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

spot

spot

{mac++}
Status: Offline!

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

Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0067 seconds.