hello again,
I use sendAndLoad to get variables from php but the problem is, flash wants to publish immediately the variable but the serveur takes 5 ( for exemple ) secondes to answer. Conclusion, no variable can be seen on the screen !!
I tried to make a king og movieclip of 6 secondes. but if the serveur take 8 secondes to answer the problem is still present
so how can I do this ???
here the AS I use to get the variable from php :
sendvar = new LoadVars();
reception_var = new LoadVars();
sendvar.onLoad = function(success) {
if (success) {
trace(" ");
} else {
trace("didn't work");
}
};
sendvar.sendAndLoad(“add.php?kill=”+new Date().getTime(), reception_var, “POST”);
thanks for your help =)