| In the last few tutorials, we finished the animation that caused the envelope to fly onto the center of the stage and added our invisible button over the stamp on the envelope. Now, the only thing left to do for the first half of the animation is to add a few lines of ActionScript to our button. This code will tell Flash to simply stop the animation on Frame 80 and listen for the button to be clicked. When the button is clicked, the ActionScript will move the animation on to Frame 81 and the second half of the animation. Of course, we still need to build the rest of the animation but for now, we will work on the code that will make our button control the Timeline. Open our fla file into Flash CS3. At this point we have 80 frames on the Timeline. We will be working on Frame 80 during this tutorial.
Join us in the Flash forum. |


















