PDA

View Full Version : Set of the if


BagOfFun
03-13-2006, 11:04 AM
Hi, just a simple question.

I want this;
if the mainMenu.menuThree is = to "goEnd" (framelabel) then set of the script.
Anyone who knows?


if(mainMenu.menuThree.gotoAndPlay("goEnd")) {
mainMenu.menuThree.gotoAndPlay("Back");
mainMenu.menuThree.tab.gotoAndPlay("jumpBack");
}

BagOfFun
03-13-2006, 11:53 AM
no prob i fixed it

if(_root.mainMenu.menuThree._currentframe == 9){
_root.mainMenu.menuThree.gotoAndPlay("Back");
_root.mainMenu.menuThree.tab.gotoAndPlay("jumpBack");
}


Thank you BagOfFun
- you're welcome*