# Resize MC with easing from center

**URL:** <https://forum.kirupa.com/t/resize-mc-with-easing-from-center/251379>\
**Category:** flash\
**Created:** [February 7, 2008, 9:50pm UTC](https://forum.kirupa.com/t/resize-mc-with-easing-from-center/251379 "2008-02-07T21:50:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adw999](https://avatars.discourse-cdn.com/v4/letter/a/a9adbd/32.png) [@adw999](https://forum.kirupa.com/u/adw999)\
**Post date:** [February 7, 2008, 9:50pm UTC](https://forum.kirupa.com/t/resize-mc-with-easing-from-center/251379/1 "2008-02-07T21:50:30Z")

</div>

Hi

I have been creating an XML gallery now got to showing the big images part. I want to create a resizing background (like at [http://www.bearfootfilms.com/](http://www.bearfootfilms.com/)). I can create the effect but it always resizes from the top left not center.

Any one got any ideas?

I’m using the code:

var VTween = new Tween(picbg, “\_width”, Strong.easeInOut, 100, currentImage.largepicholder.\_width+20, 1, true);  
var HTween = new Tween(picbg, “\_height”, Strong.easeInOut, 100, currentImage.largepicholder.\_height+20, 1, true);
