# Zooming with AS, how to stop?

**URL:** <https://forum.kirupa.com/t/zooming-with-as-how-to-stop/49964>\
**Category:** Uncategorized\
**Created:** [April 28, 2004, 9:07am UTC](https://forum.kirupa.com/t/zooming-with-as-how-to-stop/49964 "2004-04-28T09:07:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azazel](https://avatars.discourse-cdn.com/v4/letter/a/838e76/32.png) [@Azazel](https://forum.kirupa.com/u/Azazel)\
**Post date:** [April 28, 2004, 9:07am UTC](https://forum.kirupa.com/t/zooming-with-as-how-to-stop/49964/1 "2004-04-28T09:07:38Z")

</div>

K, I wanna use AS to zoom a text… but I don’t know what to add to make it stop @ for example 200%

```auto
onClipEvent (load){
	this._xscale = 100;
	this._x = 150;
	this._yscale = 100;
}
onClipEvent (load){
	this._alpha = -10;
}
onClipEvent (enterFrame){
	if (this._xscale<200);
	this._xscale += 1;
	if (this._yscale<200);
	this._yscale += 1;
}
onClipEvent (enterFrame){
	if (this._alpha<250);
	this._alpha += 1;
}

```

Anybody got any good idea ?

:disco:
