Skip to main content
Participant
September 24, 2010
Question

URGENT-> join 2 movieclip in one

  • September 24, 2010
  • 2 replies
  • 1145 views
Hi, I have this urgent question for as3 project.
I have 2 movieclip on the stage:
movie1 and movie2
so i need to join these 2 movieclips in just one called movie3 in way that when i call the movie3 it displays me movie1+movie2.
Thanks for your help!
This topic has been closed for replies.

2 replies

September 24, 2010

You can just create a 3rd MovieClip and then add the current clips to that movie.

Assuming you have 2 references named movie1 and movie2:

var movie3:MovieClip = new MovieClip();

addChild(movie3);

movie3.addChild(movie1);

movie3.addChild(movie2);

September 24, 2010

Put both MovieClips inside a new one.

marco1225Author
Participant
September 24, 2010

i need via as3 script

Inspiring
September 24, 2010

Just load both into the third with Loader.