On Release Function Help

Hi, I need a little help writing a function that loads two separate SWF files by clicking a button. Here is my current code:

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

My first SWF file (slash.swf) will load but the second file will not. The problem I am having is because of the coding for the outro in each of the SWFs. I know regularly is would be:

on (release) {
slash_container.loadMovie(“slash.swf”);
container.loadMovie(“merch.swf”);
}

But with all of this extra code I am not sure what to do.

Thanks for all of the help,
Brian