mojoNYC
May 23rd, 2003, 03:18 PM
hi all-
i'm trying to keep my animations processor-friendly, so i'm trying to figure out ways to stop algorithmic animations once they've finished--can someone tell me if the else stop(); i've put in here does the trick, or will this keep evaluating on every enterFrame?
onClipEvent(enterFrame){
if (myAlpha <=100){
myAlpha=myAlpha +1;
this._alpha=myAlpha;
}else stop();
}
thx,
-mojo
i'm trying to keep my animations processor-friendly, so i'm trying to figure out ways to stop algorithmic animations once they've finished--can someone tell me if the else stop(); i've put in here does the trick, or will this keep evaluating on every enterFrame?
onClipEvent(enterFrame){
if (myAlpha <=100){
myAlpha=myAlpha +1;
this._alpha=myAlpha;
}else stop();
}
thx,
-mojo