# Recenter Movieclip Based On Mouse Click

**URL:** <https://forum.kirupa.com/t/recenter-movieclip-based-on-mouse-click/220814>\
**Category:** flash\
**Created:** [March 29, 2007, 2:11pm UTC](https://forum.kirupa.com/t/recenter-movieclip-based-on-mouse-click/220814 "2007-03-29T14:11:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MattyG](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/mattyg/32/868_2.png) [@MattyG](https://forum.kirupa.com/u/MattyG)\
**Post date:** [March 29, 2007, 2:11pm UTC](https://forum.kirupa.com/t/recenter-movieclip-based-on-mouse-click/220814/1 "2007-03-29T14:11:15Z")

</div>

Basically what I want to do is to make the center of the movie clip the place that is clicked and then move the movie clip accordingly.

I’ve got it somewhat working, except I need to figure out how to make the click spot the place that become the center point of the movie.

I attached the fla.

You’ll need to add your own image in the actionscript.

There is a control panel, click on the “magnifying glass” icon I created and then click anywhere on the image to see what I’m talking about.
