Rendering simple HTML in a text field


show more Rendering simple HTML in a text field provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training show less
please wait ...

Rendering simple HTML in a text field

Text fields support simple HTML code. If I test the movie, you'll see that I have some HTML code that links to explorecalifornia.org in my text field. This is a standard HTML link. If you're curious about HTML code, you can watch Dreamweaver Essential Training. Close the window, go to the first keyframe of the actions layer, and open the Actions panel. Note that I'm loading a file called bear_html.txt.

That file has the HTML code inside of it. So, if you want to have Flash render simple HTML code, you can scroll down and change text in info_txt.text inside of the textLoaded function, to html all lowercased and then Text with a capital T. That's it, test the movie, and then explorecalifornia.org will be a link. So you can click that, and the web site will open.

Now, Flash doesn't support all HTML, just parts of it. If you want to find more information about what specific HTML tags are supported, you can look htmlText up in Flash Help by highlighting it and pressing F1 on ...

Rendering simple HTML in a text field
Video duration: 5m 51s 7h 8m Beginner Updated May 23, 2012

Viewers:

Rendering simple HTML in a text field provides you with in-depth training on Developer. Taught by Todd Perkins as part of the ActionScript 3.0 in Flash Professional CS5 Essential Training

please wait ...