Flashadvisor logo
:: Desktop Shortcut
:: Flash Help
Advices from Experts

 Submit Here! · Link to Us · Newsletter · Tell a Friend ·

      Add Tutorial |

 

Advertise here










 

Google

Search WWW   
FlashAdvisor.com

 Home > Tutorials  > Beginners

Customized Cursor in Flash MX 2004

Author: Oleg Lazarenko | Email
Website : www.metamorphozis.com


Advertisement

You want to create advanced presentation or shooter game? Need a cursor in the shape of target or you simply tired of dull default cursors? No problem! With this easy tutorial you will be able to change the cursor in your flash presentations to anything you want.

1. Launch Flash MX 2004

2. Create new Flash file. Click File > New...



3. Select Flash Document in a new window




4. Create 2 blank layers. Name them "Hide cursor" and "Custom Cursor".



5. Select the "Pen Tool" (picture 1). With this tool in the "Custom Cursor" layer create a shape, similar to the one you may see in the picture 2. This shape will be our future customized cursor.
Picture 1



Picture 2



6. Convert this shape to movie clip. Select this clip and add the following action script to the action panel:

onClipEvent (enterFrame) {
startDrag(this, true)
}


This code assigns the selected movie to the cursor




7. Select the "Hide Cursor" layer and add the action script code:

Mouse.hide();


This will hide regular cursor from the user's view.




Congratulations! Press "Ctrl+Enter" to test your movie. Thanks for reading!



Download Source File

| 1 |

Rate This Tutorial :
We hope the information helped you. If you have any questions or comments, please don't hesitate to post them on the Forums section
Submit your Tutorial at Click Here
  

Home | About Us | Contact Us | Feedback | Advertise with us

Best viewed in 800x600 resolution with Internet Explorer.

Site Developed and Hosted by  ethicsolutions.com
All rights reserved with FlashAdvisor

Flash is a registered trademark of Adobe Systems, Inc.

23 users online