Reputation: 2863
I have a very simple gotoAndStop(100);
in the first frame that seems to get stuck on frame 50. It has no problem going anywhere before it, but after, it fails. There is nothing but a stop(); command on frame 50, and even if I remove all actions, it still doesn't work. What could be wrong?
Upvotes: 1
Views: 303
Reputation: 5740
Your goToAndStop (100) method is inside an if statement:
if( getVal('v') != undefined ) {
trace( "Skip to last scene" );
gotoAndStop(100);
}
If you try to trace getVal ('v') in that point you'll see that is undefined. So the if never executes, and the goToAndPlay will never be triggered.
Upvotes: 3