Aspetta, non è che ti sei dimenticato la definizione del metodo?
codice:onClipEvent (load) { Math.linearTween = function(t, b, c, d) { return c * t / d + b; }; this.inizio = 100; this.fine = 300; this.percorso = this.fine - this.inizio; this.durata = 30; this.tempo = 0; } onClipEvent (enterFrame) { this._x = Math.linearTween(this.tempo++, this.inizio, this.percorso, this.durata); }

Rispondi quotando