Skip to main content
Participating Frequently
January 11, 2016
Question

How can I add extra Movie Clips - AS 3.0

  • January 11, 2016
  • 1 reply
  • 366 views

I have a code that plays only one new movie clip. I want to add extra movie clips for example it will plays movie1, movie2, movie3 and repeat in a loop.

I only have movie1 on loop with the following code:

var tempMovie1:MovieClip = movie1();

This topic has been closed for replies.

1 reply

Ned Murphy
Legend
January 11, 2016

You will need to determine when a movieclip has stopped playing.  How that is done depends on how the movieclips are designed.

One way would be to have the movieclips dispatch an event when they end and have a listener assigned for that event so that it can trigger an event handler function that loads the next movieclip.

Pratibha Bibyan
Known Participant
January 11, 2016

.i wish to add timeline effect Flash Professional CC that this timeline effect available on vision flash cs3 .