codice:MovieClip.prototype.slowSetProperty = function(prop, newVal, b) { this[prop + "_bb"] = (b == undefined) ? 5 : b; this[prop + "_newVal"] = newVal; clearInterval(this[prop + "_interval"]) this[prop + "_interval"] = setInterval(this, "slowChangeProperty", 20, prop); }; MovieClip.prototype.slowChangeProperty = function(prop) { this[prop] += (this[prop + "_newVal"] - this[prop]) / this[prop + "_bb"]; if (Math.abs(this[prop] - this[prop + "_newVal"]) < .01) { this[prop] = this[prop + "_newVal"]; clearInterval(this[prop + "_interval"]); } }; mioClip.slowSetProperty("_x", 100); mioClip.slowSetProperty("_xScale", 200);