Frame 1
function initNode(num) {
i = 1;
while (i <= num) {
me = attachMovie("node", name++, depth++);
me._y = (me._name * ySlice) - (ySlice / 2);
me._x = random(600);
me.speed = (slices - (i / 2)) / _root.speed;
me.inner._xscale = (me.inner._yscale = (i * 20) + 50);
me.onEnterFrame = nodeMove;
i++;
}
}
function nodeMove() {
this._y = (((_root._ymouse - (_root.ht / 2)) * (this._name - 1)) / 25) + (_root.ht / 2);
this._x = this._x + ((_root._xmouse - (_root.wd / 2)) / this.speed);
if (this._x < (_root.left - (this._width / 2))) {
this._x = this._x + (_root.wd + this._width);
}
if (this._x > (_root.right + (this._width / 2))) {
this._x = this._x - (_root.wd + this._width);
}
}
speed = 0.4;
slices = 10;
name = 1;
depth = 1;
left = bounds._x;
right = bounds._width - bounds._x;
wd = right - left;
ht = bounds._height;
ySlice = bounds._height / slices;
initNode(slices);
Color.prototype.setTint = function (r, g, b, amount) {
if (amount > 100) {
amount = 100;
}
if (amount < 0) {
amount = 0;
}
var percent = (100 - amount);
var trans = new Object();
trans.ra = (trans.ga = (trans.ba = percent));
var ratio = (amount / 100);
trans.rb = r * ratio;
trans.gb = g * ratio;
trans.bb = b * ratio;
this.setTransform(trans);
};
Symbol 8 MovieClip Frame 1
stop();
Instance of Symbol 8 MovieClip in Symbol 13 MovieClip Frame 1
onClipEvent (load) {
this.blink = Math.random() * 100;
}
onClipEvent (enterFrame) {
if (this.count > this.blink) {
this.play();
this.blink = (Math.random() * 100) + 100;
count = 0;
} else {
count++;
}
}
Instance of Symbol 10 MovieClip in Symbol 13 MovieClip Frame 1
onClipEvent (load) {
this._visible = random(2);
}
Instance of Symbol 12 MovieClip in Symbol 13 MovieClip Frame 1
onClipEvent (load) {
this._visible = random(2);
}
Symbol 19 Button
on (release) {
gotoAndStop (2);
stopAllSounds();
}
Symbol 22 Button
on (release) {
gotoAndStop (1);
}
Symbol 23 MovieClip Frame 1
stop();