Mouse Events in Adobe animate Html Canvas

New Here ,
Jan 12, 2021 Jan 12, 2021

Copy link to clipboard

Copied

Hello, 

I just want to create a simple event that If I roll over on mouse I should be able to load an image and If I roll out Mouse I must be able to see the default screen I have tried using Mouseover MouseOut and also RollOver RollOut But it did not work 

My button name is tooltip_1 

and frame, where my image will be shown, is 100

Can you please help me with writing code for this Please

Views

61

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
community guidelines
Adobe Community Professional ,
Jan 13, 2021 Jan 13, 2021

Copy link to clipboard

Copied

LATEST

Hi.

 

Have you tried using a Button symbol? It already has rollover, rollout, mousedown, and pressup events added by default.

 

In this way you can just place the image you want do show in the Over frame.

 

Please let us know.

 

Regards,

JC

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