1 Reply Latest reply on Jun 8, 2006 4:24 PM by Newsgroup_User

    handling a function on the timeline vs. button

    NodeNode
      * never mind * forget this post... it actually does work... I was calling enabled = false and then enabled = true further down in the code without realizing it... duh...

      this is working...

      on(release){
      _root.QuitButton.enabled = false;
      }

      this is not working...
      button script:

      on(release){
      mDisableQuitButton();
      }

      timeline script:
      function mDisableQuitButton(){
      trace("disable function called");
      _root.QuitButton.enabled = false;
      }

      the trace is visible, but the '_root.QuitButton' is still enabled... ???

      thanks for any feedback