Change _x _y scale over time

Does anyone know of a way to change the x and y scale of a MC over time so it looks animated with AS. I don’t want to build tweens so I was wondering if there was an AS way of doing it. I just want a MC to look like it is slowly shrinking when a button is pressed.

easily done

place this code on the movieclip in question

onClipEvent(load){
this.flag=false;
}
onClipEvent(enterFrame){
if (this.flag==true){
if(this._yscale>0){
this._xscale–;
this,_yscale–;
}
}
}

then just add into your “on press” code on the button, something like this

theNameOfMyMovieClip.flag=true;

where theNameOfMyMovieClip is the instance name of the movie clip including a logical path to that object.

ie if the movie clip is on the main timeline, you could use
_root.instanceName.flag=true;

or if it’s inside another movie clip you could use
_root.mcNumber1.mcNumber2.flag=true;

Thanks david:) I’ll give it a try when I get off work.