|
Step 1
Open Flash, and than in Propertis Pannel (Ctrl+F3), click on size icon (Ctrl+J), set Height to 300, Width to 200, color to whatever you like and ok.
Step 2
Double click on layer1 to change its name in cursor, than insert also 2 layers and name them hotspot and action.

Step 3
Lock all layers except cursor layer, click on the cursor layer and draw new cursor. For this example we have drawn this cursor.

Step 4
Select cursor that you just draw and press F8 (Convert to symbol), under Behavior choose Movie Clip, name whatever you like and ok.

Step 5
Select new made Movie Clip (cursor) and in Propertis Pannel under <Instance Name> type cursor.

Step 6
Double click on cursor (Movie Clip) or right click and choose Edit in place.When you are inside movie clip double clikck on layer 1 and change his name in cursor, then insert two new layers and name them actions and label.

Step 7
Click on frame 5 of cursor layer and press F6 (Changing points), then change color of cursor in red. Look at the picture!


Step 8
Click after that on frame 10 of cursor layer and press again F6, but this time change the color of cursor in green.


Step 9
Click on the first frame of label layer and in Propertis Pannel (Ctrl+F3) under <Frame Label> type blue. Than click on frame 5 of label layer, press F6 and under <Frame Label> type red.


Step 10
Click on the first frame of layer actions ,open Action Script Pannel (F9),and type : stop ();


Step 11
Then click on the fifth frame of layer action and press F6,open action script pannel and type: stop (); do that for the tenth frame layer action.

Step 12
Go back on the main scene (Scene 1) unlock layer hotspot and draw a form of your choosing let's say an rectangle.

Step 13
Select that rectangle ,press F8(opens convert to symbol dialog box ), under behavior choose Movie Clip, name it and than press ok.
Step 14
Select created Movie Clip, and in Proprties Pannel under <Instance Name> type hotspot.

Step 15
Unlock layer action ,click on his first frame ,open Action Script Pannel (F9), and paste this script:
_root.cursor.swapDepths(1000); _root.onEnterFrame = function() { Mouse.hide(); cursor._x = _root._xmouse; cursor._y = _root._ymouse; } _root.hotspot.onRollOver = function() { _root.cursor.gotoAndStop("red"); } _root.hotspot.onPress = function() { _root.cursor.gotoAndStop("green"); } _root.hotspot.onRelease = function() { _root.cursor.gotoAndStop("red"); } _root.hotspot.onRollOut = _root.hotspot.onReleaseOutside = function() { _root.cursor.gotoAndStop("blue"); }
|
|