ApeSmart.com
Not just smart, ApeSmart!  

Domain Registration
Hosting Services
Site Optimization
Marketing
Meta Tags
Search Engines
Web Analysis
Design & Usability
HTML Tutorials
Graphics & Clipart
Free Stuff
Online Generators
Fonts
Backgrounds
Photoshop
Multimedia
Flash
Video
Audio/MP3
Programming
Javascripts
CGI Scripts
Software
Free
Updates
Plugins
Discount Prices
Extras
Advertise with us
Contact us
Flash Tutorial: How to Stop and Start a Movie Clip


Check out the swf file

  1. Start a new document in Flash.

  2. Go to Insert -> New Symbol -> Choose Graphic, name it 'circle' and press OK.

  3. Create a ball using the Oval Tool; choose no stroke.

  4. Select the ball on stage and convert it to a symbol; choose Insert -> Convert to Symbol --> Choose Movie Clip, name it 'ball' and press OK.

  5. Create a simple tween; select frame 20 and choose Insert -> Keyframe.

  6. Drag the ball to another place on stage.

  7. Select frame 1 and choose Insert -> Create Motion Tween.

  8. Go back to Scene 1 and create 3 layers: name the layers 'button', 'text', and 'ball'.

  9. Choose the 'ball' layer and open up the Library and drag out the movie clip you just created (you should have named it 'ball').

  10. Select the ball on stage and open the Instance Panel and name the instance 'ball'.

  11. Open the Buttons Library: go to Window -> Common Libraries -> choose Buttons.

  12. Choose the 'button' layer and drag any two buttons from the Button Library out onto the stage.

  13. On the 'text' layer, choose the Text Tool; type stop and place next to one of the buttons, then type start and place this next to the other button.

  14. Select the button next to the stop text, right click (or Mac users should ctrl click) and choose Actions.

  15. In the Actions Panel, click on the arrow in the upper right hand corner and choose Expert Mode and type the following code into the window:
    on (release) {
    ball.stop();
    }

  16. Back on the stage choose the other button (start button) and bring up the Actions Panel.

  17. In the Actions Panel, click on the arrow in the upper right hand corner and choose Expert Mode and type the following code into the window:
    on (release) {
    ball.gotoAndPlay (1);
    }

  18. Test movie! (go to Control -> Test Movie)


    Download the free .fla file


.
Google
2006 ApeSmart