Highlighted

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?

said object.mouseEnabled = false sorted this issue

 

Views

297

Likes

Translate

Translate

Report

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

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?

said object.mouseEnabled = false sorted this issue

 

Views

298

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 06, 2017 0
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 06, 2017 3
Community Beginner ,
Dec 06, 2017

Copy link to clipboard

Copied

I've found a solution. thanks tho!

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

you're welcome.

Likes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Sharing the solution would have been very appreciated 

 

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 16, 2019 1
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
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 18, 2019 0
Community Beginner ,
Aug 11, 2020

Copy link to clipboard

Copied

said object.mouseEnabled = false sorted this issue

 

Likes

Translate

Translate

Report

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