i am using a LOADVARS OBJECT to POST some data to paypal which populates a paypal shopping cart. this all happens when i press a button. my problem is that it will successfully open a new window for the first item added, but if i return to the original window in the back ground and try to add additional items, the buttons do absolutely nothing. //i have a button on my flash movie for which i have defined this event handler: btnItem1.onRelease = function() { SubmitForm("1 Dozen Left Handed Sport Grip Gloves", "60.00", "Size", "Large", 1); } // the function it calls looks like this function SubmitForm(name, amount, onvar, osvar, addvar) { lvMySubmit = new LoadVars(); lvMySubmit.cmd="_cart"; lvMySubmit.business="clientaccount@foobar.net"; lvMySubmit.no_note = "1"; lvMySubmit.cs = "1"; lvMySubmit.currency_code = "USD"; lvMySubmit.lc = "US"; lvMySubmit.item_name = name; lvMySubmit.amount = amount; lvMySubmit.on0 = onvar; lvMySubmit.os0 = osvar; lvMySubmit["add"]=addvar; lvMySubmit.send(strSubmitURL, "cart", "POST"); } as i have said, the first button click works like a charm. the subsequent ones do ABSOLUTELY NOTHING. what can i do? anybody have an idea?
so i tried yet another workaround...i tried concatenating all my variables into a string and using getURL. the first one worked fine just like the loadvars.send, but when i returned to the original window and clicked the buttons again, they do ABSOLUTELY NOTHING. flash simply will not refresh the second window. if i close the window, the buttons work just fine. are we calling this a 'feature'? can anyone suggest a workaround??????? any notes on this in the technotes? i haven't been able to find any. HELLLO???????
I'm trying to get to where you are using PAYPAL. I'm having a difficult time setting up FLASH to run with PAYPAL What are the actionscripts are you running. I'm fairly new to scripting, so please understand I'm a novice to scripting, but I'm trying to get a handle on it. Could you forward me your actionscripts?
Let's get in touch via email. I'm still trying to resolve this problem...it seems completely odd to me that none of the senior people around here have responded to this. It seems like such a simple and necessary thing to do...and if flash can interact with paypal, that's huge!
I'm nearly at that same point with paypal...
Don't see what you're looking for? Try a search.
|