Best viewed in Firefox

Awesty Productions

Custom Cursors

November 13th, 2006 by awesty

In this tutorial you will learn how to make a custom cursor in flash using actionscript.

I am using Flash 8, but Flash MX 2004 will work as well. Any other versions won’t.

Thanks for taking the time to view the tutorial. If you have any questions just post them below. :D

You can find more tutorials here.

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • blinkbits
  • BlinkList
  • blogmarks
  • del.icio.us
  • digg
  • Furl
  • MyShare
  • NewsVine
  • Netscape
  • Reddit
  • Simpy
  • Slashdot
  • StumbleUpon
  • Technorati
  • YahooMyWeb

RSS feed | Trackback URI

43 Comments »

Comment by Thomas
2006-11-14 07:34:49

theres no tutorial?! o_O or am i being an idiot? the arrow doesnt work lol

 
Comment by Bob
2006-11-14 07:44:41

Yah the next buttons didn’t work for me, I ended up right-clicking and hitting ‘forward’.

 
Comment by awesty
2006-11-14 15:42:14

Well it is working fine for me. Try clicking with the middle of the cursor, instead of the point.

Comment by Ty Subscribed to comments via email
2008-09-08 07:45:01

The thing to make the cursor work correctly is to make the regiristration upper left so the things will click right

 
 
Comment by Bob
2006-11-14 21:37:52

Oh. That’s what was wrong. It’s just that the arrow is a little big.

 
Comment by Lawl
2006-11-21 06:55:46

No it is not big you guys are stupid it is that his arrow isnt center the tip you can click the buttons i did u just have to click from the center

 
Comment by timmy
2006-11-21 22:29:46

like a made a finger poniting a place how can i change the animation when i click it?

 
Comment by Mark
2006-11-23 15:41:39

Handy tutorial.

To the fellow who called everyone stupid, a little punctuation and grammar go a long way when you want to call OTHERS stupid.

 
Comment by awesty
2006-11-23 15:55:47

Make a button and change the down state. ;)

 
Comment by timmy
2006-11-23 22:01:27

thanks

 
Comment by Ally
2006-12-02 06:57:17

How come the instructions wont show up??

 
Comment by HMMM
2006-12-02 09:46:17

Make actionscript to hide the cursor.

 
Comment by awesty
2006-12-02 09:52:41

@Ally: Do you have the latest flash player?

@HMMM: It is already in the tutorial.

 
Comment by RedV
2006-12-02 11:24:53

about the whole cursor poin deal… its really pretty easy to fix
when you get it together double click on the cursor and you’ll see 4 really tiny arrows pointing to the center of the image (thats the cursor point)
so select the image and drag it until the point is where you want it
hope it helps!

 
Comment by awesty
2006-12-03 17:47:25

Yeah, lol. I knew that. I should have put it in the tutorial though. Thanks for sharing that with us. ;)

 
Comment by RedV
2006-12-04 12:48:02

no problem glad to help

 
Comment by RDB2006
2006-12-10 21:28:04

gd tut

 
Comment by woopwoopwoopwoop
2006-12-15 03:47:33

how do you animate the cursor?

 
Comment by awesty
2006-12-15 12:06:11

Just make the MC have an animation inside it.

 
Comment by KIM
2006-12-22 10:24:36

will this action script work?

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

 
Comment by awesty
2006-12-22 10:55:56

Well… yeah, thats why it is in the tutorial.

 
Comment by Jake
2006-12-28 13:32:23

hey guys, to make it click in the upper left hand corner, when making it a movie clip for the currsor, put the registration to the upper left corner

 
Comment by KIM
2007-01-09 19:13:10

i agree with Jake

 
Comment by Coder1001011
2007-01-18 06:52:50

Hey, the buttons don’t work! Is this a joke or something??? But thanks for the other tutorials… anyway

 
Comment by awesty
2007-01-18 10:56:42

It does work, you just have to click with the upper middle of the cursor, not the tip.

 
Comment by xtrackterx
2007-01-28 11:21:13

Works for me!

 
Comment by Kurt
2007-02-11 05:54:06

Well Awesty i know how to make it so you can click on the tip of the cursor.

