Frame 1
m.duplicateMovieClip("m2", getNextHighestDepth(), {_alpha:50});
col = new Color(m);
col2 = new Color(m2);
Stage.scaleMode = "noBorder";
_quality = "LOW";
sounds = [0, 1, 2, 3, 4, 5];
for (var i in sounds) {
if (i == 0) {
continue;
}
sounds[i] = new Sound(_root.createEmptyMovieClip("s" + random(99999), getNextHighestDepth()));
sounds[i].attachSound(("move" + i) + ".wav");
sounds[i].setPan(((40 * i) % 200) - 100);
sounds[i].start(0, 32767);
}
sounds[5].setVolume(0);
stop();
_root.onEnterFrame = function () {
var _local5 = function (t) {
while (t > 1) {
t = t - 1;
}
while (t < 0) {
t = t + 1;
}
var _local2 = 2.7 * (0.333333333333333 - t);
return(Math.exp((-_local2) * _local2));
};
var _local4 = getTimer() / 700;
var _local2 = int(100 * _local5(_local4 + 0.333333333333333));
var _local3 = int(100 * _local5(_local4));
var _local1 = int(100 * _local5(_local4 - 0.333333333333333));
col.setTransform({ra:_local2, rb:_local2, ba:_local1, bb:_local1, ga:_local3, gb:_local3, aa:100, ab:0});
col2.setTransform({ra:_local2, rb:_local3, ba:_local1, bb:_local2, ga:_local3, gb:_local1, aa:50, ab:0});
sounds[1].setVolume(_local2);
sounds[2].setVolume(_local3);
sounds[3].setVolume(_local1);
sounds[5].setVolume(((getTimer() / 500) % 100) / 5);
m._rotation = m._rotation + 1;
m2._rotation = m2._rotation - 1;
m._xscale = (m._yscale = 130 + (71 * Math.pow(Math.sin((3.1415926535898 * m._rotation) / 180), 2)));
m2._xscale = (m2._yscale = 130 + (71 * Math.pow(Math.sin((3.1415926535898 * m._rotation) / 180), 2)));
};