voglio far fare 4 rotazioni alla mia clip, faccio:
onClipEvent (enterFrame) {
j = 360*4;
if (this._rotation <= j) {
this._rotation= this._rotation+10;
}
}
ma gira all'infinito,come devo fare invece?![]()
voglio far fare 4 rotazioni alla mia clip, faccio:
onClipEvent (enterFrame) {
j = 360*4;
if (this._rotation <= j) {
this._rotation= this._rotation+10;
}
}
ma gira all'infinito,come devo fare invece?![]()
onClipEvent (enterFrame) {
giri = 4;
speed = 10
if (gradi<360*giri) {
_rotation += speed;
gradi += speed;
}
}
va settato "gradi" in quanto la proprietà rotazione può avere valore compreso tra 0-360.
Spero sia chiaro...
![]()
---/\/\alignous---
bene![]()
---/\/\alignous---