hey all, just trying to figure out what path is correct, i’ve tried _root.gotoAndPlay(“S4”, 1);
this._root.gotoAndPlay(“S4”, 1);
this.gotoAndPlay(“S4”, 1);
statements are in a rock that if it collides with the spaceship, game over, hitTest works, but doesn’t jump to next scene to say “Game Over”.
if (this.hitTest(this._parent.motherShip)) {
trace("Hit!");
this.stop();
gotoAndPlay("S4", 1);
}
Can you post the .fla or at least all of the actionscript so I can see how you’ve been naming things. Also, what levels are the rock and the spaceship on?
And does your trace function work? I think you indicated that it did, the only thing that isn’t working is that your movie isn’t moving to the next scene. Are you sure your scene is named “S4”?