Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Adobe animate CC, Disabling a buttton

Explorer ,
Dec 06, 2017 Dec 06, 2017

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?

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

correct answers 1 Correct answer

Explorer , Aug 11, 2020 Aug 11, 2020

said object.mouseEnabled = false sorted this issue

 

Translate
Community Expert ,
Dec 06, 2017 Dec 06, 2017

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Dec 06, 2017 Dec 06, 2017

I've found a solution. thanks tho!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 06, 2017 Dec 06, 2017

you're welcome.

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

Sharing the solution would have been very appreciated 

 

 

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

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 11, 2020 Aug 11, 2020
LATEST

said object.mouseEnabled = false sorted this issue

 

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