tags:

views:

72

answers:

2

Does Flash support the <div> tag? I want to convert a table tag to a div tag to display within Flash.

+4  A: 

Using htmltext .. no it is not supported.

The following tags are supported

Anchor tag (<a>)
Bold tag (<b>)
Break tag (<br>)
Font tag (<font>)
Image tag (<img>)
Italic tag (<i>)
List item tag (<li>)
Paragraph tag (<p>)
Text format tag (<textformat>)
Underline tag (<u>)

Adobe 3.0 Language Reference

phwd
thanks so much .. how to build the table in html with flash supported tags..
Shashi
I am not sure what you mean are you getting HTML formatted tables that need to be converted in flash? Is there any specific reason you cannot use data grids to show this table ?
phwd
You may need a HTMLParser Class to handle all of this http://www.buzzware.com.au/_blog/Coffee_into_Code/post/Pure_Actionscript_HTML_Parser_(with_thanks_to_John_Resig)/
phwd
you don't have to use `TextField::htmlText`. see my answer for more details.
back2dos
A: 

The FTL framework is capable of handling divs.

back2dos