on(press){ var curf:Number = _root.newgame.avatar._currentframe; var tclass:Number = 5; if (_root.cruf != tclass){ _root.newgame.avatar.nextFrame(); trace("Still Going..."); }else{ trace("Passed..."); _root.newgame.avatar.gotoAndStop(1); } }