Category: ActionScript3

useButtonMode = true not working in AS3

In Actionscript 3, you may find yourself wondering why when you use “useHandCursor” on a MovieClip, the cursor remains an arrow on mouse_down.

In AS3, useHandCursor is a property of the SimpleButton class. if an object has “buttonMode” set to true, by default “useHandCursor” will also be true. If is is not set to buttonMode, setting “useHandCursor” to true will do nothing.

On objects that are set to buttonMode, setting “useHandCursor to false will prevent the cursor from changing to a hand on MOUSE_DOWN.

Continue reading