This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > April 2006 > Move and Resize function





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Move and Resize function
jnewc

2006-04-27, 10:39 pm

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.

here is what I have used before to move a mc.

stop();
mSpeed = 15;
MovieClip.prototype.mEaseMove = function() {
this.onEnterFrame = function() {
this._y += (dY-this._y)/mSpeed;
this._x += (dX-this._x)/mSpeed;
};
};
_root.bc1.onRelease = function() {
_root.mcImg.mEaseMove();
dY = 243;
dX = -465.8;
};


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews