# Mouse x position to control movie position?

**URL:** <https://forum.kirupa.com/t/mouse-x-position-to-control-movie-position/177377>\
**Category:** Uncategorized\
**Created:** [February 1, 2006, 1:46pm UTC](https://forum.kirupa.com/t/mouse-x-position-to-control-movie-position/177377 "2006-02-01T13:46:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chagzuki](https://avatars.discourse-cdn.com/v4/letter/c/258eb7/32.png) [@chagzuki](https://forum.kirupa.com/u/chagzuki)\
**Post date:** [February 1, 2006, 1:46pm UTC](https://forum.kirupa.com/t/mouse-x-position-to-control-movie-position/177377/1 "2006-02-01T13:46:20Z")

</div>

Hi, my understanding of actionscript is very basic and I’d like some help with writing a very simple script. Basically the x position of the mouse should control the play position of a movie. Do I need something like an event handler (I’m not sure exactly what these do, but I’ve seen similar scripts that seem to use them).
