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

Comments

  1. How To Disable The Button In Animate Cc Html5 Canvas Files? >>>>> Download Now

    >>>>> 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

    ReplyDelete

Post a Comment

Popular posts from this blog

Why is os_ViewContainer running?

Illustrator CS6 Ocurrío un error E/S en el archivo.

InDesign CC 2015 won't open - plugplugowl.dll