Hello,

Here is my button, which does the "add to cart" function in my web page.
Problem is that, that I need to make exact button in flash, which does the same thing.
I would be grateful if someone could help me.

Sorry for my bad English

PHP Code:
<form action="/index.php/sample-sites-2/product/updatecart" method="post" name="hikashop_product_form_2_hikashop_category_information_module_130" enctype="multipart/form-data">
                    <
div class="hikashop_product_stock">
                    <
span class="art-button-wrapper"><span class="art-button-l"> </span>
                    <
span class="art-button-r"> </span>
                    <
input type="submit" class="btn button hikashop_cart_input_button art-button" name="add" value="Pievienot grozam" onclick="var field=document.getElementById('hikashop_product_quantity_field_1');
                    if(hikashopCheckChangeForm('item','hikashop_product_form_2_hikashop_category_information_module_130'))
                               { return hikashopModifyQuantity('2',field,1,'hikashop_product_form_2_hikashop_category_information_module_130','cart',130); }
                               return false;" 
/>
                    </
span>
                               <
input id="hikashop_product_quantity_field_1" type="hidden" value="2" class="hikashop_product_quantity_field" name="quantity" />                
                               </
div>
                        <
input type="hidden" name="hikashop_cart_type_2_130" id="hikashop_cart_type_2_130" value="cart"/>
        <
input type="hidden" name="product_id" value="2" />
        <
input type="hidden" name="module_id" value="130" />
        <
input type="hidden" name="add" value="1"/>
        <
input type="hidden" name="ctrl" value="product"/>
        <
input type="hidden" name="task" value="updatecart"/>
        <
input type="hidden" name="return_url" value="aHR0cDovL2thdGFsb2dzLm5ldDg0Lm5ldC9pbmRleC5waHAvc2FtcGxlLXNpdGVzLTIvY2F0ZWdvcnkvMTItZWluenVnc2thc3Rlbg%3D%3D"/>
    </
form