here again with yet another problem…sorry if this is getting annoying
well i have navagation, and a container. The container is where the .swf files load. The first one, named bars.swf loads automaticly, but i want the other ones to load when i click the button…which is ussally no problem. except for this time. The first one loads itself, works great, i click the button, the first one plays its outro, and then loads and plays again. It sits at its midframe, but if i click the button again, nothing will happen. Im pretty sure it has nothing to do with the swf’s cause i tried two of them and they both did the same thing. Im quite sure its got to do with scripting somewhere. Here is the code on the button.
[color=Red]
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = “bars”;
container.loadMovie(“bars.swf”);
} else if (_root.currMovie != “bars”) {
if (container._currentframe >= container.midframe) {
_root.currMovie = “bars”;
container.play();
}
}
}[/color]
and the code on timeline that automaticly loads the first swf
[color=Red]_root.currMovie = “port_open”;
container.loadMovie(_root.currMovie+".swf");[/color]
and the last peice of code at the last frame of the swf files
[color=Red]_root.container.loadMovie(_root.currMovie+".swf"); [/color]
Thankyou to anyone that can help
…SquishyB