Hand under list

is there a way to change the cursor to a hand on a list component ? or do i have to create a fake button area and attach to cursor a new sprite ?
thanks

tiens donc, Paris? en France ou Texas? :slight_smile:
No way to change the normal cursor in FLash, except using a clip and mouseHide.

Paris france, biensur :smiley:
ok merci, je vais bidouiller alors :frowning:

You can easily change the default cursor to a hand cursor when rolling over a List component by defining an onRollOver, onRollOut, onPress or onRelease handler to it.

For example:


yourlist.onRollOut = function(){
}

This won’t do anything when rolling out, but it will change the cursor to a hand when rolling over the list. However, it could be that some problems might occur with pressing items for example (I don’t know, I haven’t tried it with items in the list). If you find that to be the case, using a clip and Mouse.hide() is the best way to go.