this.onEnterFrame = function(){ if(Key.isDown(40)){ text.nextFrame(); } if(Key.isDown(38)){ text.prevFrame(); } else{text.stop()} }