Custom Cursor Using Flash’s ActionScript 3.0

In this Flash lesson, I show you how to move a symbol around with your mouse using ActionScript 3.0. This tutorial is intended for beginners as I try to explain the ActionScript functions as well as go through the process at a slower speed.

Advertisement

32 Comments

  1. awesomesep says:

    he has a bunch

  2. awesomesep says:

    there is something called the reply button

  3. Jairo Lopez says:

    but is not interactive with objects

  4. zorro30mum says:

    var myCursor = new ball();// as linkage to be done in the libraryMouse.hide();stage.addEventListener(MouseEvent.MOUSE_MOVE,follow);function follow(evt:MouseEvent){ addChild(myCursor); myCursor.x = mouseX; myCursor.y = mouseY;}stage.addEventListener(Event.MOUSE_LEAVE,vanish);function vanish(event:Event){ removeChild(myCursor);}// is the complete and the best way to do this

  5. zorro30mum says:

    [..YouTube..] var myCursor = new ball();// as linkage to be done in the libraryMouse.hide();stage.addEventListener(MouseEvent.MOUSE_MOVE,follow);function follow(evt:MouseEvent){ addChild(myCursor); myCursor.x = mouseX; myCursor.y = mouseY;}stage.addEventListener(Event.MOUSE_LEAVE,vanish);function vanish(event:Event){ removeChild(myCursor);}// is the complete and the best way to do this

  6. TheMagemania48 says:

    (i had to get rid of the add child scripting and add the length of the cursor frame to the end of the animation) All sorted. Thanks again! haha

  7. [..YouTube..] (i had to get rid of the add child scripting and add the length of the cursor frame to the end of the animation) All sorted. Thanks again! haha

  8. TheMagemania48 says:

    I loved this, was amazing help, but not sure if its just my flash, but after i click on a button, it leaves an instance of the custom cursor imprinted where i clicked. :( any idea why?

  9. [..YouTube..] I loved this, was amazing help, but not sure if its just my flash, but after i click on a button, it leaves an instance of the custom cursor imprinted where i clicked. :( any idea why?

  10. TheMostGuyThatDumb says:

    @snakebebop nice one

  11. [..YouTube..] @snakebebop nice one

  12. snakebebop says:

    but your most likely last in grammar

  13. snakebebop says:

    [..YouTube..] but your most likely last in grammar

  14. snakebebop says:

    [..YouTube..] @Rayzsion but your most likely last in grammar

  15. Anne says:

    I have followed your tutorial word by word but there are a few things that seem to be different for me. For one, the “import flash.events.Event;” didn’t come up automatically. So I hand wrote it in. Also, flash doesn’t automatically close the parenthesis…is that because I’m using a different version of flash or something? It also says I have two complier errors to do with the function.
    “1084: Syntax error: expecting rightparen before semicolon.” and “1084: Syntax error: expecting identifier before rightparen.”

  16. Julian Hofman says:

    thanks for everything. :D This I can use in my project for school. Just like the rest you thought me. xD Im the best in flash of class. and thats because of you!

  17. [..YouTube..] thanks for everything. :D This I can use in my project for school. Just like the rest you thought me. xD Im the best in flash of class. and thats because of you!

  18. Rayzsion says:

    [..YouTube..] thanks for everything. :D This I can use in my project for school. Just like the rest you thought me. xD Im the best in flash of class. and thats because of you!

  19. CorruptedxMinds says:

    I hope you get some type of monetary compensation for all of this..you deserve it man. Many thanks!

  20. [..YouTube..] I hope you get some type of monetary compensation for all of this..you deserve it man. Many thanks!

  21. karwan320 says:

    Thanks man, Grate job,l look forward to see more tut.

  22. karwan320 says:

    [..YouTube..] Thanks man, Grate job,l look forward to see more tut.

  23. alexander14994ever says:

    make a tutorial of drawing hands

  24. [..YouTube..] make a tutorial of drawing hands

  25. 7deri says:

    [..YouTube..] Thanks for the tutorial. Up until now, I’ve ignored ActionScript.

  26. XyloLiontari says:

    Nice, ActionScript is interesting.

  27. XyloLiontari says:

    [..YouTube..] Nice, ActionScript is interesting.

  28. VvConorvV says:

    Please make more videos on making cartoons in flash! Because I want t o start making cartoons but I’m not really good enough yet but with your tutorials I could be :D

  29. VvConorvV says:

    [..YouTube..] Please make more videos on making cartoons in flash! Because I want t o start making cartoons but I’m not really good enough yet but with your tutorials I could be :D

Leave a Comment

 

— required *

— required *