Looping Movies With Flash MX 2004
It has come to my attention from working with Flash MX 2004 Professional that there isn't a quick way to loop a movie a certain amount of times without using action script. To find a better solution and a quick fix for a friend over the week I have come up with the following solution. While this is not the perfect solution to the problem it works and it works well.

When you create your movie be sure that your entire movie is in a   " movie clip "  on your main timeline.   An easy way to do this is to draw a square on a blank frame in your main time line. Then highlight the square and hit F8. This will allow you to change the properties to make the square a movie clip. Now you can double click on your square and it will take you to the movie clip time line of the square. 

Once you have created your animation count the number of frames in the movie clip.  Take the number of frames in the movie clip, then double or triple it depending on how many times you want it to loop on the main time line and add that number of frames to the frame with the movie clip.

Now we are going to add an actions layer and add an extra frame beyond the last frame of the timeline with a stop action.  You may need to add a layer to put anything that you want to have your movie stop with. Like the elements of the last frames of your animation. 

I included 2 pictures to try to help explain  the logic behind this tutorial .

Movie Clip Example 

Main timeline example

Feel free to let me know if you have any questions on this method.


About the Author:
Having created the outlines for FlashNewz and FLADownloads, John has become a strong voice in the Flash Community. His reviews and tutorials give great insight and knowledge to readers around the world. He has a keen eye for what's hot and what's not in the Flash world. He has also developed and continues to run his own flash portal as a side project to keep his mind on the Flash community

Being a key designer for advertising creative, he's got style when it comes to grabbing readers attention. With a proven track record, there isn't much this guy can't handle.

Close    To Top
  • Prev Article-Flash:
  • Next Article-Flash:
  • Now: Tutorial for Web and Software Design > Flash > Basic > Flash Content
    Photoshop Tutorial
     

    Special Effect

      3D Effect
      Photoshop Articles
    Programming Tutorial
     

    C/C++ Tutorial

      Visual Basic
      C# Tutorial
    Database Tutorial
     

    MySQL Tutorial

      MS SQL Tutorial
      Oracle Tutorial
    Geek Tutorial
     

    Blogging Tutorial

      RSS Tutorial
      Podcasting Tutorial
    Graphic Design Tutorial
      Coreldraw Tutorial
      Illustrator Tutorial
      3D Tutorials
    Webmaster Articles
     

    Domain Service

      Web Hosting
      Site Promotion
    Java Tutorial/ Articles
     

    Java Servlets

      JavaEE Tutorial
     

    JavaBeans Tutorial

    XML Tutorial/ Articles
     

    XML Style

      AJAX Tutorial
      XML Mobile
    Flash Tutorial/ Articles
     

    Flash Video

      Action Script
      Flash Articles
    OS Tutorial/ Articles
      Linux Tutorial
      Symbian Tutorial
      MacOS Tutorial
    Personal Tech
      Hardware Tutorial
      Software Tutorial
      Online Auction