Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML tags supported in Flash

Status
Not open for further replies.

spook007

Programmer
May 22, 2002
259
US
I'm loading <html> code into a TextArea component in Flash MXPro. Everything works the way I want it to, but I've noticed that flash doesn't support all html tags like <hr> will not appear. I was wondering if anyone knows where I can find a list that shows which tags work with flash. Thanks!!
 
havent seen a list yet but these are ok

<LI> - new paragraph with a little rect
<TEXTFORMAT - textfieldoptions with following attributes
BLOCKINDENT=&quot;20&quot; - textdistance from left border
INDENT=&quot;50&quot; - textdistance of first line from left
LEADING=&quot;12&quot; - lineheight
LEFTMARGIN=&quot;50&quot; - distance from left border
RIGHTMARGIN=&quot; - distance from right border
TABSTOPS=&quot;40,100,150&quot;> - list of tabstoppositions from left border

use \t to insert a tabstop into your text
 
Billwatson;

I'm displaying records in the TextArea that I mentioned above. I'm using CSS to format the look of the records, but would like to have somekind of divider between the records. At first I thought I could place an <hr> tag, but that didn't work. Then I thought I could apply a background color using CSS to have it switch colors on every other record. That didn't work either... besides hard coding &quot;-&quot; or &quot;*&quot; across the bottom of each record, any suggestions?
 
Up until MX2004...


Regards,

cubalibre2.gif
 
OldNewBie;

Thanks a million... exactly what I was looking for... gives me some options if any!!!
 
using css styles ought to be ok

ive only glanced at this so i cant say if it will help...i just havent had time to dig into how limited flash is with css but alternating record colors and changing them on rollover and so on ought to be ok



certainly adding <br> will add a linebreak
 
I'm sticking with the <br> it's not quite the way I wanted it, but it'll work. I can change the color of the text itself, but I can't change the background color of the text using CSS. Flash doesn't support that. Thanks for your help guys!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top