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.
he has a bunch
there is something called the reply button
but is not interactive with objects
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
[..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
(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
[..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
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?
[..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?
@snakebebop nice one
[..YouTube..] @snakebebop nice one
but your most likely last in grammar
[..YouTube..] but your most likely last in grammar
[..YouTube..] @Rayzsion but your most likely last in grammar
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.”
thanks for everything.
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!
[..YouTube..] thanks for everything.
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!
[..YouTube..] thanks for everything.
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!
I hope you get some type of monetary compensation for all of this..you deserve it man. Many thanks!
[..YouTube..] I hope you get some type of monetary compensation for all of this..you deserve it man. Many thanks!
Thanks man, Grate job,l look forward to see more tut.
[..YouTube..] Thanks man, Grate job,l look forward to see more tut.
make a tutorial of drawing hands
[..YouTube..] make a tutorial of drawing hands
[..YouTube..] Thanks for the tutorial. Up until now, I’ve ignored ActionScript.
Nice, ActionScript is interesting.
[..YouTube..] Nice, ActionScript is interesting.
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
[..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
Help it doesnt work
Does not