PDA

View Full Version : Pointing hand cursor change to open hand cursor?


FlashBulb
10-18-2004, 04:43 PM
I know about setting useHandCursor in a boolean kinda way... but what can I do to change the pointing hand cursor to an open hand... the kind of hand that looks like it's ready to grab something!

I have a scrollPane of a document that is bigger in width and height than the window. When you put the mouse over the scrollPane, it changes to a pointing hand and you can drag it around... and the scollbars will move accordingly.

However, a pointing hand is inappropriate for this effect - it should be the open hand. Is there an easy solution, or do I need to do the custom cursor thing with mouse.hide, and make an image follow the mouse around?

CyanBlue
10-19-2004, 02:15 AM
Yes... You've go to do your own cursor to do that...

mmm..pi..3.14..
10-19-2004, 02:51 AM
Actually...If you could find the picture on your computer of the open hand, you could import the pic into flash and use that as the cursor, so technically CB is right about using a custom cursor, but the user wouldn't know it was a custom cursor ;)

The directory for your cursors is C:\WINDOWS\Cursors The problem then is that the cursors are in the *.cur format, so your going to have to figure out a way to change it to jpg format, then import into flash.

Eric :D

FlashBulb
10-19-2004, 04:10 AM
Hmm... well, I did a printscreen of the folder containing the cursors in Thumbnail mode. The thing is, the only Windows cursor that resembled what I want is this stubby-fingered thing. (see attached .zip file)

I'll alter it in Photoshop.

__________________________________________________
You missed when time and life shook hands and said goodbye,
When the earth folded in on itself, and said "Good luck,
For your sake, I hope Heaven and Hell are really there,
But I wouldn't hold my breath."

mkulture
10-19-2004, 06:08 AM
http://www.moock.org/asdg/codedepot/

Check out Chapter 10.