///Customized Cursor in Flash MX 2004

Customized Cursor in Flash MX 2004

Customized Flash Cursor

You want to create an advanced presentation or a shooter game? Need a cursor in the shape of a target or simply tired of dull default cursors? No problem! With this easy tutorial you will be able to change the cursor in your flash presentations to anything you want. If you experience some difficulties while reading this tutorial it is recommended to read all the previous tutorials on http://www.metamorphozis.com written by me as some aspects might be discussed earlier.

1. Launch Flash MX 2004

2. Create new Flash file. Click File > New…

3. Select Flash Document in a new window

4. Create 2 blank layers. Name them “Hide cursor” and “Custom Cursor”.

5. Select the “Pen Tool” (picture 1). With this tool in the “Custom Cursor” layer create a shape, similar to the one you may see in the picture 2. This shape will be our future customized cursor.

Picture 1

Picture 2

6. Convert this shape to movie clip. Select this clip and add the following action script to the action panel:

onClipEvent (enterFrame) {

startDrag(this, true)

}

This code assigns the selected movie to the cursor

7. Select the “Hide Cursor” layer and add the action script code:

Mouse.hide();

This will hide regular cursor from the user’s view.

Congratulations! Press “Ctrl+Enter” to test your movie. Thanks for reading!

Click here to download source fla file.

2010-05-26T11:35:22+00:00 April 13th, 2005|Flash|0 Comments

About the Author:

Leave A Comment