RE: [Flashcoders] Loading .html as a String variable

2007-01-17 Thread Andrew Murphy
] [mailto:[EMAIL PROTECTED] On Behalf Of T. Michael Keesey Sent: January 16, 2007 8:18 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Loading .html as a String variable Not necessary -- you can just use the LoadVars.onData event function. data:LoadVars = new LoadVars(); data.onData = function

[Flashcoders] Loading .html as a String variable

2007-01-16 Thread Andrew Murphy
Hi. Does anyone know of a way to load an .html document as a simple String variable, so it can be parsed rather than displayed like a webpage? There's the good-ol-XML object, but if the webpage you're loading isn't exactly XML compliant, it won't load, correct..? Thanks. :) -[a]- -- No virus

Re: [Flashcoders] Loading .html as a String variable

2007-01-16 Thread Mick G
If you had a server-side language like PHP you could create a script to add myString= to the start of the file then load it with loadvars. On 1/16/07, Andrew Murphy [EMAIL PROTECTED] wrote: Hi. Does anyone know of a way to load an .html document as a simple String variable, so it can be

RE: [Flashcoders] Loading .html as a String variable

2007-01-16 Thread Steven Sacks | BLITZ
: [Flashcoders] Loading .html as a String variable Hi. Does anyone know of a way to load an .html document as a simple String variable, so it can be parsed rather than displayed like a webpage? There's the good-ol-XML object, but if the webpage you're loading isn't exactly XML compliant