Dynamic | load | text box
In Flash, you can use ActionScript to load HTML formatted text in a dynamic text box, and this tutorial will not give you a concrete explanation of HTML tags, if you are not familiar with the site to see the content of HTML basics.
The effect is as follows:
Click here to download the source file (decompression password: www.webjx.com)
Create a flash document, and then set the following font.
In the diagram above, if you haven't set up multiple lines and rendered text as HTML two items, then we can use the following code:
Mytext.html = true;
Mytext.multiline = true;
The HTML format document is then set.
Myhtmldata=<p><b>this is a bold text</b></p><p><i>and this text are in Italic</i& Gt;</p>this is a <a href= "linkhttp://www.webjx.com" ><u>link</u></a > to the BBC website.<br>here is a little list of colors: <br><li><font color= "#FF0000" >Red< /font></li><li><font color= "#009900" >green</font></li><li><font color= "#0000FF" >blue</font></li>here is a little image that links to the BBC Site<a href= "