Not necessary -- you can just use the LoadVars.onData event function.

data:LoadVars = new LoadVars();
data.onData = function(source:String):Void {
   // Do stuff with the raw string data (source).
}
data.load("someURL");

Normally onData calls onLoad, but, if you overwrite it per the above
code, onLoad will never fire.

On 1/16/07, Mick G <[EMAIL PROTECTED]> wrote:
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 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 found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.5.432 / Virus Database: 268.16.13/632 - Release Date:
> 16/01/2007
> 4:36 PM
>
>
> _______________________________________________
> 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



--
T. Michael Keesey
Director of Technology
Exopolis, Inc.
2894 Rowena Avenue Ste. B
Los Angeles, California 90039
--
The Dinosauricon: http://dino.lm.com
Parry & Carney: http://parryandcarney.com
ISPN Forum: http://www.phylonames.org/forum/
_______________________________________________
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

Reply via email to