pete_zahut
September 15th, 2003, 05:00 AM
hi,
i know how to use the _rotation on a mc, but how can i let it rotate slowly
onClipEvent(enterFrame) {
rnd = parseInt(Math.random() * 2);
if(rnd == 0) {
this._rotation -= Math.random() * 50;
}
else {
this._rotation += Math.random() * 50;
}
}
this way it only flips to another degree, but you can't see it go round... if you know what i mean ... plz help
i know how to use the _rotation on a mc, but how can i let it rotate slowly
onClipEvent(enterFrame) {
rnd = parseInt(Math.random() * 2);
if(rnd == 0) {
this._rotation -= Math.random() * 50;
}
else {
this._rotation += Math.random() * 50;
}
}
this way it only flips to another degree, but you can't see it go round... if you know what i mean ... plz help