Disable buttons on Adobe animate canvas
Hi All,
I am trying to disable 5 buttons from a movieclip timeline so they're out of use though still visable.
Currently I have 1 button controling 1 movieclip, the button tells the movieclip move forward one frame and play, this plays till frame 5 and stops _this.stop(); and at this point I need to tell the _root timeline to disable 5 buttons.
By clicking a close button _this.play(); the frame plays out frame 6 to 10 and I will need to enable the 5 buttons again before frame 10.
Whats the best way to disable and enable a button, is it from an action or on enter frame. Could someone plaese help me with this Adobe Animate Canvas code please?
Button controlling movieclip
var _this = this;
_this.secure_btn.on('click', function(){
_this.Secure_Overlay.gotoAndPlay(2);
});
Thanks
