I'm curious why you would want to. Are you taking that text and
spitting it out as html?
As long as it's inside the Flash player, it doesn't matter what it
looks like, as the Flash Player is acting as the browser, and no web
browser will ever see that htmlText or have to read it.
To answer your question, though, it would just be a matter of running
the string through a regex that makes tag + attributes lowercase [and
removes deprecated tags].
On Oct 31, 2006, at 10:33 AM, Adrian Ionut Beschea wrote:
Hello,
The htmlText value of a textfield looks much like a jungle
Eg, a simple Verdana text :
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Verdana"
SIZE="12" COLOR="#FFFFFF">sample text</FONT></P></TEXTFORMAT>
Is there a way to at least make the tags lower case ? I'm looking
for an actionscript or php solution.
Thanks.
---------------------------------
Check out the New Yahoo! Mail - Fire up a more powerful email and
get things done faster.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com