This content has been marked as final. Show 4 replies
c.sendAndLoad("system/timetable.php", c, "POST");
Hello I'm "c" and I am sending variables from me to php to me.
What I need is a "d" that receives the variables php are sending, because I have soo much to do...
var d = new LoadVars(); // add
c.sendAndLoad("system/timetable.php", d, "POST"); // change
d.onLoad = getResult; //change
Im affraid that didn't make any difference and the original problem still persists.
Of course the function returns before the onLoad completes...
You have to use something like this:
Just wanted to come with an update:
It doesnt seem possible to solve this problem in Flash with the way LoadVars is currently working.
Seaching on Google and various forums has come up with no solution at all.
The only "solution" that I can see is dropping most of my class structure in Flash and code more directly towards PHP, which is not a good solution in any way.
Edit: Thanks for the answer coldMiner. I will look into it, but even though it might work, it's not the solution I had hoped for :-(