Transitions Between Extrnal SWFs

Ive been going through some of the great tutorials on Kirupa to try and make a flash site of my own.

Unfortunatly, ive hit a slight snag, and wondered if anyone could help me.

Ive created buttons simular to Complex Button RollOver/RollOut Effects and my current script is (inside a mc):

[INDENT]stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
_root.navOver.gotoAndStop(1);
play();
};
this.onRollOut = function() {
rewind = true;
};
this.onRelease = function() {
getURL(“http://www.kirupa.com”, “_blank”);
};[/INDENT]

Im wanting to insert the following code on the ‘onRelease’ function above which is taken from the Transitions Between Extrnal SWFs tutorial.:

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

Does anyone know a way to adapt this??

Its the last part of my site that needs doing…please help.

Please.