# Movie clip in the center of the flash animation

**URL:** <https://forum.kirupa.com/t/movie-clip-in-the-center-of-the-flash-animation/185390>\
**Category:** flash\
**Created:** [April 12, 2006, 11:16pm UTC](https://forum.kirupa.com/t/movie-clip-in-the-center-of-the-flash-animation/185390 "2006-04-12T23:16:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![leraptor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/leraptor/32/2353_2.png) [@leraptor](https://forum.kirupa.com/u/leraptor)\
**Post date:** [April 12, 2006, 11:16pm UTC](https://forum.kirupa.com/t/movie-clip-in-the-center-of-the-flash-animation/185390/1 "2006-04-12T23:16:42Z")

</div>

I have the following problem : I’m resizing a movie clip using the xscale and yscale attributes. The problem is that the MC is resized, but it’s no more in the center of the flash animation screen. I know that I need to change the x and y attributes to reflect that. But I have no clue about what I need to write !  
Please help me, thanks.

---

<div class="post-metadata">

**Author:** ![matthewjumps](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@matthewjumps](https://forum.kirupa.com/u/matthewjumps)\
**Post date:** [April 13, 2006, 1:02am UTC](https://forum.kirupa.com/t/movie-clip-in-the-center-of-the-flash-animation/185390/2 "2006-04-13T01:02:09Z")

</div>

i had the same problem - i am using a code to fix it when im scaling up, but i havent perfected it for scaling down…

> **[Reversing this zooming correction code](https://www.kirupa.com/forum/showthread.php?t=215286)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!
