codice:... this.vely = this.vely * bouncefactor + (this.desty - this.posy) / speedfactor; id._y += Math.round(this.vely); // shadow properties shadow._width = (colorSquare._width + 20); shadow._x = (colorSquare._x - 10); shadow._height = (colorSquare._height + 20); shadow._y = (colorSquare._y - 10); id._x = 275 + (id._width / 2) id._y = 28 + (id._height / 2) }; colorSquare.onEnterFrame = function() { expand(this); };