Hi all,
I’ve got these 2 codes, attached to 2 buttons
1:
on (release) {
var variable1=“sometext”;
}
2:
on (release) {
varsToSend = new LoadVars();
varsToSend.variable2=variable1.getValue();
varsToSend.send(“http://localhost/test.php",“process”,"POST”);
when I attach this script to the second button:
on (release) {
varsToSend = new LoadVars();
varsToSend.variable2=“sometext”;
varsToSend.send(“http://localhost/test.php",“process”,"POST”);
it sends everything properly, but when I do it trough the 1’st way, it doesn’t sends anything… where’s the problem in the 1’st way?