|In the last tutorial, we added the stop code that will stop our FlashR ecard from repeating after the first pass through the Timeline. Now we will add a “Replay” button that will put the playback control in the hands of the viewer. Once the ecard animation comes to a stop, it will be the viewer that will cause the movie to replay by clicking on this button.|
We can create this button by coding ActionScript that will draw a button on the stage for us. But for this tutoiral, we will use the built-in button UI component. We will start working on the last frame of the Timeline. Open your ecard into Flash CS4.
Join us in the Flash forum.