RE: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
t in the textField. -- Michael -Original Message- From: Adrian Ionut Beschea [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 31, 2006 11:08 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] trying to make htmlText more w3c valid it won't be inside flash. The application will

RE: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Michael A. Jordan
Sent: Tuesday, October 31, 2006 11:08 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] trying to make htmlText more w3c valid it won't be inside flash. The application will have 2 versions : flash version and xhtml version (for mobile devices) The flash version will remain as is. Geo

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
it won't be inside flash. The application will have 2 versions : flash version and xhtml version (for mobile devices) The flash version will remain as is. Geoff Stearns <[EMAIL PROTECTED]> wrote: but html inside your flash movie doesn't need to be valid, and in some cases might even display

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hey Jake, Thanks! Works like a charm. Adi. Jake Prime <[EMAIL PROTECTED]> wrote: On 31/10/06, Adrian Ionut Beschea wrote: > Is there a way to at least make the tags lower case ? I'm looking for an > actionscript or php solution. Hi Adrian This will make tags lower case: function toLowe

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Jake Prime
On 31/10/06, Adrian Ionut Beschea <[EMAIL PROTECTED]> wrote: Is there a way to at least make the tags lower case ? I'm looking for an actionscript or php solution. Hi Adrian This will make tags lower case: function toLowerCaseTags ( htmlTxt:String ) : String { var a:Array = htmlTxt.

[Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
Hello, The htmlText value of a textfield looks much like a jungle Eg, a simple Verdana text : 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

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Geoff Stearns
but html inside your flash movie doesn't need to be valid, and in some cases might even display wrong, since the flash player is what displays it, not the browser... so trying to make htmlText that is only displayed in the flash player valid is a bit of a waste of time. when you validate an

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Adrian Ionut Beschea
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]>

Re: [Flashcoders] trying to make htmlText more w3c valid

2006-10-31 Thread Geoff Stearns
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 answe