# Tween XScale to an area

**URL:** <https://forum.kirupa.com/t/tween-xscale-to-an-area/313590>\
**Category:** flash\
**Created:** [September 3, 2010, 2:51pm UTC](https://forum.kirupa.com/t/tween-xscale-to-an-area/313590 "2010-09-03T14:51:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rgarimella](https://avatars.discourse-cdn.com/v4/letter/r/b5e925/32.png) [@rgarimella](https://forum.kirupa.com/u/rgarimella)\
**Post date:** [September 3, 2010, 2:51pm UTC](https://forum.kirupa.com/t/tween-xscale-to-an-area/313590/1 "2010-09-03T14:51:56Z")

</div>

Hi Folks,

I wanted to apply a zoom/scale functionality to a Movie Clip

The size of the Movie Clip is 934 W x 340 H

I have 16 buttons placed on top of the Movie Clip in a 4 x 4 grid. Button size = 234 x 85

Based on which button was selected on the grid, i wanted to zoom to that area of the Movie Clip.

The original graphic in the MC is high res at 3000 W x 1100 H, so Scaling/Zooming should be OK.

Any Ideas on how I would achieve the zoom/tween/scale to the selected area of the MC.

I was looking for AS2 Code

Thanks

RG
