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

 Submit Here! Link to Us Newsletter Tell a Friend

      Add Tutorial |

 

Advertise here

Create Speaking Characters for your website and Flash movies. 15 Day Free Trial




PHP Scripts

 

 Home > Tutorials  > ActionScript

Creating Cursors in Flash

Author: Divinity | Email


Advertisement

In this tutorial we will learn how to create a simple cursor. This topic will also cover how to make a simple Animated Cursor.

To start off, Open your flash file, and create a Flash Document (ActionScript 2.0)


Set the FPS to 18, and the dimensions as 550px X 400px


Since this tutorial consists of using one movie-clip, one Frame and one Layer, start by pressing "Ctrl + F8" on your keyboard. This creates an Empty Symbol.

Replace the "Symbol 1" with "cursor".
Open the Properties Panel (Ctrl + F3) and change the instance name of this symbol to "cursor" (lower case).


Make sure the symbol is a Movie Clip.


Press OK in the symbols duocument.

Drag your symbol from the Library (Ctrl + L)



Click the layer you are working in, and click the first frame in that layer.

Open the Actions panel (F9) and type for that frame:


startDrag ("_root.cursor",true); //this is telling the mouse to drag the cursor.
Mouse.hide(); //this hides the mouse




Press Ctrl + Enter to test your cursor. it SHOULD be working. if now,download the source below. to Animate this cursor, double click the Movie clip.

change what you want in the first frame and press F6; then add something new to the new frame you just added. continue until the animation is to your satisfactory. Thanks for looking at this tutorial.
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.

9 users online