6 Replies Latest reply on Dec 24, 2010 5:00 AM by anurag c

    How can I stop my timer ? unloadModule(); and removeEventListener(TimerEvent.TIMER do not work

    majester8425 Level 1

      I have a dynamic moduleLoader which loads modules based on a menu selection. One of these modules has a timer within it, but I cannot get it to stop running. Anyone have any idea how I can stop the timer in an unloaded module ?

       

      I have tried adding the following in the main application.

       

      intrayWorkPane.unloadModule();

      intrayWorkPane.removeEventListener(TimerEvent.TIMER, doNothing);