時間指定(秒)


/ Published in: ActionScript
Save to your folder(s)

スクリプトで指定秒止めて次へ


Copy this code and paste it in your HTML
  1. //フレームアクション
  2. stop(); //停止
  3.  
  4. //Intervalを設定
  5. var stopID = setInterval(stopAndClearInterval, 3000);
  6.  
  7. //再生してIntervalを止める関数
  8. function stopAndClearInterval(){
  9. _root.top.gotoAndStop(2);
  10. clearInterval(stopID);
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.