Jump to content


movieclip to other movieclip ! ! !


  • You cannot reply to this topic
5 replies to this topic

#1 atd

    Young Padawan

  • Members
  • Pip
  • 22 posts

Posted 14 December 2007 - 03:14 AM

as title suggest ..... i have placed a movieclip in a scene .... after last key of 1st movieclip, i wanna move to 2nd movieclip ....

it should continue till all movieclips [not placed in scene] are over ..... & then return to 1st movieclip ...... loop kinda .....


how can i achieve this ?

#2 Demonixx

    Jedi In Training

  • Members
  • PipPip
  • 367 posts
  • Gender:Male
  • Location:Houston, TX

Posted 14 December 2007 - 03:24 PM

What program are you using?

#3 atd

    Young Padawan

  • Members
  • Pip
  • 22 posts

Posted 15 December 2007 - 02:22 AM

adobe\macromedia flash mx .....

#4 Blue_Monkey

    Young Padawan

  • Members
  • Pip
  • 11 posts

Posted 16 December 2007 - 05:29 PM

Make the first movieclip, then have the last frame be what you want to see while the other movieclips are playing (I'll assume this to be a blank frame). Click on the last frame and open the actionscript panel, then insert the code:
stop();
Then, click on the second to last frame and type the code:
_root.instance2.play();
(The instance2 part is the instance name of your second movie clip. To set an instance name, select the movie clip, open the properties panel, and type in the name)
Next, create the second movie clip and give it the instance name as defined in the previous code. This time, have the first frame be the frame that is stopped. Make the movie clip, and on the last frame, insert the code:
_root.instance3.play();
(Substituting instance3 for the instance name of movie clip #3.)
Continue creating movie clips using the method for the second movie clip. On the last movie clip, simply put the following code on the last frame:
_root.instance1.play();
(Once again, instance1 is the instance name of the first movie clip)

#5 atd

    Young Padawan

  • Members
  • Pip
  • 22 posts

Posted 17 December 2007 - 05:46 AM

@Blue_Monkey ...... not working ........


any example ?

#6 Blue_Monkey

    Young Padawan

  • Members
  • Pip
  • 11 posts

Posted 18 December 2007 - 10:47 PM

Here is a .fla file of a (very fast) traffic light. Is this what you are looking for? This was made with Flash MX 6.0. The way I wrote the code was so each animation starts one frame from the end of the last; however, you can change it to play each right after another by moving all the code of the movie clip to the stop(); frame. If you have any more questions, try to be specific about what you don't understand.

Attached Files







1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users