var timer:Timer = new Timer(1000 ,1); // 1000ミリ秒 = 1秒 timer.addEventListener(TimerEvent.TIMER, timerFunc); timer.addEventListener(TimerEvent.TIMER_COMPLETE, timerCompFunc); timer.start(); function timerFunc(Event){ trace("予定する繰り返し回数:"+timer.repeatCount); trace("現在の繰り返し回数 :"+timer.currentCount); } function timerCompFunc(Event){ trace("タイマーが完了"); } 1回だけ動かす場合(Sleepとして使う場合も)、TIMER、TIMER_COMPLETE のどちらを
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く