okay i did some research and I came up with this code:
PHP Code:
var submitListener:Object = new Object();
submitListener.click = function(evt:Object) {
var send_lv:LoadVars = new LoadVars();
send_lv.product_id = "2";
send_lv.module_id = "130";
send_lv.add = "1";
send_lv.ctrl = "product";
send_lv.task = "updatecart";
send_lv.sendAndLoad("http://katalogs.net84.net/index.php/sample-sites-2/product/updatecart", result_lv, "POST");
};
submit_button.addEventListener("click", submitListener);
I putted it on 1. layer, made simple button with instance name "submit_button", but when I test my scene, nothing happens, when I click on button, even when I upload it to my homepage.
fruitbeard - I talked to my professor, he said that cURL isn't option, and said to use LoadAndSend function, but he's bussy man so i don't want to disturb him with my problems.