Frame 1
function pT() {
tt = new Date();
h1 = tt.getHours();
h2 = h1 % 10;
h1 = Math.floor(h1 / 10);
m1 = tt.getMinutes();
m2 = m1 % 10;
m1 = Math.floor(m1 / 10);
s1 = tt.getSeconds();
s2 = s1 % 10;
s1 = Math.floor(s1 / 10);
dS(h1, h2, m1, m2, s1, s2);
dR3();
Ry = (Ry + Sy) % 360;
Rx = (Rx + Sx) % 360;
}
function dS(pr0, pr1, pr2, pr3, pr4, pr5) {
go = 0;
j = 4;
i = 0;
while (i < 6) {
if (Cd[i] != eval ("pr" + i)) {
go = 1;
}
if (go) {
Cd[i] = eval ("pr" + i);
xx = i * 6;
if (1 < i) {
xx = xx + 2;
}
if (3 < i) {
xx = xx + 2;
}
k = 0;
while (k < dgts[Cd[i]].length) {
dx[j] = xx + ((dgts[Cd[i]][k] - 1) % 5);
dy[j] = Math.ceil(dgts[Cd[i]][k] / 5) - 4;
j++;
k++;
}
} else {
j = j + dgts[Cd[i]].length;
}
i++;
}
nnv = j;
}
function dR3() {
i = 0;
while (i < 118) {
if (i < nnv) {
a = (((dx[i] * Pa) + Ry) / 180) * Math.PI;
x = Math.cos(a) * Pr;
ez[i] = Math.sin(a) * Pr;
y = dy[i] * Py;
a = (Rx / 180) * Math.PI;
s = Math.sin(a);
c = Math.cos(a);
ex[i] = (c * x) - (s * y);
ey[i] = (s * x) + (c * y);
}
i++;
}
i = 0;
while (i < 118) {
d = "d" + (i + 1);
if (i < nnv) {
if (i >= nv) {
setProperty(d, _visible , true);
}
setProperty(d, _x , ((ex[i] / (ez[i] + Dz)) * Dz) + Cx);
setProperty(d, _y , ((ey[i] / (ez[i] + Dz)) * Dz) + Cy);
setProperty(d, _width , (Bs / (ez[i] + Dz)) * Dz);
setProperty(d, _height , (Bs / (ez[i] + Dz)) * Dz);
setProperty(d, _alpha , (((ez[i] / (-Pr)) + 1) * 60) + 40);
} else {
setProperty(d, _visible , false);
}
i++;
}
nv = nnv;
}
i = 1;
while (i < 119) {
d = "d" + i;
duplicateMovieClip ("c1", d, i);
setProperty(d, _x , i);
setProperty(d, _y , i * 3);
i++;
}
setProperty("c1", _visible , false);
dgts = new Array(10);
dgts[0] = new Array(2, 3, 4, 6, 10, 11, 14, 15, 16, 18, 20, 21, 22, 25, 26, 30, 32, 33, 34);
dgts[1] = new Array(3, 7, 8, 13, 18, 23, 28, 32, 33, 34);
dgts[2] = new Array(2, 3, 4, 6, 10, 15, 19, 23, 27, 31, 32, 33, 34, 35);
dgts[3] = new Array(1, 2, 3, 4, 5, 9, 13, 19, 25, 26, 30, 32, 33, 34);
dgts[4] = new Array(4, 8, 9, 12, 14, 16, 19, 21, 22, 23, 24, 25, 29, 34);
dgts[5] = new Array(1, 2, 3, 4, 5, 6, 11, 12, 13, 14, 20, 25, 26, 30, 32, 33, 34);
dgts[6] = new Array(3, 4, 7, 11, 16, 17, 18, 19, 21, 25, 26, 30, 32, 33, 34);
dgts[7] = new Array(1, 2, 3, 4, 5, 10, 14, 18, 22, 27, 32);
dgts[8] = new Array(2, 3, 4, 6, 10, 11, 15, 17, 18, 19, 21, 25, 26, 30, 32, 33, 34);
dgts[9] = new Array(2, 3, 4, 6, 10, 11, 15, 17, 18, 19, 20, 25, 29, 32, 33);
Cd = new Array(6);
dx = new Array(118);
dy = new Array(118);
dx[0] = 12;
dy[0] = -1;
dx[1] = 12;
dy[1] = 1;
dx[2] = 26;
dy[2] = -1;
dx[3] = 26;
dy[3] = 1;
nv = 118;
nnv = 4;
Pr = 130;
Pa = 4;
Py = 9;
Bs = 7;
Sy = -4;
Ry = 0;
Rx = 0;
Sx = 1.32;
ex = new Array(118);
ey = new Array(118);
ez = new Array(118);
k = 0;
Dz = 500;
Cx = _root._width / 2;
Cy = _root._height / 2;
pT();
Frame 2
pT();
Frame 3
gotoAndPlay (2);