# Dynamically Loading swfs - Next button on Main Stage - How to Make it Work

**URL:** <https://forum.kirupa.com/t/dynamically-loading-swfs-next-button-on-main-stage-how-to-make-it-work/50695>\
**Category:** Uncategorized\
**Created:** [May 5, 2004, 3:58pm UTC](https://forum.kirupa.com/t/dynamically-loading-swfs-next-button-on-main-stage-how-to-make-it-work/50695 "2004-05-05T15:58:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fcastro](https://avatars.discourse-cdn.com/v4/letter/f/b3f665/32.png) [@fcastro](https://forum.kirupa.com/u/fcastro)\
**Post date:** [May 5, 2004, 3:58pm UTC](https://forum.kirupa.com/t/dynamically-loading-swfs-next-button-on-main-stage-how-to-make-it-work/50695/1 "2004-05-05T15:58:28Z")

</div>

[color=black]Hi all,[/color]  
[color=black] [/color]  
[color=black]First time post to these forums long time kirupa fan :)[/color]  
[color=black] [/color]  
[color=black]Ok I was wondering if someone could help me on this small problem I am having. I have a total of 4 flash movies. The first movie will house all my navigation as shown below:[/color]  
[color=black] [/color]  
**[color=blue][Movie 2] [Movie 3] [Movie 4] [Pause] [Skip to Next Movie][/color]**  
[color=black] [/color]  
[color=black]I am not sure if this is actually even possible thinking about it. Ideally lets say the user is watching **[color=blue][Movie 3][/color]** and they hit the skip button. I would like to have some sort of fade out occur and [color=blue]**[Movie 4]** [/color]to start playing.[/color]  
[color=black] [/color]  
[color=black]So I have figured out all the code I need except for the **[color=blue][Skip to Next Movie][/color]** code. Since this button is in the first movie I figure it must be aware of which movie is currently playing in order for it to pick the next one in sequence. So if **[color=blue][Movie 3][/color]** is playing then play [/color][color=blue]**[Movie 4]**[/color]  
[color=black] [/color]  
[color=black]If anyone have any insight or has seen a tutorial that they could share I would really appreciate it. I know in Flash 2004 this is a bit simpler to create but unfortunately this one has to be done in MX.[/color]  
[color=black] [/color]  
[color=black]thanks for taking the time to read through this one kinda long and all =)[/color]
