# How do I get a button to play one movie after another?

**URL:** <https://forum.kirupa.com/t/how-do-i-get-a-button-to-play-one-movie-after-another/90276>\
**Category:** flash\
**Created:** [May 16, 2005, 4:11pm UTC](https://forum.kirupa.com/t/how-do-i-get-a-button-to-play-one-movie-after-another/90276 "2005-05-16T16:11:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NickLW](https://avatars.discourse-cdn.com/v4/letter/n/f07891/32.png) [@NickLW](https://forum.kirupa.com/u/NickLW)\
**Post date:** [May 16, 2005, 4:11pm UTC](https://forum.kirupa.com/t/how-do-i-get-a-button-to-play-one-movie-after-another/90276/1 "2005-05-16T16:11:50Z")

</div>

To keep file size down I am building a site which regularly uses the loader component.  
I’m able to get a button to play one movie, but how do I get it to play one movie after another?

I have a welcome page with 2 buttons: ‘Play Intro’ and ‘Skip Intro’. I have two movies: ‘intro.swf’ and ‘home.swf’. Ideally I’d like the ‘Play Intro’ button to play ‘intro.swf’ followed immediately by ‘home.swf’  
and the ‘Skip Intro’ button to only play ‘home.swf’

Here’s what I’m currently doing:  
Each loader component has its own Instance name and is set to:  
autoload: true, content path: (the appropriate .swf movie), scaleContent: False  
The timeline is divided into ten frame sections. Each had a ‘stop’ command in ‘Actions’. Each has a Frame Label title. To create the button command, I select the button, then go to ‘Behaviour’ - ‘Movie Clip’ - ‘Go to and stop at frame or label’. Where it says: ‘Choose the movie clip …’ I leave it on ‘this’ and I also leave ‘Relative’ selected. Where it says: ‘Enter the frame …’ I type in the Frame label title.

Any ideas?

Cheers

Nick
