Frame 1
whole.removeMovieClip();
Frame 3
namer = "t" + random(10000);
this.attachMovie("whole", namer, 1);
stop();
Symbol 6 Button
on (press) {
_parent.go = false;
nextFrame();
}
Symbol 9 Button
on (press) {
_root.play();
}
Symbol 10 MovieClip Frame 1
stop();
Symbol 14 Button
on (press) {
getURL ("http://www.zefrank.com", "_blank");
}
Symbol 15 MovieClip [whole] Frame 1
center = 275;
center2 = 200;
rad = 100;
rad2 = 50;
incr = 0.1;
incr2 = 0.1;
test_rad = 30;
go = true;
weird_fac = 1;
this.createEmptyMovieClip("drawer", 1000);
this.onEnterFrame = function () {
count = count + incr;
count2 = count2 + incr2;
if (count > 6.28) {
count = 6.28 - count;
if (go == false) {
}
}
n = 1;
while (n <= num) {
test_depth++;
draw_temp = "d_stage" + n;
if (go == true) {
stage_temp = "s" + n;
this.createEmptyMovieClip(stage_temp, n + 1000);
this[stage_temp].lineStyle(1, 0, 50);
} else {
m = 1;
while (m <= num) {
stage_temp = "s" + m;
this[stage_temp].removeMovieClip();
m++;
}
stage_temp = "t" + n;
this.createEmptyMovieClip(stage_temp, 2000 + test_depth);
}
if (go) {
this[stage_temp].moveTo(this[draw_temp].center + (this[draw_temp].d_array[0][0] * Math.sin(count + this[draw_temp].d_array[0][1])), this[draw_temp].d_array[0][2]);
} else {
this[stage_temp].moveTo(this[draw_temp].center + (weird_fac * (this[draw_temp].d_array[0][0] * Math.sin(count + this[draw_temp].d_array[0][1]))), this[draw_temp].d_array[0][2] + (((this[draw_temp].d_array[i][2] - this.center2) / test_rad) * Math.sin(count2 + this[draw_temp].d_array[0][3])));
}
i = 1;
while (i < this[draw_temp].d_array.length) {
if (go == true) {
this[stage_temp].lineTo(this[draw_temp].center + (this[draw_temp].d_array[i][0] * Math.sin(count + this[draw_temp].d_array[i][1])), this[draw_temp].d_array[i][2]);
} else {
x = this[draw_temp].center + (weird_fac * (this[draw_temp].d_array[i][0] * Math.sin(count + this[draw_temp].d_array[i][1])));
alpha = 30;
trace(alpha);
this[stage_temp].lineStyle(1, 0, alpha);
this[stage_temp].lineTo(x, this[draw_temp].d_array[i][2] + (((this[draw_temp].d_array[i][2] - this.center2) / test_rad) * Math.sin(count2 + this[draw_temp].d_array[i][3])));
}
i++;
}
n++;
}
};
this.onMouseMove = function () {
if (other) {
other = false;
} else {
other = true;
}
if (m_down && (other)) {
n_array = new Array();
n_array[0] = this[temp_name].center - this._xmouse;
n_array[1] = (-count) - 1.57;
n_array[2] = this._ymouse;
n_array[3] = -count2;
this[temp_name].d_array.push(n_array);
}
};
this.onMouseDown = function () {
num++;
temp_name = "d_stage" + num;
this.createEmptyMovieClip(temp_name, num);
this[temp_name].d_array = new Array();
m_down = true;
this[temp_name].center = 275;
};
this.onMouseUp = function () {
m_down = false;
};
Instance of Symbol 10 MovieClip in Symbol 15 MovieClip [whole] Frame 1
onClipEvent (mouseDown) {
this._alpha = 100;
}