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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.htmlText supported html (Flash 7.02) 1

Status
Not open for further replies.

webmigit

Programmer
Aug 3, 2001
2,027
US
I've got a field on flash that's set by results of a web service...

I'm setting .htmlText and some of the code works, some doesn't...

Code:
coverify.htmlText = "<span style=\"text-align: center\">" + "Verify online at:<br>" + "<span style=\"color: blue\">" + _global.DData.CVER + "</span>" + "<br><b>" + _global.DData.CNAME + "</b>" + "</span>"

I tried CSS as above, I tried using plain html for both the alignment and color.. and I tried a div instead of a span for centering.

None of it works... But the line breaks and the bold for the last line work fine.

I have the field set to allow html and I've tried setting the field's alignment (in the property inspector) to left and to center.

And lastly, I tried not quoting the attributes in the tags..

It doesn't work.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top