Actionscript 3 Mouse Tracking Tutorial

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

No related posts.

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

, , , , , , , ,

2 Responses to Actionscript 3 Mouse Tracking Tutorial

  1. CB December 17, 2008 at 5:24 am #

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

Trackbacks/Pingbacks

  1. 10 Flash and Actionscript Tutorials for the Beginner | The Tutorial Blog - February 9, 2010

    [...] Actionscript 3 Mouse Tracking Tutorial [...]

Leave a Reply