Connectying two movie clips together

Sorry for the lame question but I’ve tried to find the answer to this question and I have yet to find a clear explanation to how to do it.

I have two movie clips on separate layers in the root scene of the main movie.

Root scene:
layer2: Movie2 - Frame 1
layer1: Movie1 - Frame 1

movie1 is a 30 frame movie with the following Actionscript in the last frame.

_root.gotoAndPlay(movie2, 2);

and has an instance name of movie1

movie2 is a 40 frame movie with the following Actionscript in the first frame.

stop();

and has an instance name of movie2

How would I connect these two movie clips? I want movie1 to play and then automatically play movie2 after movie1 has completed, then loop.

I know, lame…but please work with me. :wink: