Adding ADD To Cart Button
Hi, I am trying to add a "Add to Cart" button to a swf.
I presently have an HTML page with a "FORM" tag which includes all the components to make it write to CGI file on a online Shopping Cart like PROSTORES.COM
I have now built a new flash website and would like to add a "Add To Cart" button to the SWF so it communicates with the CGI file and updates the shopping cart.
I am unsure of the way to go about it, I have read something about LoadVars, but I am trying to find out the best way to plug the HTML code I have already in place into the SWF
Here is the HTML code:
FORM action="http://www.cartserver.com/sc/cart.cgi" method=POST target="_self"
INPUT TYPE=hidden name=item VALUE="b-9802"
INPUT TYPE=image border=0 name=view src=images/view_cart.gif
img src=images/divider.gif
INPUT TYPE=hidden name=item VALUE="b-9802"
INPUT TYPE=image border=0 name-checkout src=images/check_out.gif
/FORM
Does anyone have any information on this or know where I can find a tutorial about it?
Let me know!
Thanks!!
Paul.
|