Frame 1
var graphic;
field_mc.onEnterFrame = function () {
field_mc.startDrag(170);
};
MovieClip.prototype.placeInSpace = function (id) {
var _local3 = this.focaldistance / Math.sqrt(this[id].z * this[id].z);
this[id]._x = this[id].x * _local3;
this[id]._y = this[id].y * _local3;
this[id]._xscale = (this[id]._yscale = 1000 / this[id].z);
};
MovieClip.prototype.randomPlace = function (id) {
var _local3 = this.rmin + ((this.rmax - this.rmin) * Math.random());
var _local2 = (Math.PI*2) * Math.random();
this[id].x = _local3 * Math.cos(_local2);
this[id].y = _local3 * Math.sin(_local2);
this[id].z = this.zmin + ((this.zmax - this.zmin) * Math.random());
};
Instance of Symbol 11 MovieClip "field_mc" in Frame 1
onClipEvent (load) {
this.count = 50;
this.speed = 5;
this.focaldistance = 25;
this.rmin = 50;
this.rmax = 1000;
this.zmin = 10;
this.zmax = 300;
var i = 0;
while (i < this.count) {
this.attachMovie("dot", i, i);
i++;
}
}
onClipEvent (enterFrame) {
var i = 0;
while (i < this.count) {
if (((this[i].z = this[i].z - this.speed)) <= 0) {
this.randomPlace(i);
}
this.placeInSpace(i);
i++;
}
}
Symbol 4 MovieClip [dot] Frame 1
stop();