Create a new document by pressing +N. Make sure it is Actionscript 2
Save the document in your work folder
Insert a new symbol. Make it a movie clip and name it cursor.
Add a graphic or another movie clip to the cursor movie clip
Center the graphic using the Properties Window
Insert 2 more layers and name them labels, actions, and cursor.
Create keyframes on each layer at frame 5 and frame 10 by highlighting that frame and pressing F6.
Use frame labels to navigate through the movie clip easily.
To add a label simply select the frame on the labels layer and in the property box there is a spot for a frame label on the left hand side.
Give frame 1 a label name of off, frame 5 a label name of on,
and give frame 10 a label name down.
Also add a stop() action on frames 1, 5, and 10 on the actions layer.
In each labeled frame change your cursor to the image/color you want it to be.
Go to scene 1
Drag an instance of the cursor onto the main timeline and name it cursor_mc
Set up the hotspot to add some interactivity to the cursor.
Create a movie clip and name the instance hotspot_mc in the Properties Window.
Open up Actionscript
//this puts the cursoron a high depth
_root.cursor_mc.swapDepths(1000);
_root.onEnterFrame = function() {
//gets rid of the mouse
Mouse.hide();
//sets the custom cursor to the position of the hidden mouse
cursor_mc._x = _root._xmouse;
cursor_mc._y = _root._ymouse;
}
_root.hotspot_mc.onRollOver = function() {
_root.cursor_mc.gotoAndStop("on");
}
_root.hotspot_mc.onPress = function() {
_root.cursor_mc.gotoAndStop("down");
}
_root.hotspot_mc.onRelease = function() {
_root.cursor_mc.gotoAndStop("on");
}
_root.hotspot_mc.onRollOut = _root.hotspot_mc.onReleaseOutside = function() {
_root.cursor_mc.gotoAndStop("off");
}