A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Playing Movie Clips Inside Main Timeline

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    2

    Playing Movie Clips Inside Main Timeline

    Hi. I'm new to the community and mostly a beginner at flash. I've created six movie clips of cursive text effect using masking for the animation. Each clip is approximately 160 frames long. I need to play these sequentially, one after the other, when the page loads.

    Can someone please direct me to a thread or possibly explain the easiest way to structure multiple clips to play after each other?

    Thanks

    S

  2. #2
    Senior Member
    Join Date
    Jun 2008
    Posts
    549
    Inside your movie clips, on the last frame add the following code:

    PHP Code:
    _root.movieclip2name.gotoAndPlay("1"); 
    The code assume you are using Actionscript 2.

  3. #3
    Junior Member
    Join Date
    Oct 2010
    Posts
    2
    Thanks for the reply.

    Does the ("1") change after each clip? There are six clips total.

    Also, these clips need to play at a certain point on the screen.

    S
    Last edited by scottjkflash; 10-18-2010 at 06:35 PM.

  4. #4
    Flash/Flex Developer samac1068's Avatar
    Join Date
    Apr 2007
    Location
    Here, no there
    Posts
    1,813
    The 1 is the frame label you want to start at. If you have different starting points, then that label will change or you can use the frame number (no quotes).
    Some people are like Slinkies, not really good for anything, but they bring a smile to your face when pushed down the stairs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center