Actionscript 3 Mouse Tracking Tutorial Comments (2)
by Wez Pyke - March 30, 2008 in Flash/Actionscript

Bookmark and Share
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • email
  • FriendFeed
  • LinkedIn
  • Ping.fm
  • Tumblr
  • Twitter

Related posts:

  1. 10 Flash and Actionscript Tutorials for the Beginner Flash is a piece of software that is used by...

Related posts brought to you by Yet Another Related Posts Plugin.

Your Ad Here

2 Responses to “Actionscript 3 Mouse Tracking Tutorial”

  1. CB says:

    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;
    }

Leave a Reply