Hand cursor on Movie Clip
I have 2 movie clips. One its tree and sedond its toy. Now i playing with removeEventListener.. and try to make drag and drop. All must looks like i drag toy and drop to the tree. But when i drag my toy i don't see hand like when i move cursor on the html link. How i can create hand when i ower or drag my toy? Interesting make it with as3. Maybe using useHandCursor...
code:
toy.useHandCursor=true; // how?
toy.addEventListener(MouseEvent.MOUSE_DOWN, dragToy);
function dragToy(event:MouseEvent):void
{
toy.startDrag();
toy.removeEventListener(MouseEvent.MOUSE_DOWN, dragToy);
toy.addEventListener(MouseEvent.MOUSE_UP, dropToy);
}
function dropToy(event:MouseEvent):void
{
toy.stopDrag();
toy.removeEventListener(MouseEvent.MOUSE_UP, dropToy);
toy.addEventListener(MouseEvent.MOUSE_DOWN, dragToy);
}