Is there a way to do this without specifying a URL in sendAndLoad? or without actaully sending it out anywhere? I have a php page which in an initial load vars sendAndLoad is sending back xml. SInce Flash see's it as a string I just want to convert it to an xml object without sending it out anywhere again.
Thanks!

On Oct 17, 2006, at 12:26 PM, Cedric Muller wrote:

var xml:XML = new XML();
xml.ignoreWhite  = true;
xml.onLoad = function () {
        trace(this);
}
var lv:LoadVars = new LoadVars();
lv.sendParam1 = "bla";
lv.sendParam2 = "blo";
lv.sendAndLoad(url, xml, "POST");

hth,
cedric

Hello All,
I am trying to convert the return string of a loadvars to an XML object. Does anyone know a simple way of doing this?
Thanks!

_______________________________________________
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

_______________________________________________
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