smumdax
06-04-2001, 04:48 PM
Here's my simple, yet raging, problem.
I have a .txt file that contains the following:
&theframe=10
In my FLA, I have the following script on the first frame:
loadVariablesNum ("test.txt", 0);
And then, on the second frame, I have another ActionScript that is SUPPOSE to check the variable and sending me to the correspondong frame. BUT... DO NOT WORK!!!
Here's what I have:
if (theframe==5) {
gotoAndStop (5);
} else if (theframe==10) {
gotoAndStop (10);
} else {
stop ();
}
SO? Please tell me what is wrong with it before my little icon on the side goes to red...
I have a .txt file that contains the following:
&theframe=10
In my FLA, I have the following script on the first frame:
loadVariablesNum ("test.txt", 0);
And then, on the second frame, I have another ActionScript that is SUPPOSE to check the variable and sending me to the correspondong frame. BUT... DO NOT WORK!!!
Here's what I have:
if (theframe==5) {
gotoAndStop (5);
} else if (theframe==10) {
gotoAndStop (10);
} else {
stop ();
}
SO? Please tell me what is wrong with it before my little icon on the side goes to red...