How to disable the button in animate cc html5 canvas files?
hi !
how disable button in animate cc html5 canvas files?
ex:
this.mc.on('click',function(){alert('this')}) this.mc.enabled=false quesiton 1 :
when clicking "mc",it run still.how can control button of disable , enable?
question 2:
the mc not image, it's movieclip. how can change mc's color? example: mc's color default red,i want click change black!
thank you!
use addeventlistener instead of 'on'. can use removeeventlistener disable.
or can continuue use 'on' , use mouseenabled property disable this.mc:
this.mc.mouseenabled=false;
More discussions in Adobe Animate CC - General
adobe
How To Disable The Button In Animate Cc Html5 Canvas Files? >>>>> Download Now
ReplyDelete>>>>> Download Full
How To Disable The Button In Animate Cc Html5 Canvas Files? >>>>> Download LINK
>>>>> Download Now
How To Disable The Button In Animate Cc Html5 Canvas Files? >>>>> Download Full
>>>>> Download LINK PA