Seria
PC Cutie ^_^
- Messages
- 553
Hey everyone! I love the new look of the forums!
Today is my first day playing around with Flash. I have ACS4MC and its taking some getting used to but i'm excited!
anywho... my question is this:
Is there an action that I can use which will return to the previously left function to get more instructions?
EXAMPLE:
or is there another way to accomplish what im trying to do?
Today is my first day playing around with Flash. I have ACS4MC and its taking some getting used to but i'm excited!
anywho... my question is this:
Is there an action that I can use which will return to the previously left function to get more instructions?
EXAMPLE:
Code:
[B]// CODE FOR FRAME 1[/B]
button1.addEventListener(MouseEvent.CLICK, gotoImageFadeOut1);
button2.addEventListener(MouseEvent.CLICK, gotoImageFadeOut2);
function gotoImageFadeOut1(event:MouseEvent):void
{
gotoAndPlay(2);
gotoAndPlay(3);
}
function gotoImageFadeOut2(event:MouseEvent):void
{
gotoAndPlay(2);
gotoAndPlay(4);
}
Code:
[B]// CODE FOR FRAME 2[/B]
goBackTo {the previously left function and execute the next line}
Code:
[B]// CODE FOR FRAME 3[/B]
THE END FROM BUTTON 1
Code:
[B]// CODE FOR FRAME 4[/B]
THE END FROM BUTTON 2
or is there another way to accomplish what im trying to do?