Search tutorials
Step 3. Hide and Seek
Great we've hidden the mouse. Unfortunately, the symbol now doesn't know where to find it so we'll have to input a code that gives the exact co-ordinates of the mouse every time.
masker_mc.onEnterFrame = function(){
this._x = _xmouse
this._y = _ymouse
};
//this tells the symbol to follow the mouse by tracking its coordinates.
Good job. Now if you run the program it should have the symbol following the mouse without showing the cursor. Now all you need to do is make it a mask...
| » Level Basic |
|
Added: 2003-11-22 Rating: 5 Votes: 38 |
| » Author |
| yay me? |
| » Download |
| Download the files used in this tutorial. |
| Download (32 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!