Hey all, this is probably a dum question and easy to do but i’m having a brain fart lol, I am making a banner for someone and they want the banner to start small and spin and grow as it spins to eventually stop in place when it gets to the right size to fit the banner area. I can get it to spin and grow but I have yet to be able to get it to stop when it gets to a certain size.
onClipEvent (enterFrame) {
i = getProperty(this,_rotation);
setProperty(this,_rotation,i + 10);
}
onClipEvent (enterFrame) {
i = getProperty(this,_xscale);
setProperty(this,_xscale,i + 1);
}
onClipEvent(enterFrame) {
i = getProperty(this,_yscale);
setProperty(this,_yscale,i + 1);
}
I have that actionscript on the banner movieclip’s timeline to have it spin and grow. If someone could help me get it to stop at a certain size that would be great, thanks.