# Flash and Javascript {eyes moving on a character}

**URL:** <https://forum.kirupa.com/t/flash-and-javascript-eyes-moving-on-a-character/242737>\
**Category:** flash\
**Created:** [October 29, 2007, 10:28pm UTC](https://forum.kirupa.com/t/flash-and-javascript-eyes-moving-on-a-character/242737 "2007-10-29T22:28:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevorsaint](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/trevorsaint/32/268_2.png) [@trevorsaint](https://forum.kirupa.com/u/trevorsaint)\
**Post date:** [October 29, 2007, 10:28pm UTC](https://forum.kirupa.com/t/flash-and-javascript-eyes-moving-on-a-character/242737/1 "2007-10-29T22:28:16Z")

</div>

If I had a character on a page, perhaps in the header element of my website. I really like the idea of his eyes moving based on the position of the mouse pointer. But I dont want the whole page to be flash, just the character.

Is there anyway I can move eyes on my flash character based on the position of the mouse cursor on the screen perhaps using a combination of javascript and flash.

Can anyone give some links to this if it is indeed possible?

Many thanks

Trevor
