Categorized | Flash Tutorials, Tutorials

Create a Custom Cursor Using AS3

AS3 Custom Cursor

The simplicity of creating a custom cursor within Flash is a task that will surely be used time after time again.  Well, as for creating a custom cursor using AS3, the syntax used is identical as written in AS2.

Create a Custom Cursor

You can easily create a custom cursor just as would in AS2.  The syntax goes as so:

[sourcecode language='JavaScript']
//Hide mouse
Mouse.hide();
//Replace hidden mouse with cursor mc
customCursor.startDrag(true);
[/sourcecode]

Download the example .fla

Preview the example

I hope this helps in your migration over into  AS3.  If there is something in particular you want to add or see with the Moving From AS2 to AS3 series, feel free to contact me via the contact page.

Share this Post:

This post was written by:

Angel - who has written 275 posts on Flash Speaks Actionscript.


Contact the author

Related Posts:

This website uses IntenseDebate comments, but they are not currently loaded because either your browser doesn't support JavaScript, or they didn't load fast enough.

2 Responses to “Create a Custom Cursor Using AS3”

  1. MDiogo says:

    Congrats on your blog. I will be back more often, you have in here very useful information about Flash. Keep up the good work.

Trackbacks/Pingbacks


Leave a Reply