Fish eyes


var v:Object = new Object({ball_mc: _root.createEmptyMovieClip("ball_mc", 1), balls: new Array(_root.ball_mc), cols: new Array(0xFF0066, 0x00CCFF, 0xFF9900, 0xFFFF00), G: 0.8, F: 0.965, E: 0.80, T: Math.round(Stage.width/4)});
for (var i:Number = 0; i<v.T; i++) {
    var mc:MovieClip = ball_mc.duplicateMovieClip("ball_mc"+i, _root.getNextHighestDepth());
    mc._x = Math.round(Math.random()*Stage.width);
    mc._y = Math.round(Math.random()*(-150-400))-150;
    mc.lineStyle(10, v.cols[Math.round(Math.random()*(v.cols.length-1))], Math.round(Math.random()*(100-25))+25);
    mc.moveTo(0, 0);
    mc.lineTo(0, 1);
    mc.sy = 0;
    mc._intID = setInterval(mc, "_fn", 12);
    mc._fn = _handle;
    v.balls.push(mc);
}
function _handle():Void {
    this.sy += v.G*v.F;
    this._y += this.sy;
    if (this._y>Stage.height-8) {
        this._y = Stage.height-8;
        this.sy = -this.sy*v.E;
    }
}
onMouseDown = function():Void {
    v.G = -0.2;
}
onMouseUp = function():Void {
    v.G = 0.8;
}

:p: