Loading several SWF files into a parent SWF file

I have this working in AS2 but can not get it right in AS3.

Have scripts that load the files one after the other but they have to be the same length. Does anyone know how I can do the script below in AS3?

var swfs = [“reel1.swf”,“reel2.swf”,“reel6.swf”];
var currentMovie = 0;

_root.createEmptyMovieClip(“clip”,0);

_root.clip.loadMovie(swfs[currentMovie]);
_root.onEnterFrame = checkLoadFinish;

function checkLoadFinish() {
if ((_root.clip.getBytesTotal() > 4) && (_root.clip.getBytesLoaded() >= _root.clip.getBytesTotal())) {
delete _root.onEnterFrame;
_root.clip.onEnterFrame = checkPlayFinished;
}
}

function checkPlayFinished() {
if (this._currentframe == this._totalframes) {
//this.stop();
currentMovie = (currentMovie+1)%swfs.length; //goes from 0 to 2 and back to 0
_root.clip.loadMovie(swfs[currentMovie]);
delete this.onEnterFrame;
_root.onEnterFrame = checkLoadFinish;
}
}

Thanks!