Macromedia Flash - Customize cursor

Using flash, you can hide the browser default cursor and instead create a custom cursor of your choice. In this article, I will show you how to do that on any flash file you want.

Using flash, you can hide the browser default cursor and instead create a custom cursor of your choice. In this article, I will show you how to do that on any flash file you want.

Step 1

Open a new flash file. Go to Document Properties ( Ctrl + J ) and set the Width and Height of the file. Set the Frame rate set to 22fps .

Picture 1 of Macromedia Flash - Customize cursor

Step 2

Double click on layer 1 and rename its name to background .

Step 3

Press Ctrl + R ( Import to Stage ) to put the background image into the file.

Picture 2 of Macromedia Flash - Customize cursor

Step 4

Name a new layer and name it cursor .

Step 5

Select the cursor layer and draw any shape on that layer to replace the default cursor. May be the picture as below.

Picture 3 of Macromedia Flash - Customize cursor

Step 6

Select the pointer and press F8 key (or go to Modify -> Convert to Symbol ) to convert it into a Movie Clip. See the picture below

Picture 4 of Macromedia Flash - Customize cursor

Step 7

Open the Properties Panel ( Ctrl + F3 ), in the Color section choose Alpha and the value is 45% .

Picture 5 of Macromedia Flash - Customize cursor

Step 8

Still in the Properties Panel, under the Movie Clip section, enter the cursor name (as shown below).

Picture 6 of Macromedia Flash - Customize cursor

Step 9

Add a new layer and name it action

Picture 7 of Macromedia Flash - Customize cursor

Step 10

Select the new layer just now, click on the first frame and open the Action Script Panel (F9), then enter the following script:

_root.cursor.swapDepths (1000);

_root.onEnterFrame = function () {

Mouse.hide ();

cursor._x = _root._xmouse;

cursor._y = _root._ymouse;

};

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile