Skip to main content
Participant
January 13, 2021
Question

Mouse Events in Adobe animate Html Canvas

  • January 13, 2021
  • 1 reply
  • 464 views

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

    This topic has been closed for replies.

    1 reply

    JoãoCésar17023019
    Community Expert
    Community Expert
    January 13, 2021

    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