Transitions error


I have some problems with transitions. They work fine for the most part, but if you click on a button before the transition is done, it gets screwed up (does not load the new swf files correctly). My code for each button is (I have 6 main buttons):

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

if (_root.currSub == undefined) {
_root.currSub = “startT”;
} else if (_root.currSub != “startT”) {
if (container2._currentframe >= container.midframe) {
_root.currSub = “startT”;;

Each button has the same setup as above, but loads ofther swf’s. The transitions each lasts for 10-15 frames, so they are not very long, but if you happen to click on on of the other buttons before it has reached it’s midframe, they will most times load one of the swf’s but not the other. Is there a way to force the swf’s to not load, unless both do? Sorry for being a bit blurry, but I’ve spent so many hours on this and can’t find a solution. Please help me :cantlook: