# Transitions between external swfs tutorial

**URL:** <https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/281539>\
**Category:** flash\
**Created:** [February 10, 2009, 1:50pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/281539 "2009-02-10T13:50:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![whizzz](https://avatars.discourse-cdn.com/v4/letter/w/85f322/32.png) [@whizzz](https://forum.kirupa.com/u/whizzz)\
**Post date:** [February 10, 2009, 1:50pm UTC](https://forum.kirupa.com/t/transitions-between-external-swfs-tutorial/281539/1 "2009-02-10T13:50:08Z")

</div>

Hi, I love this site, have learnt a lot from here. Have come across a tutorial - transitions between external swfs by **Voetsjoeba.** This is in AS1 and MX 2004. The AS on the main buttons is something like this-

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

Have been trying this out in Flash 8 - AS2. Unfortunately it is not working perfectly. Can someone please help me with an updated version of this tutorial in Flash 8? I need this to work in Flash 8- with AS2 as all my other files, my external swfs have been created in Flash 8 with AS2. Can anyone here please help with this? I would really appreciate it.

Thanks a lot in advance-
