Wednesday, April 8, 2009

TIP: Movie Clip Cursor

// Did you know:
// Scripts may be placed on Movie Clips.

// Procedure for a Custom Cursor using a Movie Clip
// 1) Mouse image uses an instance of a Movie Clip
// 2) Place script on the instance of the Movie Clip

// In this example the cursor is now a custom designed hand
// using typeface Wingdings 2, SHIFT B.

// The Script:
onClipEvent(enterFrame){
Mouse.hide(); // hides the pointer
this.startDrag(_xmouse); // Assigns the drag
}

No comments: