# Zoom effect with tween

**URL:** <https://forum.kirupa.com/t/zoom-effect-with-tween/296752>\
**Category:** flash\
**Created:** [September 19, 2009, 3:33pm UTC](https://forum.kirupa.com/t/zoom-effect-with-tween/296752 "2009-09-19T15:33:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carevic](https://avatars.discourse-cdn.com/v4/letter/c/3da27b/32.png) [@carevic](https://forum.kirupa.com/u/carevic)\
**Post date:** [September 19, 2009, 3:33pm UTC](https://forum.kirupa.com/t/zoom-effect-with-tween/296752/1 "2009-09-19T15:33:41Z")

</div>

Hello,

I am using Tween class to achieve zoom effect, when image zooms from scale 0 to scale 100. Also I’ve added two more tweens for \_x and \_y positions so effect looks like image zooms from its center.

So basically I have four tweens:

```auto
...Tween(mc, "_xscale"...
...Tween(mc, "_yscale"...
...Tween(mc, "_x"...
...Tween(mc, "_y"...

```

Problem is that quality of image during transition is very poor. Is there any options  
like smoothing image in as?  
Just to mention that all images are loaded dynamically using xml files.  
Is there any other and better method for achieving this effect?

Thanks in advance!
