# Get mouse position and play movie

**URL:** <https://forum.kirupa.com/t/get-mouse-position-and-play-movie/245114>\
**Category:** flash\
**Created:** [November 26, 2007, 3:57pm UTC](https://forum.kirupa.com/t/get-mouse-position-and-play-movie/245114 "2007-11-26T15:57:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![webbed\_feet](https://avatars.discourse-cdn.com/v4/letter/w/bbe5ce/32.png) [@webbed\_feet](https://forum.kirupa.com/u/webbed_feet)\
**Post date:** [November 26, 2007, 3:57pm UTC](https://forum.kirupa.com/t/get-mouse-position-and-play-movie/245114/1 "2007-11-26T15:57:49Z")

</div>

Hey, I have a hit area which when rolled over will trap the cursor (like a mouse trap), I need to know how to play a movie clip of the trapped cursor in relation to where it was rolled over. I know how to get the x + y position of the mouse but how can I make the movie clip play to these co-ordinates.

I have attached the fla to give you a better idea of whats happening. currently the movie clip just plays in the corner but i would like it to be relative to the roll over. Anyone have any ideas?
