11 Replies Latest reply on Mar 20, 2008 7:10 PM by Blindgator

    set interval

    Blindgator Level 1
      I am trying to delete a movie clip after it has been alive for x seconds. I also tried what they had in the help but that didnt seem to compile. What am I doing wrong?

      _root.attachMovie("boom", "blow"+blowNum, blowNum, {_x:bx, _y:buy, _xscale:scale*.6, _yscale:scale*.6});
      setInterval(function(){_root["blow"+blowNum].removeMovieClip();}, 1500);