vincetopia
March 6th, 2004, 11:35 PM
hey guys. could someone help me out with how to make a movie clip expand in width and height and then stop when it reaches a certain size?
thanks.
blah-de-blah
March 6th, 2004, 11:57 PM
you can try something like this:
speed = 10
this.onEnterFrame = function() {
mc._width += speed
if (mc._width > 300) {
delete this.onEnterFrame
}
}
that only changes the width but i'm sure you can figure out how to adjust the height as well
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.