Latest tutorial: Premium Flash Files | Ask Tutorial5! | Subscribe to RSS Register Login Find Hobbies
Advertisement

Get tutorials on EMail




Do you need more help? You can now Ask Tutorial5! and get free support - Ask a question now!

Personalize the mouse cursor in your Adobe Flash movies

(37 votes)
Written by AnaS   

1. Create a new Flash document, 400x400 size. Name the first layer content.
2. Create a new MovieClip that holds the mouse cursor you want user see on your website.Name it MouseCursorMC. Make an instance of it in the first frame of the content layer and name it mouseCursor_mc.
3. Create a new layer and give it the name actions.
4. In the first frame of the actions layer put this code in:


Mouse.hide();// to hide the actual mouse cursor
startDrag("mouseCursor_mc",true);// start drag the cursor_mc MovieClip across the Flash movie

5. Press CTRL+Enter and test the movie. Nice job! See the result below:

You need to Register in order to download the FLA file.



Subscribe now via RSS feed and get all the new tutorials

written by Arul Prasad , August 19, 2007

Add another line of code:

onMouseMove = function () { updateAfterEvent()};

And you'll see the same cursor move real smooth!
written by Foxology , August 20, 2007

Very Good :)
written by shankar A , August 30, 2007

sir,
how do I incorporate all different effects, files, goodies, cookies etc in a single flash website that i am going to build?
what will be the step-by-step procedure for that?


please let me know

thank you for your help
written by zeit , December 02, 2007

i did what you said and this still doesn't work the image shows up and the mouse disappears but it doesn't move
written by Asir Mohamed , December 07, 2007

Please I neeed that full coding
written by gg , December 17, 2007

This doesnt work for me at all... got the same problem as zeit!
written by mitch , January 30, 2008

nice tutorial.. but I'd like to put my work on my friendster account.. how can I do that?
written by that guy , January 30, 2008

i want too know how to put it on a website too
written by The Guy Next door , March 05, 2008

cant work with me get errors you can put it on your website ether dreamwaver or code (

i think that is it
written by The Guy Next door , March 05, 2008


with out the .

Do you need more help? Ask now!
 

busy
Last Updated ( Saturday, 22 March 2008 )