Warning: Invalid argument supplied for foreach() in /var/www/vhosts/teamphotoshop.com/httpdocs/lib/general.php on line 8
Make a custom global cursor
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...
BUY BRAND NEW HTC HERO UNLOCKED-----------$350USD samsung i8910 Omnia HD —- $350
Email:ebidtobuy@yahoo.com EBIDTOBUY is a leadi...
help convert swf to avi for editing in WMM
any help to convert swf to avi for editing in wind...
Using multicolored brushes.
Thanks for your reply. I actually already have dow...
Fortune Bird Images
[IMG]http://dl.getdropbox.com/u/1552467/rapidshare...
PhotoShop Design 154 -164
[CENTER][IMG]http://dl.getdropbox.com/u/1552467/ra...
... Go to Forum


Tutorial Image

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

Tutorial Image

Retouching a photo. Step 2: Using a curves adjustment.
Part 2 of our photo retouching series. This tutorial covers curves adjustment...



© 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.
..