flash tutorials
  Home Computer Graphics Tutorials Tutorials Web Design tutorials Forums Computer Graphics Community Interview Interview Articles Articles Making Making About About US Contact us
 
*Home / Tutorials / Adobe Flash / Customized Cursor
     
Maya tutorials   Autodesk Maya
Photoshop tutorials   Adobe Photoshop
Illustrator tutorials   Adobe Illustrator
flash tutorials   Adobe Flash
3Ds max tutorials   Autodesk 3D's Max
Premiere tutorials   Adobe Premiere
Dreamweaver tutorials   Adobe Dreamweaver
*
 

Customized Cursor


Author: Arjun
Level : Beginner
Environment : Adobe Flash MX
* * * * *
 
 
This flash tutorial teaches you how to create customized flash cursor in adobe flash.

Steps for creating your own customized Flash cursor

1) Choose import which is located in the file menu and import an image. From the library put the image into a layer in the scene. Now select the image and go to the modify menu and click on convert to symbol. A pop up box will appear as shown below:



2) Give a name and select movie clip under that. After that, press ok.

3) Select the movie clip and press F9 or go to window menu > Development Panel and select Actions as shown below.



5 )Now you have got your actionscript window. Feed a small script into the window as shown below.

onClipEvent(load) {
Mouse.hide();
}
onClipEvent(enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
}



5)Make sure that the things marked in red in the above image have come, they show that the actionscript is loaded to that image.

6) The things marked in green are events like when it should happen, and the things in blue determine what will happen. Mouse.hide(); makes the actual mouse hide from the scene. this._x = _root._xmouse; and this._y = _root._ymouse; makes the y and x coordinates of the object always equal to that of the x and y of your mouse so that it always moves with your mouse

7)Now if you press CTRL + ENTER you will get the output given below.
Here's your own customized Flash cursor!


 
 
 
  Bookmark   Googlize this * Add to Yahoo * Add To_Delicious * Digg It * Scrutinize this * Spurl this * Furl * Socializer * Onlywire
     
  Discuss This   Add to Any * Add this * Blink It *
 
*

Home | Tutorials | Forums | Interviews | Articles | Making | About the Team | Terms and Conditions | Privacy Policy | Contact us
Copyright © 2006-2007 CGShelf.com. All Rights Reserved