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...
-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.
-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.
-Click on the scene tab on the upper right hand
corner of the screen to return to the main
-Right click on the cursor movie clip and chose
Copy and paste the Code provided. Then go to File>export.
Export the movie as an SWF file.
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".
-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.
The final animation should look like this: