I have this bit of code for a simple button:
movieClip_1.buttonMode = true;
movieClip_1.useHandCursor = true;
I can see the cursor in flashPlayer, but once I put this in an html doc, I don't see the hand cursor any more.
Do I need to be adding something to the html as well, or is more code needed? For some reason, I thought this used to work... maybe that's just the old school AS2 buttons?
if movieClip_1 is a simple button you should be seeing error messages. if it's a movieclip and IF the mouse is over movieClip_1, assigning it's buttonMode to true is sufficent for the cursor to respond as if it's over a button
well, it's definitely working as a button. What I was saying was that it wasn't changing to a hand cursor. I ended up doing one thing that made all the difference and that was to change the hot spot from just an area of color to a movie clip within the button itself, and that worked. I don't know why but it's working.
still not working in Safari, but my target is IE for PC on this project and it's working there.
Europe, Middle East and Africa