Macromedia Flash - Dynamic cursor object

Read this exercise and see how to create a dynamic cursor with just a few basic steps and of course use Action Script in Flash 8.

Read this exercise and see how to create a dynamic cursor with just a few basic steps and of course use Action Script in Flash 8.

Step 1

Create a new Flash file and set Width to 350 and Height to 200px. Frame rate set to 33fps

Step 2

Double click on layer1 and rename it to Background . Then insert a new layer named Active object .

Step 3

Use simple Flash tools to draw an object at your disposal. For example, I have a drawing like a pointer like below

Picture 1 of Macromedia Flash - Dynamic cursor object

Step 4

Select 'object just drawn' and press F8 key ( Convert to Symbol ) to convert it into a Movie Clip.

Picture 2 of Macromedia Flash - Dynamic cursor object

Step 5

After the conversion is complete, open Properties (Ctrl + F3) and at the line enter the object .

Picture 3 of Macromedia Flash - Dynamic cursor object

Step 6

After that, select the first frame of the Active object layer, in the Action Script window (F9), enter the following script:

startDrag (object, true);

Step 7

Double click on the 'object' to enter the content edit inside

Step 8

Select 'object' press F8 key to convert to Movie Clip

Picture 4 of Macromedia Flash - Dynamic cursor object

Step 9

Click on frame 15 of layer1 and press F5 key. Then select the first frame of layer1 and right click and choose Copy Frames.

Step 10

Add a new layer (layer2), select the first frame, right click and select Paste Frames .

Picture 5 of Macromedia Flash - Dynamic cursor object

Step 11

After that, click on frame 15 of layer2 and press F6 (Keyframe).

Step 12

Use the up and down arrow keys to place the object on a position where you want it to appear

Picture 6 of Macromedia Flash - Dynamic cursor object

Step 13

While your 'object' is selected, open Properties (Ctrl + F3) and under Color choose Alpha and set it to 0%.

Step 14

Go back to the first frame of layer2, open Properties , at Tween choose Motion .

Picture 7 of Macromedia Flash - Dynamic cursor object

The last thing is to press Ctrl + Enter . Download source file.

Update 25 May 2019
Category

System

Mac OS X

Hardware

Game

Tech info

Technology

Science

Life

Application

Electric

Program

Mobile