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.
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
Step 4
Select 'object just drawn' and press F8 key ( Convert to Symbol ) to convert it into a Movie Clip.
Step 5
After the conversion is complete, open Properties (Ctrl + F3) and at the line enter the 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
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 .
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
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 .
The last thing is to press Ctrl + Enter . Download source file.
You should read it
May be interested
- Macromedia Flash - Photo effects appear with soundwith this exercise, you will know how to create an attractive appearance of the image object along with the sound in flash 8 (without using the action scrip)
- Macromedia Flash: Create effects for nature photosthis tutorial will show you how to create simple effects for nature images using some special flash tips. this tutorial is implemented on flash cs5, there may be some differences if you use another flash version.
- Macromedia Flash - The object moves with the mouse click positionwith this exercise, we will show you how to create an object that will move with the mouse click position using the action script.
- Macromedia Flash - Animation and rotation effectsthrough this exercise, you will see how to create a nice rotating animation effect with just a few simple flash tips.
- Macromedia Flash - Effect of 'oil spill'through this tutorial you can make an effect for small ads that are quite simple but no less strange ...
- Macromedia Flash - The spotlightjust a few simple steps in flash 8.0 you can create a nice effect: the spotlight effect.
- Macromedia Flash - Product image advertising effectsin this article, we will show you how to create a product advertising effect in flash. you can use this effect when you need to introduce a new product launch or in banner ads. this effect does not need to use any action script code but only created with mask in flash.
- Macromedia Flash - Create menu effectsthis lesson will show you how to create a flash menu with the effect when moving the mouse. to create this post, you will have to use the action script code.
- Macromedia Flash - Vivid photo effectsthrough this tutorial, you will learn how to create a vivid photo effect with some basic flash tips. this article does not need to use action script code.
- Macromedia Flash - Create analog clock in Flashthis tutorial will show you how to create a real working clock using flash effects.