I'll give that a try. Thank you. :)
- - - - - - - - - -[andrew murphy]- flash developer [EMAIL PROTECTED] delvinia interactive inc. 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 cell 416.820.8723 fax 416.364.9830 www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -----Original Message----- From: [EMAIL PROTECTED] [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(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 > > > > > > _______________________________________________ > > [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 > -- 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/ _______________________________________________ [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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.432 / Virus Database: 268.16.12/631 - Release Date: 16/01/2007 8:25 AM -- 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 _______________________________________________ [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

