1 Reply Latest reply on Aug 25, 2008 5:22 AM by Newsgroup_User

    How to clear a timeout

    Venian Level 2
      Hi.
      I need to clear a timeout in another movieclip.
      I use the clearTimeout directive in _root. and doesn't work. I need it to work from _root.

      Example:

      button_btn.onRelease = function() {
      _root.clearTimeout(_root.content_mc.my_timeout);
      }

      And it doesn't work.

      Has anyone any ideas how it should be written?

      Thanks.