Wednesday, 11 May 2016

AS2 COUNTER WITH NEXT PREV FRAME

BUILD SCRIPT BY SELECTING ITEMS FROM ACTION TOOL BOX
SELECT INDEX

--------------------------------------------------------------------------------------------------------------------------------------------- AS2 CODE
https://www.youtube.com/watch?v=obK291gO0-I --------------------------------------------------------------------------------------------------------------------------------------------- //MAIN TIME LINE FRAME1 CODE: stop(); var Num1:Number = 0; Txt1.text = Num1
//FRAME 1 BUTTONS CODES on(press){ Num1 = Num1 + 1 Txt1.text = Num1 trace(Num1) } on(press){ nextFrame(); }
//GIVE TEXT BOX INSTANCE NAME Txt1 //MAKE PREV BUTTON PASTE INSIDE BUTTON CODE // FRAME 2 PREV BUTTON CODE on(press){ prevFrame(); }

//OR USE THIS CODE FOR PREV BUTTON
//NO NEED FRAME LABEL on(press){ _root.gotoAndStop("1"); }


//OR USE THIS CODE FOR PREV BUTTON
//NO NEED FRAME LABEL
on(press){ gotoAndStop(1); }




EmoticonEmoticon