Flash Tutorials 1: Custom Cursor

Friday, June 1, 2007
By Andy
Hi..1st flash tutorial i post check this out.

You'll need to create a movieclip that will be your custom cursor. Place the cursor to the stage and add the following code:

onClipEvent(enterFrame){

_x+=_root._xmouse;

_y+=_root._ymouse;

}

Test your movie and your MC should follow the mouse around. One problem: the one cursor is still there. Add the following line to the first frame of your movie:

Mouse.hide();

That's it! You now have a have a custom cursor that will look really sweet. You'll want the frame rate of your movie to be at least 24-30 in order to get smooth movement.

Source .fla (Flash 8 format)

0 comments:

Promo Code: 5% discount for Website Templates

Select template below and copy this promo code 5% :ia5iKt8Sok357yMFTv4a

Rules
Number of Orders: 1
Min. Order Amount ($): 120
Expiration Date:
5 July 2010

Buy Website Template

Got Template For You Description Avatar Logo The major advantage of purchasing a website template is price: You get a high quality design for just $20-$70. You don't have to hire a web designer or web design studio. Second advantage is time frame: It usually takes 5-15 days for a good designer to produce a web page of such quality.

Blogger Buster LogoSmashing Logo© Got Template For You.