PDA

View Full Version : zoom


masha
07-07-2003, 05:24 PM
I am trying to create a "zoom in" effect.

When you click on a MC, it gets bigger, and the area of the MC you clicked on becomes centered on the stage. I dont need the "zoom" effect to be gradual, the MC can just get bigger in one step, if you know what I mean.

I'm getting lost! Anyone out there help me?

stealthelephant
07-07-2003, 05:35 PM
var size = 0;

instance.onRelease = function(){
size += 10;
this._xscale = size;
this._yscale = size;
}

that help?