AS 2: Transitions between external SWFs

Hi,

I was following this tutorial 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


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