No related posts.
Related posts brought to you by Yet Another Related Posts Plugin.
var lineX:linex = new linex(); var lineY:liney = new liney();
addChild(lineX); addChild(lineY);
stage.addEventListener(MouseEvent.MOUSE_MOVE, track);
function track(e:Event):void{ lineX.y = mouseY; lineY.x = mouseX; }
[...] Actionscript 3 Mouse Tracking Tutorial [...]
Name (required)
Mail (will not be published) (required)
Website
Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page. Click here for instructions on how to enable JavaScript in your browser.
var lineX:linex = new linex();
var lineY:liney = new liney();
addChild(lineX);
addChild(lineY);
stage.addEventListener(MouseEvent.MOUSE_MOVE, track);
function track(e:Event):void{
lineX.y = mouseY;
lineY.x = mouseX;
}
[...] Actionscript 3 Mouse Tracking Tutorial [...]