Question
Reading FlashVars in SWF File.
I do have a question in regards to FlashVars and how you test
for the existance of a certain value inside a SWF movie?
This code right here works fine for me.
if (_level0.myURL == undefined) {
}
else {
pflipper.gotoPage(3);
gotoAndStop(1);
}
However, it is not what I need. I want to be able to setup an if statement with multiple else if statements. I have tried almost every possible combination except the correct one.
Here is what I would like to do. If myURL == 1 then gotoPage(1) & gotoAndStop(1) else if myURL == 4 then gotoPage(2) & gotoAndStop(4)
Can you please tell me what is the correct syntact for doing this.
This code right here works fine for me.
if (_level0.myURL == undefined) {
}
else {
pflipper.gotoPage(3);
gotoAndStop(1);
}
However, it is not what I need. I want to be able to setup an if statement with multiple else if statements. I have tried almost every possible combination except the correct one.
Here is what I would like to do. If myURL == 1 then gotoPage(1) & gotoAndStop(1) else if myURL == 4 then gotoPage(2) & gotoAndStop(4)
Can you please tell me what is the correct syntact for doing this.