DCJENKINS777
07-22-2003, 10:15 PM
I have searched and found several post about passing varibles - but I need to pass variables from a flash file on one domain to an asp script on another.
I need to pass a few varibles from my clients flash cart - to his credit card proccessors additem.asp which is on a different domain.
I was successful in doing this locally but as soon as I post the sWF to the server it doesn't work - I read somewhere (and now can't find it) that flash will not allow varibables to be passed across domains. Is that true?
All I need to do is pass 4 varibles to the asp script
StoreID="storeidnumber"
Item_Description="decription of item"
Item_Price="price of item"
Item_Qty="how many"
I have a pretty good understanding of actionscripting but have not done much in CGI or PHP - the clients server doesn't support asp.
Can I pass the varibles to a script on the same server then have that script pass them to the asp on the cc proccessorrs domain? How
Here is what I am doing in the flash file & it works until I put it on the server. The other variables are declared earlier in the movie
**************************************************
if (Number(apricot)>0) {
vcsItemDescription = "Apricot";
vcsItemQty = Number(apricot);
loadVariablesNum("http://secure.todaysebiz.com/services/cart/additem.asp", "", "POST");
************************************************
Thanks
Don
I need to pass a few varibles from my clients flash cart - to his credit card proccessors additem.asp which is on a different domain.
I was successful in doing this locally but as soon as I post the sWF to the server it doesn't work - I read somewhere (and now can't find it) that flash will not allow varibables to be passed across domains. Is that true?
All I need to do is pass 4 varibles to the asp script
StoreID="storeidnumber"
Item_Description="decription of item"
Item_Price="price of item"
Item_Qty="how many"
I have a pretty good understanding of actionscripting but have not done much in CGI or PHP - the clients server doesn't support asp.
Can I pass the varibles to a script on the same server then have that script pass them to the asp on the cc proccessorrs domain? How
Here is what I am doing in the flash file & it works until I put it on the server. The other variables are declared earlier in the movie
**************************************************
if (Number(apricot)>0) {
vcsItemDescription = "Apricot";
vcsItemQty = Number(apricot);
loadVariablesNum("http://secure.todaysebiz.com/services/cart/additem.asp", "", "POST");
************************************************
Thanks
Don