Then see a tutorial in Adobe Flash 8 in which there is a very basic technique, this explanation would apply a bit of code in ActionScript 2.0.
Adobe Flash 8 Tutorial
Programming a cursor as a mask.
Masking is a very useful technique in Flash. By applying a mask on a movie clip, you can restrict the visible area of the target clip to the mask area. Then see a tutorial in Adobe Flash 8 in which there is a very basic technique, this explanation would apply a bit of code in ActionScript 2.0. If you follow this tutorial carefully the outcome of your work is sensational. Good luck!
Step 1
Create a new document ctrl. + J.
Edit the document properties dimensions 350 px 561 px width and height.
Background color #FFFFFF, Frame rate 12 fps.
Step 2
Create a new symbol ctrl. + F8, to put the name of this symbol (Symbol Mask).
Select option (Movie clip).
Step 3
Installed in the symbol, select the rectangle tool and draw the vector.
Fill color #0099FF.
The measures of the rectangle are 75.0 px * 75.0 px.
Place the rectangle in coordinates X: 0.0 Y: 0.0.
Step 4
This step is very easy to follow, you only have to click the button on the Scene, and thus move to it.
Step 5
I'll give you a brief explanation of how to import an image to the Scene. First press ctrl. + R, navigate through different folders to be installed where the image will be used.
Step 6
If you perform the previous step now will have exactly one image in the scene.
The measures of the image must be 350 px * 561 px.
Place the rectangle in coordinates X: 0.0 Y: 0.0.
Step 7
Insert a new layer (Layer 2).
Open the Library panel (ctrl. + L), select the symbol (symbol mask). Place this symbol in any part of the image.
Select the instance name box and type the name (mask-cursor).
Step 8
Select the Layer 2 frame, open the Actions - Frame and insert the following actionscript code.
This step is a bit tricky, click the right mouse button on the Layer 2.
In the menu select the Mask.
Step 10
The following image shows how it is that the timeline. With this step is completed by the tutorial. If you have any questions or leave your comments below.
Well Done!
Press Ctrl. + Enter and see the final of the animation. See you soon. @----- ;)