portfolio[i].onRollOver = function():Void { this._width += 10; } portfolio[i].onRollOut = function():Void { this._width -= 10; }