-
hi
in my movie i have a bunch of MCs with an
onClipEvent (enterFrame) {}
type of code on them, which is constantly cycling when the movie is playing but is essential to my movie's presentation. Due to this, the movie takes up a massive amount of the computer's processing power and the everything becomes very sluggish. does anyone know how i can control the enterFrame cycling better so that it doesn't take up so much of the processor's power? thanks for your help!
-
why do you have to use it so much?... can you show one example of where your using onEnterFrame...
-
ok here is an example:
onClipEvent (enterFrame) {
if (this.rspin == 1) {
this._rotation += 5;
}
if (this.lspin == 1) {
this._rotation -= 5;
}
}
the code has to be cycling like this bc the user could enable rotation action at any time. any ideas?? thanks!
-
how do they enable rotation? pressing a button? rollover/out?
-
ya pressing a button..thanks for your help!