4 Replies Latest reply on Aug 31, 2017 11:58 AM by ClayUUID

    Enable/disable button at certain point in timeline


      I've reviewed similar questions but still cannot resolve my specific issue. I have a button that on click goes to a certain point in the timeline and plays. The issue is that while the timeline is playing, this button is still enabled- and if you click it it takes the user back to the first frame. I want to just disable this while it plays, and then reenable once completed.


      this.button_4.addEventListener("click", fl_ClickToGoToAndPlayFromFrame_6.bind(this)); function fl_ClickToGoToAndPlayFromFrame_6() { this.gotoAndPlay(2); }


      and then on the first frame of the animation, I have created a keyframe and added


      But this does not work.

      Please advise?