AIMP Forum

AIMP for Windows => Skin Editor, Skin Engine => Вопросы / Questions => Topic started by: Chiira on January 13, 2017, 06:09:44

Title: Button Hover Animation
Post by: Chiira on January 13, 2017, 06:09:44
Hi there :D
Wanna ask~
I have button, and animator. It's possible to play animator when button hovered and back to stop when button not hovered?
I want to make button animation, through animator.
Thank you :3
Title: Re: Button Hover Animation
Post by: Artem on January 13, 2017, 08:14:18
You can place button to the Panel or LayoutContainer and bind the IsActive property from it with animator
Title: Re: Button Hover Animation
Post by: Chiira on January 14, 2017, 04:55:07
You can place button to the Panel or LayoutContainer and bind the IsActive property from it with animator

Ah, it's works :3
Need 1 hour to get the idea lol
Thanks you very much <3
Title: Re: Button Hover Animation
Post by: Chiira on January 14, 2017, 08:17:43
You can place button to the Panel or LayoutContainer and bind the IsActive property from it with animator
Wanna ask again, how to stop the animator?
I mean, animation play once~
Title: Re: Button Hover Animation
Post by: Artem on January 18, 2017, 14:22:50
You can stop animator via binding with Enabled property
Title: Re: Button Hover Animation
Post by: Zhenya on January 18, 2017, 18:38:31
You can stop animator via binding with Enabled property
Amendment: "Accessibility" property.
Title: Re: Button Hover Animation
Post by: Artem on January 18, 2017, 18:59:59
Amendment: "Accessibility" property.

Yes, of course, you are right
Title: Re: Button Hover Animation
Post by: Prass93 on June 20, 2019, 09:11:29
You can place button to the Panel or LayoutContainer and bind the IsActive property from it with animator

Please can you give me example this project? Thanks
My file project not work pause button animation not stop :(
Title: Re: Button Hover Animation
Post by: Black_AVP on June 21, 2019, 09:58:35
Не уверен, что правильно понял задачу из гугл-перевода, но, может, такое решение вам подойдёт (пример во вложении).