# Connectying two movie clips together

**URL:** <https://forum.kirupa.com/t/connectying-two-movie-clips-together/265717>\
**Category:** flash\
**Created:** [July 11, 2008, 4:18pm UTC](https://forum.kirupa.com/t/connectying-two-movie-clips-together/265717 "2008-07-11T16:18:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![junks2001](https://avatars.discourse-cdn.com/v4/letter/j/13edae/32.png) [@junks2001](https://forum.kirupa.com/u/junks2001)\
**Post date:** [July 11, 2008, 4:18pm UTC](https://forum.kirupa.com/t/connectying-two-movie-clips-together/265717/1 "2008-07-11T16:18:09Z")

</div>

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.

```auto
_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.

```auto
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. 😉
