Homer’s Eyes Follow the Mouse

A simple animation using actionscript 3 to make Homer’s eyes follow the mouse.

Please Share!

It takes hours to produce some of these designs. Please share them.

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player

Comments

  1. Alex November 1, 2009

    Yeah! This is the best content I’ve seen yet for follow eyes. Can we next implement the middle roller on the mouse to move his jaw up and down so he can talk!


  2. Aleem January 6, 2010

    Hello it is bestb way to learn FLASH………..ok


  3. Mello April 14, 2010

    this would be awesome if the cursor was a doughnut – and homer was more exited the closer it got to him


  4. Bruce May 19, 2010

    Hello, it is best way to learn FLASH………..ok


  5. Joel December 15, 2010

    This is really nice! However I am having difficulty understanding the contents of the AS.

    Is there anybody who could please give me a detailed rundown on the individual commands?

    For example on one of the eyes:

    var coordy1 : Number = mouseY – eye1_mc.y;
    var coordx1 : Number = mouseX – eye1_mc.x;
    var angleRadians1 : Number = Math.atan2(coordy1,coordx1);
    var angleDegrees1 : Number = angleRadians1 * 180 / Math.PI;
    eye1_mc.rotation = angleDegrees1;

    I understand that eye1_mc is the name of the instance but the rest of the contents I have no idea how these parts would play out together.

    Someone please guide me along. Really interested in learning actionscript but there isnt anyone I know who could be my mentor.


Leave a Comment