Frame 1
fscommand ("allowscale", "false");
Instance of Symbol 13 MovieClip "Controller" in Frame 1
onClipEvent (load) {
_quality = "LOW";
Sounds = new Array();
Circles = new Array();
Colors = new Array();
Hues = new Array(12255343, 16750848, 16763904, 10080767, 13762457, 8978392, 9795583, 16737938);
maxLoops = 10;
numLoops = 7;
t = 0;
i = 0;
while (i < maxLoops) {
Colors[i] = new Color("_parent.bar" + i);
Colors[i].setRGB(Hues[i]);
setProperty("_parent.bar" + i, _yscale , 0);
i++;
}
i = 0;
while (i < numLoops) {
Sounds[i] = new Sound(eval ("_parent.loop" + i));
Sounds[i].attachSound("loop" + i);
attachMovie("circle", "C" + i, i);
Colors[i] = new Color("C" + i);
Colors[i].setRGB(Hues[i]);
Circles[i] = new Object();
Circles[i].radius = 250 - (i * 15);
Circles[i].orbit = (i * 30) + 20;
Circles[i].r2 = (Circles[i].radius * Circles[i].radius) * 10;
Circles[i].f1 = (Math.random() * 40) + 40;
Circles[i].f2 = (Math.random() * 40) + 40;
Circles[i].f3 = (Math.random() * 40) + 40;
Circles[i].f4 = (Math.random() * 40) + 40;
Circles[i].p1 = Math.random() * 6.28;
Circles[i].p2 = Math.random() * 6.28;
Circles[i].p3 = Math.random() * 6.28;
Circles[i].p4 = Math.random() * 6.28;
setProperty("C" + i, _xscale , Circles[i].radius);
setProperty("C" + i, _yscale , Circles[i].radius);
i++;
}
i = 0;
while (i < numLoops) {
Sounds[i].start(0, 999);
Sounds[i].setVolume(0);
i++;
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < numLoops) {
Circles[i].x = ((Math.sin((t / Circles[i].f1) + Circles[i].p1) * Math.sin((t / Circles[i].f2) + Circles[i].p2)) * Circles[i].orbit) * 1.2;
Circles[i].y = (Math.sin((t / Circles[i].f3) + Circles[i].p3) * Math.sin((t / Circles[i].f4) + Circles[i].p4)) * Circles[i].orbit;
setProperty("C" + i, _x , Circles[i].x);
setProperty("C" + i, _y , Circles[i].y);
dx = _xmouse - Circles[i].x;
dy = _ymouse - Circles[i].y;
d = dx * dx;
d = d + (dy * dy);
mix = Circles[i].r2 / d;
if (70 < mix) {
mix = 70;
}
Sounds[i].setVolume(mix);
setProperty("_parent.bar" + i, _yscale , mix);
i++;
}
t++;
}
Instance of Symbol 8 MovieClip "Controller" in Symbol 9 MovieClip [Music] Frame 1
onClipEvent (load) {
_quality = "LOW";
Sounds = new Array();
Circles = new Array();
Colors = new Array();
Hues = new Array(12255343, 16750848, 16763904, 10080767, 13762457, 8978392, 9795583, 16737938);
maxLoops = 10;
numLoops = 7;
t = 0;
i = 0;
while (i < maxLoops) {
Colors[i] = new Color("_parent.bar" + i);
Colors[i].setRGB(Hues[i]);
setProperty("_parent.bar" + i, _yscale , 0);
i++;
}
i = 0;
while (i < numLoops) {
Sounds[i] = new Sound(eval ("_parent.loop" + i));
Sounds[i].attachSound("loop" + i);
attachMovie("circle", "C" + i, i);
Colors[i] = new Color("C" + i);
Colors[i].setRGB(Hues[i]);
Circles[i] = new Object();
Circles[i].radius = 250 - (i * 15);
Circles[i].orbit = (i * 30) + 20;
Circles[i].r2 = (Circles[i].radius * Circles[i].radius) * 10;
Circles[i].f1 = (Math.random() * 40) + 40;
Circles[i].f2 = (Math.random() * 40) + 40;
Circles[i].f3 = (Math.random() * 40) + 40;
Circles[i].f4 = (Math.random() * 40) + 40;
Circles[i].p1 = Math.random() * 6.28;
Circles[i].p2 = Math.random() * 6.28;
Circles[i].p3 = Math.random() * 6.28;
Circles[i].p4 = Math.random() * 6.28;
setProperty("C" + i, _xscale , Circles[i].radius);
setProperty("C" + i, _yscale , Circles[i].radius);
i++;
}
i = 0;
while (i < numLoops) {
Sounds[i].start(0, 999);
Sounds[i].setVolume(0);
i++;
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < numLoops) {
Circles[i].x = (Math.sin((t / Circles[i].f1) + Circles[i].p1) * Math.sin((t / Circles[i].f2) + Circles[i].p2)) * Circles[i].orbit;
Circles[i].y = (Math.sin((t / Circles[i].f3) + Circles[i].p3) * Math.sin((t / Circles[i].f4) + Circles[i].p4)) * Circles[i].orbit;
setProperty("C" + i, _x , Circles[i].x);
setProperty("C" + i, _y , Circles[i].y);
dx = _xmouse - Circles[i].x;
dy = _ymouse - Circles[i].y;
d = dx * dx;
d = d + (dy * dy);
mix = Circles[i].r2 / d;
if (70 < mix) {
mix = 70;
}
Sounds[i].setVolume(mix);
setProperty("_parent.bar" + i, _yscale , mix);
i++;
}
t++;
}
Symbol 21 Button
on (release) {
getURL ("http://www.seb.cc");
}