spacer
Web Development Tutorials FLASH Tutorials
 Developer Newsletter

Tutorials
AJAX
ASP
CGI & Perl
CSS
Flash
HTML
Illustrator
Java
JavaScript
Linux
MySQL
PHP
Photoshop
Python
Wireless
XML
Miscellaneous


Scripts Directory
AJAX Scripts
ASP Scripts
ASP.NET Scripts
CGI & Perl Scripts
Flash Scripts
Java Scripts
JavaScript Scripts
PHP Scripts
Python Scripts
Remotely Hosted Scripts
Tools & Utilities Scripts
XML Scripts

Web Hosting Directory
ASP.NET
Budget
Dedicated Servers
Ecommerce
Linux
Resellers
Shared
Small Business
Windows

Developer Manuals
Learn HTML
Learn PHP
Learn CSS
Learn AJAX
Learn JavaScript
Learn Pear
Free White Papers

Developer Resources
Developer Tools
Developer Content
Survey Software
Dedicated Servers




Customized Cursor in Flash MX 2004

By Oleg Lazarenko
2005-04-13


Customized Flash Cursor

You want to create an advanced presentation or a shooter game? Need a cursor in the shape of a target or 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. If you experience some difficulties while reading this tutorial it is recommended to read all the previous tutorials on http://www.metamorphozis.com written by me as some aspects might be discussed earlier.

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!


Click here to download source fla file.

Tutorial Pages:
» Customized Flash Cursor


 | Bookmark Print |   Write For Us
Related Tutorials:
» Flash Race Car Tutorial
» Flash Momentum Tutorial
» Dropdown Menu in Flash MX 2004
» How to Change the Movie Visibility Using Action Script in Flash MX 2004
» Changing Colors for the Flash Movie in Flash MX 2004
» Using Symbols in Flash



About the NetVisits, Inc Network | Write For Us | Advertise
Copyright ©2007 NetVisits, Inc Network. All Rights Reserved. Privacy Policy.
Visit other NetVisits, Inc. sites: