TeamPhotoshop
 
Make a custom global cursor



Global Mouse Cursor:
Written by: Edwin Rosero

In this tutorial we will create a Global mouse cursor. This cursor is perfect for a Multi scene site or Those who are looking for an alternative to the usual "start drag and hide mouse" script.
Before embarking on this tutorial you should have some basic Flash Knowledge. Launch FLASH and make sure your frame rate is at 30fps. You can edit the movie properties by going to Modify>movie . Lets begin...

1.
-We begin by drawing the cursor we would like to use. Begin by drawing something simple.
Make sure to fill the shape with a color( in this case I chose white)other wise our cursor will
be transparent. Convert the desired shape into a movie clip by pressing F8 and selecting the
movie clip behavior from the symbol properties panel.

 2.
-Right click on the newly created movie clip and select edit. Select the shape and
position it so that the upper corner of the shape looks like it's "pointing" at the crosshair.

 3.
-Click on the scene tab on the upper right hand corner of the screen to return to the main
timeline.

 4.
-Right click on the cursor movie clip and chose "actions".
Copy and paste the Code provided. Then go to File>export.
Export the movie as an SWF file.

The Code..

onClipEvent (load){
......Mouse.hide();
}
onClipEvent (mouseMove) {
......setProperty (this, _x, _root._xmouse);
......setProperty (this, _y, _root._ymouse);
updateAfterEvent(mouseMove);

 5.
Open up a new file by going to File>new. Draw out a circle and convert it into a button.
Right click on the newly created button and chose "actions".
 6.
-go to basic actions and chose "on mouse event", select "release". Then go to
Actions>load movie. Under "URL:" type in the name, or location, of the swf you
wish to load. Then chose Level 1 as location. Levels can be thought of as layers, with Level 0
being your Main movie. Once the FLA has been saved to the same folder that u exported the
cursor.swf to you can test out the movie.
 7.
The final animation should look like this:

If you have any questions or comments regarding this tutorial please post it in this thread
http://forum.teamphotoshop.com/showthread.php?t=24775
Print Article




Login / Register
... Or Register


From The Forums...
Lighting effects help
hi, don't know how much i can give... just a nov...
Military Uniforms
I'm wanting to create military uniforms for a gami...
car help
Perhaps you should post this to the link you provi...
Looking for Tute for fanning pages
hi, i couldn't really find anything per say..... ...
How to convert DVD video to iPad 2 and transfer it to iPad 2
Want to convert video to your new iPad 2? Want to ...
... Go to Forum


Tutorial Image

Blending edges when you are making a composite photo.
Tutorial covering blending edges...

Tutorial Image

Make your selections by using the color range command.
Tutorial covering the color range command...



© Web Media Network Limited. All rights reserved. No part of this website may be reproduced without written permission. Photoshop is a registered trademark of Adobe Inc.. TeamPhotoshop.com is not associated in any way with Adobe, nor is an offical Photoshop website.
..