Copy link to clipboard
Copied
Hello,
I would like to use the buttonMode function on a movie clip.
In actionScript it works fine, but in javaSript (HTML5) it does not.
How to change the shape of the cursor when hovering over a movieclip?
Thank you
Copy link to clipboard
Copied
Hi.
You're gonna need to add a mouseover or rollover event to the Movie Clip instance and then change the cursor property to "pointer". In both cases you're gonna need to enable mouse over and roll over events like this:
stage.enableMouseOver();
Or you can place an invisible button inside of your Movie Clip instance if you don't want to deal with events for such a simple task.
Regards,
JC
Find more inspiration, events, and resources on the new Adobe Community
Explore Now