# AS 2: Transitions between external SWFs

**URL:** <https://forum.kirupa.com/t/as-2-transitions-between-external-swfs/304582>\
**Category:** flash\
**Created:** [February 10, 2010, 11:37am UTC](https://forum.kirupa.com/t/as-2-transitions-between-external-swfs/304582 "2010-02-10T11:37:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leetech](https://avatars.discourse-cdn.com/v4/letter/l/3ec8ea/32.png) [@leetech](https://forum.kirupa.com/u/leetech)\
**Post date:** [February 10, 2010, 11:37am UTC](https://forum.kirupa.com/t/as-2-transitions-between-external-swfs/304582/1 "2010-02-10T11:37:51Z")

</div>

Hi,

I was following this tutorial [http://www.kirupa.com/developer/mx2004/transitions2.htm](http://www.kirupa.com/developer/mx2004/transitions2.htm) and I was wondering if there is anyway to combine the SWF so there is only 1 not multiples. Because when I uploaded them to my Moodle website they did not work, I don’t think it likes the multiples SWF files (they were within the same folder).

The code used was

```auto

on (release) {

if (_root.currMovie == undefined) {

_root.currMovie = "date1";
container.loadMovie("date1.swf");
} else if (_root.currMovie != "date1") {
if (container._currentframe >= container.midframe) {

_root.currMovie = "date1";
container.play();

}

}

}

```

Cheers,

Chris
