I Have one lage (space) movie clip whith differant size
pictures in defferant spots. How do I move and resize the mc so
that it appears that I am zooming it on those differant images with
I press a button.
> I Have one lage (space) movie clip whith differant size
> pictures in defferant spots. How do I move and resize
> the mc so that it appears that I am zooming it on those
> differant images with I press a button.
You adjust the MovieClip._xscale and MovieClip._yscale
properties of the
movie clip in question. This will increase/decrease the size
of the ship,
making it look closer and farther away.
To do this at the press of a button, you'll have to use the
Button.onRelease event of a button instance (or the
event of a movie clip instance) -- or some other event, like
program the function assigned to this event to manipulate the
The sample code you showed uses prototype, which isn't
here. Ther'es nothing wrong with doing what you did, but it
means that all
movie clips will feature an mEaseMove() method -- and
presumably, you only
want your spaceship movie clip to have this method.