Transistions between .swfs code problem

This is the code I am using for a transistion from a .swf file when you click the button “contact”:

on (release) {

if (_root.currMovie == undefined) {

_root.currMovie = “contact”;
} else if (_root.currMovie != “contact”) {
if (container._currentframe >= container.midframe) {

_root.currMovie = “contact”;;




Alright this works fine but the problem is, when you click this button, it works, but then you click any other button and it brings up the contact swf file again. Is there any way I can fix or change this code so it will work?


Chimp did u get it to work!?