public static function allRight():void { if(num == 3) { trace("All right") //gotoAndPlay("finish"); } }