# Tutorial - Transitions Between External SWFs - Question

**URL:** https://forum.kirupa.com/t/tutorial-transitions-between-external-swfs-question/170845
**Category:** Uncategorized
**Created:** [November 29, 2005, 9:57pm UTC](https://forum.kirupa.com/t/tutorial-transitions-between-external-swfs-question/170845 "2005-11-29T21:57:37Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DreamWeb](https://avatars.discourse-cdn.com/v4/letter/d/c6cbf5/32.png) [@DreamWeb](https://forum.kirupa.com/u/DreamWeb)
#### Post date: [November 29, 2005, 9:57pm UTC](https://forum.kirupa.com/t/tutorial-transitions-between-external-swfs-question/170845/1 "2005-11-29T21:57:37Z")

</div>

First of all… this is a terrific tutorial! Thank you.

But I have a question.

If I wanted to place a button on the movies that are being loaded (in this example, on section1.swf, section2,swf, etc.) that also allowed me to switch between the various sections/loaded movies, what would the code look like?

I played a button my section1.swf with the following code.

* * *

## on (release) { if (\_root.currMovie == undefined) { \_root.currMovie = “section3”; container.loadMovie(“section3.swf”); } else if (\_root.currMovie != “section3”) { if (container.\_currentframe \>= container.midframe) { \_root.currMovie = “section3”; container.play(); } } }

It did nothing.

I suspect it would look very similar to this… but, somehow I’m not pointing it in the right direction or something?

Suggestions? (was I clear enough?)

Thanks!

D.
