# Control MovieClip via Mouse Location

**URL:** <https://forum.kirupa.com/t/control-movieclip-via-mouse-location/182503>\
**Category:** flash\
**Created:** [March 18, 2006, 10:55pm UTC](https://forum.kirupa.com/t/control-movieclip-via-mouse-location/182503 "2006-03-18T22:55:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![drogue](https://avatars.discourse-cdn.com/v4/letter/d/dfb087/32.png) [@drogue](https://forum.kirupa.com/u/drogue)\
**Post date:** [March 18, 2006, 10:55pm UTC](https://forum.kirupa.com/t/control-movieclip-via-mouse-location/182503/1 "2006-03-18T22:55:51Z")

</div>

Hi all - I am new to the forum, and have been searching for a tutorial to assist me in bulding something like Nike’s skateboarder site - the animation of the riders section, check it out:  
[http://www.nike.com/nikeskateboarding/v2/main.html](http://www.nike.com/nikeskateboarding/v2/main.html)

Be sure to navigate to the RIDERS to view the animation - the mouse location changes the position of the rider.

How is this done? Is there a tutorial?

I created something using simple invisible buttons to control a MC,  
[http://www.brutalgiftland.com/gooshi.swf](http://www.brutalgiftland.com/gooshi.swf)  
but I know I need to write functions, vars, etc in actionscript to control a MC via mouse location!?  
Correct?

Not too advanced - so please help if you can!?

thanks a bunch, M:cyclops:  
 ![](http://www.brutalgiftland.com/bgbanner.swf)
