ActionScript Help

I am working on the tutorial for using external swf files and in the tutorial it says to use buttons and gives you the code


 on (release){
if (_root.currMovie == undefined)
{ _root.currMovie = "main";
container.loadMovie("main.swf');
}
else if (_root.currMovie != "main"){
if (container._currentframe >=
container.midframe) {
_root.currMovie = "main";
container.play();
}
}
}

My problem is that i am using movie clips instead of buttons for my navigation, i have tried switching the


on(release)

to


onClipEvent(mouseDown)

but it doesn’t work.

If someone can help me with this i would really appricate it.

Thanks
Seth