----------------------------------------------------------------------------------------------------------------
0) USE F6 MAKE 3 BLANK KEY FRAMES
1) KEEP Frame1 BUTTON IN FRAME NO 1 AND Frame3 BUTTON IN FRAME NO 3
2) GIVE INSTANCE NAMES TO BUTTONS Frame1,Frame3
3 PASTE CODE IN FRAME 1 AND FRAME 3
----------------------------------------------------------------------------------------------------------------
//INSERT FRAME 1 CODE
stop();
Frame1.onPress=function(){
_root.gotoAndStop(3);
}
//NO NEED ANY CODE IN FRAME 2
//INSERT FRAME 3 CODE
Frame3.onPress=function(){
_root.gotoAndStop(1);
}
----------------------------------------------------------------------------------------------------------------
AS3 WITHOUT_root ROOT CODES
----------------------------------------------------------------------------------------------------------------
//INSERT FRAME 1 CODE
stop();
Frame1.addEventListener(MouseEvent.CLICK,Fn1);
function Fn1(event:MouseEvent):void{
gotoAndStop(3);
}
//INSERT FRAME 3 CODE
Frame3.addEventListener(MouseEvent.CLICK,AddOne);
function AddOne(e:MouseEvent):void{
gotoAndStop(1);
}
----------------------------------------------------------------------------------------------------------------
BITMAP IMAGES BY TOOLKIT FOR CREATE JS
----------------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------------------
EmoticonEmoticon