Hey there,
here it is, I want to have a button in flash do the [COLOR=black][FONT=‘Times New Roman’]equivalent [/FONT][/COLOR]of this html form. I have no idea if this is possible or not.
I’m looking into x-cart, and they have an html link generator for being able to add to the cart from “somewhere else”. I’m trying to make that “somewhere else” flash. I’ve tested the html form and it’s working. Now I just want to do the same call from flash.
Eventually the goal is to be able to make this call with multiple products.
Am I dreaming?
so here is the form:
<form name="orderform_16134" method="post" action="[http://www.website.com/testing/xcart/cart.php](http://www.website.com/testing_3/xcart/cart.php)">
<input type="hidden" name="mode" value="add" />
<input type="hidden" name="productid" value="16134" />
<table width="100%">
<tr><td valign="top"><br />
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td class="ProductPriceConverting" valign="top">Price:</td>
<td valign="top">
<font class="ProductDetailsTitle"><span style="WHITE-SPACE: nowrap">CA$40.00</span>
</font><font class="MarketPrice"> (<span style="WHITE-SPACE: nowrap">US$ 29.45</span>)</font>
</td></tr><tr><td valign="middle" height="25">size</td>
<td valign="middle">
<select id="po444" name="product_options[444]">
<option value="4124" selected="selected">xsmall</option>
<option value="4125">small</option>
<option value="4126">medium</option>
<option value="4127">large</option>
<option value="4128">xlarge</option>
</select></td></tr><tr>
<td height="25" width="30%">
Quantity </td><td>
<select name="amount">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select></td></tr>
<tr><td colspan="2"><br />
<table cellspacing="0" class="SimpleButton"><tr><td>
<a class="Button" href="javascript: document.orderform_16134.submit();">Add to cart </a></td>
<td><a class="Button" href="javascript: document.orderform_16134.submit();">
<img src="http://www.website.com/testing/xcart/skin1/images/go.gif" class="GoImage" alt="" /></a></td></tr></table>
</td></tr></table>
</td></tr></table>
</form>
thanks~!
-hroth