mattfarley
IS-IT--Management
I need to use the results of dynamic variables to choose whether or not a movie plays. The problem is, it takes about 3-5 seconds for the variables to load from our database, and by then Flash is already done loading.
So I need it to
Start
Wait for dynamic variables to load
then continue processing whether or not movies play
I tried some OnClipEvent(data) stuff, but it didn't seen to work
My code it Frame 1 of Layer 1 is:
loadVariablesNum(" 0, "POST"
And my code in the movie instance is:
onClipEvent (data) {
stop();
this.swapdepths(0);
myvar = _root.daddy;
if (myvar == "415"{
this.nextFrame();
}
}
'daddy' is a dynamic variable loaded from the traps.asp (it's just a test)
Thanks for any help!
So I need it to
Start
Wait for dynamic variables to load
then continue processing whether or not movies play
I tried some OnClipEvent(data) stuff, but it didn't seen to work
My code it Frame 1 of Layer 1 is:
loadVariablesNum(" 0, "POST"
And my code in the movie instance is:
onClipEvent (data) {
stop();
this.swapdepths(0);
myvar = _root.daddy;
if (myvar == "415"{
this.nextFrame();
}
}
'daddy' is a dynamic variable loaded from the traps.asp (it's just a test)
Thanks for any help!