# AS3: Scale tween stops in between

**URL:** <https://forum.kirupa.com/t/as3-scale-tween-stops-in-between/323493>\
**Category:** flash\
**Created:** [July 4, 2011, 8:25am UTC](https://forum.kirupa.com/t/as3-scale-tween-stops-in-between/323493 "2011-07-04T08:25:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohiniraj](https://avatars.discourse-cdn.com/v4/letter/m/67e7ee/32.png) [@mohiniraj](https://forum.kirupa.com/u/mohiniraj)\
**Post date:** [July 4, 2011, 8:25am UTC](https://forum.kirupa.com/t/as3-scale-tween-stops-in-between/323493/1 "2011-07-04T08:25:41Z")

</div>

Hello,  
I have created a movie clip loader in my main movie and once I click on the button in main movie it loads external swf files accordingly.  
I have also added script so that the external swf will be scaled from “0” to “1” on both the X and Y axis. it works sometimes.  
But sometimes it scales movie not upto 100% it scales it around 20 to 30 %.  
I am not getting why? My code is correct or what?

Please guide…

my code is;

```auto

btn1.addEventListener(MouseEvent.CLICK, loadExMovie);
function loadExMovie(e:MouseEvent):void
{
	myContentLoader.unloadAndStop();
	myContentLoader.load(new URLRequest("4.swf"));
	
	var myTween1 = new Tween(myContentLoader,"scaleX",Strong.easeOut,0,1,1,true);
	var myTween2 = new Tween(myContentLoader,"scaleY",Strong.easeOut,0,1,1,true);
}

```
