|
Post by yoshipros on Jan 8, 2006 14:26:43 GMT
Ok so you wanna make a custom cursor for your flash movies? well read below and find out how!
1. Create a Movie Clip (from now on it's MC) by going insert>new symbol name it cursor 2. Now draw the cursor you want. 3. Now this is an important part so LISTEN WELL. You have to make sure the clicky part of the cursor is centered in the middle of the MC 4. Go to the main scene and open the libray (CTRL + L) and drag the cursor on to the stage 5. Now click on the cursor and open the actions panel (or push F9) and put these scripts onto the cursor
onClipEvent(load) { //when the movie clip loads Mouse.hide(); // hide the normal mouse startDrag(this,true); // and drag the cursor MC to follow the mouse }
INFO onClipEvent(load) means when the flash player loads the movie Mouse.hide(); Means it will hide the normal mouse startDrag(this,true); Means that the cursor MC will be draged in the center of the normal mouse position (which it is important why you center the clicky part)
6. Now push CTRL + ENTER and test the movie the cursor should follow the mouse
Finished, Enjoy! hope it helped!
|
|