Hey. I want to have content that would eventually validate to XHTML-Basic standards. It's for a site that will have an alternate xhtml version besides flash.
I know regular expressions are the way. They're bit of a vodoo for me, but I'm getting there... :) Geoff Stearns <[EMAIL PROTECTED]> wrote: 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 : > > SIZE="12" COLOR="#FFFFFF">sample text > > 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. > _______________________________________________ > [email protected] > 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 _______________________________________________ [email protected] 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 --------------------------------- We have the perfect Group for you. Check out the handy changes to Yahoo! Groups. _______________________________________________ [email protected] 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

