Re: [Flashcoders] POST form data and receive XML?
Dear Mike, [EMAIL PROTECTED] schrieb: Yes you can post values using loadVars and recieve an xml string back in return. I am doing so now using php to output back xml. [..] var newLoad = new LoadVars(); newLoad.sendAndLoad("whatever.php", myXml); Thanks a load! You saved me a lot of try-and-error. Best regards, Roman. -- --- gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] POST form data and receive XML?
var dataOut:LoadVars = new LoadVars (); var dataIn:XML = new XML (); dataIn.ignoreWhite = true; dataIn.onLoad = function (success:Boolean) { // actions on load } //gather all of the form data into the dataOut object dataOut.sendAndLoad("url", dataIn, "GET"); // or "POST" On 12/14/05, Roman Blöth <[EMAIL PROTECTED]> wrote: > Hello flashcoders, > > > isn't it possible to use a LoadVars.sendAndLoad(...) and specify an > XML-object as the receiving object? > > I've just tried it, but the XML object always seems to receive a FALSE > on "onLoad" and all the childs are empty... > > Before I try every variety I just wanted to ask whether someone alsready > did this before?! > > > Regards, > Roman. > -- > > --- > gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin > t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de > --- > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] POST form data and receive XML?
Hello flashcoders, isn't it possible to use a LoadVars.sendAndLoad(...) and specify an XML-object as the receiving object? I've just tried it, but the XML object always seems to receive a FALSE on "onLoad" and all the childs are empty... Before I try every variety I just wanted to ask whether someone alsready did this before?! Regards, Roman. -- --- gosub communications gmbh | fredersdorfer str. 10 | 10243 berlin t [030] 29 66 88 81 | f [030] 29 66 88 84 | http://www.gosub.de --- ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders