Ciao ho un progetto che cliccando sul tasto B deve far partire il frame 10 della scena 1.

Con le istruzioni che ho usato non va. Come mai?

stop();

this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}

this.onRollOver = function(){
rewind = false; play();
}

this.onRollOut = function() {
rewind = true;
};

this.onRelease = function(){
gotoAndPlay("Scena 1", 10);

}