3 Replies Latest reply on Aug 13, 2009 2:08 PM by goldfever

    Running a timer only when the associated display object is visible?


      Inside a canvas I have a timer that I only want to run while that canvas is visible.  I tried the addededToStage and removedFromStage events which started the timer as soon as I launched the app.  I figured this must be a pretty common thing to do so rather than trying every event that souds like it might work and maybe getting lucky I would just ask.