Creating HTML Rendering Textboxes in Flash
- The Dynamic and Input textboxes can be made HTML Rendering.
- Create a Dynamic Textbox and select 'Render text as HTML" from the Properties inspector, don't forget to enter a variable name say, 'dyn_txt'.

- To format the text in Bold/Italics, open Actions window (F9) and type the following code:
dyn_txt = "<b>This text is in Bold</b><br>";
dyn_txt = "<i>This text is in Italics</i>"; - Values can also be concatenated using '+' sign. Other HTML tags for Fonts can also be used with these Textboxes as shown below:
dyn_txt = "<font color='#"+990000+"'><b>First line Text in Bold Red color</b><font>";
dyn_txt += "<br><font size='20'>2nd line Text with font-size 20.<font>"; - Hyperlinks and Paragraphs can also be done as shown below:
dyn_txt="<br><p align='center'>Center aligned Paragraph Text in Italics</p>
<a href='http://www.smartwebby.com'><b>Smartwebby.com<b></a> to visit the site";
discuss this topic to forum
