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 ?
movieclip to other movieclip ! ! !
Started by atd, Dec 14 2007 03:14 AM
5 replies to this topic
#1
Posted 14 December 2007 - 03:14 AM
#2
Posted 14 December 2007 - 03:24 PM
What program are you using?
#3
Posted 15 December 2007 - 02:22 AM
adobe\macromedia flash mx .....
#4
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:
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:
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:
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
Posted 17 December 2007 - 05:46 AM
@Blue_Monkey ...... not working ........
any example ?
any example ?
#6
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
