I everyBody!! Im using Flash and PHP to get data from MySQL server.
have created a loadvars variable and i can get the data without an
problem. But what i want to do is make the manipulation of the dat
after the onload function IN THE SAME FRAME. I dunno if its possible
see my exemple (note: this code may have error synthaxe because i don
have my project with me right now, i just want to show you my logic):
#include script.asc
Boutton onRelease {
loadProfile(username);
Vtxtmessage = profile.username; <-----always undified because
think flash
execute the onload function at the end.
}
stop();
script.asc ///////////////////////////////////////////////////
function loadprofile(username) {
connect.onload = function () {
profile.username = this[username];
......blah blah blah
}
connect.sendandload (blah blah blah);
}
var connect = new loadvar();
---------------------------------------------------------------------
in other way i want to force flash to execute the onload functio
before the onRelaese function of the button is finish
i want to do this on that way beause we are two who works on thi
project but the .fla is almost donne and the other guys want me to d
function who return the data, is bevause of this i want to do this i
the same frame........if you have the solution please help me!
--
SavageMessia
-----------------------------------------------------------------------
SavageMessiah's Profile:
http://www.highdots.com/forums/member.php?userid=22 View this thread:
http://www.highdots.com/forums/showthread.php?t=150176