# Tween into position when a movie clip is automaticcally centered to stage

**URL:** https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077
**Category:** flash
**Created:** [March 14, 2009, 5:53pm UTC](https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077 "2009-03-14T17:53:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jeros10](https://avatars.discourse-cdn.com/v4/letter/j/dec6dc/32.png) [@jeros10](https://forum.kirupa.com/u/jeros10)
#### Post date: [March 14, 2009, 5:53pm UTC](https://forum.kirupa.com/t/tween-into-position-when-a-movie-clip-is-automaticcally-centered-to-stage/284077/1 "2009-03-14T17:53:48Z")

</div>

I hav movieclips in a flash document that i have autocenter when the stage is scaled code is something like this:

clients\_mc.y = Math.round((stage.stageHeight/2)-15);

stage.addEventListener(Event.RESIZE, resizeClients);

function resizeClients(event = null){  
clients\_mc.y = Math.round((stage.stageHeight/2)-15);  
};

any way to make it esae in to position or bounce, something?
