Hi, When using sendAndLoad you have to use 2 different loadVars objects.
You should first create two loadVars objects. One to store the vars you want to send, and the other one to load the vars you get from the process.
Ex: var orderLVIn = new LoadVars(); var orderLVOut = new LoadVars(); (...) orderLVOut.sendAndLoad("processorder.php", orderLVIn, "POST"); Hope this helps... Cheers Telmo Glenn Grant wrote:
I use .sendAndLoad to load a shopping cart so it will not pop a new browser window each time the user adds an item. this works fine locally, but online the items are not being added to the cart. if i use .send instead of .sendAndLoad everything works fine except for the aforementioned launching of browser every time. i read in flash's documentation that .sendAndLoad has a different security protocol than .send, so i have tried System.security.allowDomain("thedomain.com"); in the first line, which doesn't seem to be making a difference. any suggestions? _______________________________________________ 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