mi potresti spiegare come fai ad arrivare a questa soluzione?

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);
}