Transitions (voets tut)

ok, I don´t know what I´m doing wrong, I have this for my servicios buttom:
[AS]on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “servicios”;
container.loadMovie(“servicios.swf”);
} else if (_root.currMovie != “servicios”) {
if (container._currentframe == container.midframe) {
_root.currMovie = “servicios”;
container.play();
}
}
}
[/AS]

and the same AS for my “portafolio” buttom, of course I changed the swf name.
When I clic for example “servicios” it loads ok but when I clic after that “portafolio” it doesn´t load, and viceversa, if I clic “portafolio” loads ok but after that if I clic “servicios” doesn´t load, any ideas? Please help…

where is the container mc? if it is on the main timeline you should add _root like this

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