sproinkers
01-02-2010, 06:59 PM
I am trying to get flash to communicate with the cgi scripts associated with my shopping cart.
Here is the html code from one of my shopping cart pages that does work:
<input name="cart" type="HIDDEN" id="cart" value="Product^160^25^^">
Here is the code for the variable in Flash MX I'm trying parellel with the html code, but with no success:
set (cart, "Product^170^25^^");
Here is the posting code I'm using with a button win Flash MX:
on (release) {
getURL("http://www.mysite.com/cgi-bin/cart.cgi", 0, "POST");
}
I think the problem may be that Flash does not know how to communicate that it is a "hidden input field", but I'm not positive. I just know that it's not adding "Product" to the shopping cart.
Please help me troubleshoot:)
Here is the html code from one of my shopping cart pages that does work:
<input name="cart" type="HIDDEN" id="cart" value="Product^160^25^^">
Here is the code for the variable in Flash MX I'm trying parellel with the html code, but with no success:
set (cart, "Product^170^25^^");
Here is the posting code I'm using with a button win Flash MX:
on (release) {
getURL("http://www.mysite.com/cgi-bin/cart.cgi", 0, "POST");
}
I think the problem may be that Flash does not know how to communicate that it is a "hidden input field", but I'm not positive. I just know that it's not adding "Product" to the shopping cart.
Please help me troubleshoot:)