function sleep(intval:Number):Void { function jump():Void { clearInterval(int2); play(); } stop(); var int2 = setInterval(jump, intval); }