|
|
Hand Cursor If you make a MovieClip (or Sprite) clickable, one would expect the mouse cursor to automatically change to a pointer or hand icon. However in as3, you need to specifically make that object selectable. btn.buttonMode = true; btn.useHandCursor = true; buttonMode If true the Sprite behaves like a button. Meaning that the Sprite (or MovieClip) will issue a CLICK event when the user clicks on the Sprite (or presses Enter or space bar if the Object has focus). Also it set the hand cursor when the cursor rolls over Sprite. (Unless they suppress the view of the HandCursor by setting that to false). |
||
| |||||||||||||||||||||