Search:                                                     

[index_add/searchmain.htm]
[pages/search_page.htm]
Global Mouse Cursor
  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...

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

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

Step 3.

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

Step 4.

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

Step 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".

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

 

If you have any questions, please post in the Flash forums. You can contact me directly by e-mailing at: [email protected] You can also contact me by using AOL Instant Messenger: Crazy Flash Pie

Edwin Rosero
http://vts330.tripod.com/

 
 [pages/rightinfo.htm]

  schematic:
    Global Mouse Cursor
   

 navigation:

tutorials:
Flash 5
  Basic
  Animation
  Special Effects
  Advanced
  Screenshots
  Forums
  Buy Flash 5
ActionScript
Flash 4
Flix
Other Tutorials
books:
FrontPage 2002: ABG
Flash Books

features:

[pages/gl.htm]
 
 

 
 updates:

The following links are tutorials that have been added or updated recently to this site:

  Duplicate Movie
Collision Detection
Add Sound
Swap Depth
Falling Snow
 
[media/forum.htm]

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Return to Previous Page
 

[developer/flash5/copyright.htm]