Well you know when you use the black mouse icon then double click on it you know that thing that looks link + move the cursors point right at the tip of the + example : you put it right in the middle of the + i hope this helps your tutorial.

 
Comment by Kurt
2007-02-11 06:00:32

The black mouse icon is used for flash pro 8 well you know that tutorial you made for battling with that punch bag the cursor is like then guy if you go like inside of the movie clip their are more frames in stuff but the cursor is just one well a simple way to say it is

If you want to make a button with the hit and over and stuff like that it’s like going on to a button like that but a cursor. 1 thing it annoys me when you play a game with a cursor you made because as soon as you take of your cursor from your game it flashes or disappears if you know a way to stop that put it in the tutorial.

sorry if you knew what i meant

 
Comment by Kurt
2007-02-11 06:02:49

Hey i figured out it only disappears and flashes on the internet but if you go to your desk top it is fine , weird eh?

 
Comment by awesty
2007-02-11 12:18:05

@Kurt: Yea, thanks but I already knew that. And Im pretty sure a few people have already posted it here aswell.

There is a way around that, but if it was hidden completely how would anyone get out of the game?

 
Comment by Karan
2007-02-13 23:23:12

Simple and very helpful! Thanks awesty xD

 
Comment by Kurt
2007-02-14 23:16:45

0 lol didn’t see jakes comment lol.

 
Comment by sam
2007-04-08 13:32:40

hey, how do you make it so that you can click with the cursor…to make the movieclip do something…
for example my mc is an aimer, and inside it i have a gunshot noise. i want to make it so when the mouse clicks, it plays my movieclip, and you hear the noise…

as always a mad tute….

 
Comment by awesty
2007-04-08 18:26:00

@Sam:

on(release){
//Do Something
}

 
Comment by sam
2007-04-09 11:21:37

cool thanks man…..and by the way, you r like the best….how do u say “tutorialist” I’ve seen… and you answer questions right away…i saw this other dude that hasn’t looked at his comments for ages and ages…so keep the good stuff coming! :p

sam.

 
Comment by sam
2007-04-09 11:26:20

wait wait…..so for my movie clip…what would the full script be?

 
Comment by awesty
2007-04-09 12:03:20

Thanks. :)

Well there are two ways you could do it. The most simple way is to have the gunshot sound start on the second frame of the MC, and on the first have a stop(); action.
Then on the MC you could put:
on(release){
this.gotoAndPlay(2);
}
And then it would play the gunshot.

Make sure you have enough frames in the MC for the sound to finish though. Otherwise you might only here half the gunshot.

 
Comment by sam
2007-04-10 22:51:29

hmmm…..there was no errors…the mouse hid and the cursor worked fine but when i clicked there wasn’t any sound… so like the whole entire code on my movie clip…would it be

onClipEvent (enterFrame) {
Mouse.hide();
startDrag(this, true);
}
on (release) {
this.gotoAndPlay(2);
}

??

please tell me the whole code…:)

and also..when i put my sound in it comes up as 3 or 4 frames of just no sound…like just a straight line so my sound is a bit delayed…even though i edited it

sam….:P

 
Comment by some guy
2007-04-11 12:30:06

:D:P:)

 
Comment by awesty
2007-04-11 12:47:08

@Sam: I will try and do a tutorial on sound later today.

 
Comment by Grifo Subscribed to comments via email
2007-06-25 06:40:54

This may be too late for some of you, but to make the cursor respond how it should (I mean clicking with the up-left “corner” of it) you might try entering the cursor MC itself(with a double-click at the “stadium” or whatever you call the workplace) and selecting it entirely, and then moving it down and right until the “corner” is at the center(the white mark shows you the center). Test it. Another possibility is to select the upper-left registration point when you are in the middle of the tutorial, but if you already finished it, then I suggest the first way.

Hope it helps.

 
Comment by Kurt Subscribed to comments via email
2007-11-11 11:38:59

Lol I was going to try this tut again but I forgot I was on my linux half of my computer lol. Oh ya I got WINE forgot.

hey cool I just noticed when I say lol I tag my sentance with it

 
Comment by Kurt Subscribed to comments via email
2007-11-11 12:06:54

nvm i have cross over but there is not much of a differnce

 
Name (required)
E-mail (required - never shown publicly)
URI
Subscribe to comments via email
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.