Ciao Daz...e ciao DiozOriginariamente inviato da DaZKooL
ok...ma per il movimento casuale sinistra/destra? :master:![]()
se ti puo' essere utile
parti da questo e aggiunci la parte di Diozcodice:onClipEvent (enterFrame) { this._x += (target_x-this._x)/2.5; this._y += (target_y-this._y)/2.5; this._xscale = this._yscale += (target_scala-this._xscale)/2.5; this._rotation+=(target_rot-this._rotation)/2.5; if (Math.round((target_x-this._x)/2.5) == 0) { calcola(); } } onClipEvent (load) { function calcola() { target_x = random(400)+10; target_y = random(100)+10; target_scala = random(200)+50; target_rot=random(180) } calcola(); }
SK

Rispondi quotando