Adobe animate CC, Disabling a buttton

Community Beginner ,
Dec 06, 2017

Copy link to clipboard

Copied

Hello,

I've been working with animate for nearly a month now. I am trying to make a monitoring interface. there is just one little problem.

I have a button which i wish to disable under certain circumstances. The only way I have found is to disable the mouseEnabled propertie. Unfortunately this doesn't change the brightness of the button. The first thing i tried was to change the Alpha of the object but this turned out ugly since the shadow is visible underneath the object.

Image 7.png

Is there anyone who knows a better way of doing this? Without using alpha?

Views

334

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Community Beginner , Aug 11, 2020
jarnek85287640 Community Beginner , Aug 11, 2020
said object.mouseEnabled = false sorted this issue 

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Dec 06, 2017

Copy link to clipboard

Copied

there are other ways to do it but the expected (by the user) way is to adjust the alpha.  if you want to adjust or remove the button's filter, do so.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Dec 06, 2017

Copy link to clipboard

Copied

I've found a solution. thanks tho!

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Community Professional ,
Dec 06, 2017

Copy link to clipboard

Copied

you're welcome.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
New Here ,
Dec 16, 2019

Copy link to clipboard

Copied

Sharing the solution would have been very appreciated 

 

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Adobe Employee ,
Dec 18, 2019

Copy link to clipboard

Copied

Do post your solution here for the benefit of other users with a similar issue.

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Aug 11, 2020

Copy link to clipboard

Copied

said object.mouseEnabled = false sorted this issue

 

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more