
Page 1 of 1
Syed Saud
This user is yet to take control of their account and provide a biography. If you are the author of this article, please contact us via support AT actionscript DOT org.
View all articles by Syed SaudTutorial purpose: I’ll teach you how to create custom mouse pointer
Written by: Syed Saud
Email : URL : http://www.saudsite.tk
Difficulty Level: beginner
Requirements: Flash 5
Download FLA
Hello.Greetings
In this tutorial I’ll teach or try my best to teach you how to create a custom mouse pointer within movies .Let get to business now.
Run Flash and Click File>New.
Rename the first layer as Button
Now then on the first layer place or create a button (Use one from common library Window>Common Libraries>Buttons.

Now create or place any button you like (its not important.)
Press Ctrl+Enter to test your movie, I hope it’ll work fine .Now we’ll create a custom pointer.
Click on Insert>New Symbol (Or Simply press Ctrl+F8)

Name it as Cur and choose behavior as Movie Clip.
Create something which can be use as a pointer but make sure that pointer’s tip reside on the registration point( + symbol) of your movie.
If you like you can give any simple animation to the “cur”. But as I want to keep this tutorial simple please leave it unanimated. ?
Now click on Scene 1 to return on the main.
We’ll create a new layer and name it as “Drag”.Insert keyframe (F6)
Open the Library window if its now already open by clicking on the book icon or Window>Library or simplest of all hitting Ctrl+L
Drag n Drop the “cur “movie which you created for use as pointer on “Drag” layer.Now we have to give a pointer movie a instance name so we can easily apply action on it later.
Click on pointer movie and click on Show Instance button on the bottom right on your screen or just press Ctrl+I
Type a proper name, here we will call it “pointer”
Now its Action time ? Right click on Pointer and click on Actions Object Actions window should open.(Its mean you’re applying action on object not on Frame)
Click on Actions scroll down and click on startDrag.

On Target box type the name pointer and “,’1
Check the expression option,(its mean pointer is the thing we want flash to drag and 1 is value which mean “Yes” to Flash.)
onClipEvent (load) {
startDrag (pointer,1);
}
Close and press Ctrl+Enter to check your movie.
Hope it works but the ugly Windows default pointer is sticking with your gorgeous one so we’ll hide it so it wont appear inside you movie.
Right click “Pointer” again, click Actions
On left side Click on Objects(it’s the very last)and click on Mouse > Hide.
Now Actions code for Pointer should look like this.
onClipEvent (load) {
startDrag (pointer,1);
}
onClipEvent (load) {
Mouse.hide();
}
Ctrl+Enter to test your movie.
Tip: To make pointer run smoothly you can change the Frame rate of the movie
Its my 1st ever tutorial ,so there might be some mistakes in it ,Please send your suggestions and I’ll be more that happy to respond you.
Thanks for your time.
Syed Saud
Karachi,Pakistan
Email : URL : http://www.saudsite.tk
Spread The Word
Related Articles
12 Responses to "Creating custom mouse pointer" 
|
said this on 20 Jul 2007 1:32:55 PM CDT
Very poor english, hard t
|
|
said this on 24 Aug 2007 3:59:53 AM CDT
i don't think the com
|
|
said this on 08 Oct 2007 3:14:46 PM CDT
I am not English or anyth
|
|
said this on 15 Mar 2008 8:35:57 PM CDT
Great thnx for that it wa
But it Mouse.hide() startDrag (pointer And This is f onClipEv st } onClipEvent (l Mouse.hide&# } THI |
|
said this on 05 Oct 2008 5:58:16 PM CDT
if that code is in the po
I suggest using actionsc Ha |
|
said this on 04 Nov 2008 4:44:03 AM CDT
Substituting
onClipEven start with onClipEvent (load) { makes the script work |
|
said this on 11 Mar 2009 9:19:35 PM CDT
i did not use this, but t
|
|
said this on 09 Jun 2009 10:11:02 PM CDT
this was simple, straight
a great tut |
|
said this on 08 Dec 2009 8:43:15 AM CDT
Hi, I working with flash
|
|
said this on 21 Feb 2011 8:16:44 PM CDT
Thanks for your great art
http:/ |
|
said this on 18 Dec 2012 1:38:13 PM CDT
I want change my computer
how to how t and I wa it mean plz any body help m |


Author/Admin)