AS3 - Creating a function that contains multiple actions it needs to execute
Posted on 2010-09-22
I'm using AS3 and Flash CS5. I'm creating a site where one of the pages has 7 buttons on it. I want each button to execute a different "gotoAndPlay" frame sequence when the user clicks on it. I was wondering if it's possible to make a button perform 2 gotoAndPlay actions (where it jumps to a set of frames and plays them, THEN at the end of those frames it will jump to another frame label and play those frames.)
function gotostep1 (event:MouseEvent):void
(THEN I want it to do the following right after it plays the frames in the frame label above:)
Thanks for your help.