Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button as Custom Cursor?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I know I can use a movie clip symbol as a custom cursor, but I'm wondering if it is possible to use a button symbol instead so that there is a change onmousedown. It seems like I am able to use one, but the button/cursor only becomes active after it has been pressed. Checking the actionscript, it seems like the drag function can only be activated onmouseover, or keypress, etc, and not simply onload as with a movie clip symbol.

I hope to god this makes some sense to someone, and I hope someone can offer a suggestion (including a way to do this in a totally different way.)
 
Just add:

onClipEvent (mouseDown) {
gotoAndstop(2);
}

to the movie clip you are using as the cursor, then in frame 2 of the clip you can add the mouseDown cursor Regards
David Byng
spider.gif

davidbyng@hotmail.com
 
okay, forgive the question, but when I do that the cursor just loops back and forth between its two states. thanks for the help!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top