Frame 1
fscommand ("allowscale", "false");
fscommand ("fullscreen", "true");
stop();
fscommand ("fullscreen", "true");
fscommand ("showmenu", "false");
loadBar._xscale = 0.1;
totalBytes = this.getBytesTotal();
Instance of Symbol 10 MovieClip "Engine" in Frame 1
onClipEvent (load) {
perspective = 250;
VerticeNum = 8;
}
Symbol 7 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 3
stop();
Symbol 10 MovieClip Frame 1
function drawPoints() {
c = 0;
while (c < verticeNum) {
Xpos = (this.rho[c] * Math.cos((this.theta[c] * Math.PI) / 180)) * Math.sin(((this.phi[c] + dphi) * Math.PI) / 180);
Zpos = (this.rho[c] * Math.sin((this.theta[c] * Math.PI) / 180)) * Math.sin(((this.phi[c] + dphi) * Math.PI) / 180);
Ypos = this.rho[c] * Math.cos(((this.phi[c] + dphi) * Math.PI) / 180);
Depth = 1 / (1 - (Zpos / perspective));
this.theta[c] = this.theta[c] - (_xmouse / 100);
this["Point" + c]._x = (tmpx = (Xpos * Depth) + centerPoint._x);
this["Point" + c]._y = (tmpy = (Ypos * Depth) + centerPoint._y);
this["Point" + c]._xscale = (this["Point" + c]._yscale = Depth * 100);
this["Point" + c].frame._rotation = this.phi[c] * Math.cos(((this.theta[c] + 180) * Math.PI) / 180);
this["Point" + c].frame._xscale = 100 * Math.cos(((this.theta[c] + 90) * Math.PI) / 180);
this["Point" + c]._yscale = this["Point" + c]._yscale * Math.cos((this.phi[c] * Math.PI) / 180);
this["Point" + c].swapDepths(Depth * 500);
c++;
}
}
perspective = 400;
dphi = 90;
theta = new Array();
phi = new Array();
rho = new Array();
c = 0;
while (c < 20) {
theta[c] = (1 - Math.random()) * 360;
phi[c] = (0.5 - Math.random()) * 120;
rho[c] = 200;
c++;
}
verticeNum = theta.length;
c = 0;
while (c < verticeNum) {
duplicateMovieClip ("Point", "Point" + c, c);
eval ("Point" + c).number = c;
eval ("Point" + c).age = 0;
c++;
}
Point._visible = 0;
Symbol 10 MovieClip Frame 2
drawPoints();
Symbol 10 MovieClip Frame 3
prevFrame();
play();