Frame 1
var my_sound = new Sound();
my_sound.attachSound("Avenged Sevenfold");
play_btn.onRelease = function () {
my_sound.start();
};
stop_btn.onRelease = function () {
my_sound.stop();
};
stop();
Instance of Symbol 6 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 8 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 10 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 12 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 14 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 16 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 18 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 20 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 22 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 24 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Instance of Symbol 26 MovieClip in Frame 1
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Frame 2
stop();
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Symbol 33 MovieClip Frame 1
function analyzer(spectrum) {
var _local5 = 0;
var _local6 = spectrum[_local5].n;
var _local2 = 0;
while (_local2 < tot_bars) {
var _local3 = this.attachMovie("one_bar", "bar" + _local2, _local2 + 1);
_local3._x = (_local2 * (_local3._width + spacing)) + margin;
_local3.r = spectrum[_local5];
_local3.onEnterFrame = function () {
var _local4 = Math.round((Math.random() * (this.r.high - this.r.low)) + this.r.low);
var _local2 = 0;
while (_local2 < _local4) {
var _local3 = this.attachMovie("one_bar", "bar" + _local2, _local2 + 1);
_local3._y = _local3._y - (_local2 * (_local3._height + spacing));
_local3.onEnterFrame = function () {
this._alpha = this._alpha - 20;
if (this._alpha == 0) {
this.removeMovieClip();
}
};
_local2++;
}
};
_local6--;
if (_local6 == 0) {
_local5++;
_local6 = spectrum[_local5].n;
}
_local2++;
}
}
function turnOff() {
var _local4 = 0;
while (_local4 < tot_bars) {
var _local3 = this["bar" + _local4];
delete _local3.onEnterFrame;
var _local2 = 1;
while (_local2 < max_height) {
var _local5 = _local3["bar" + _local2].removeMovieClip();
_local2--;
}
_local4++;
}
}
spacing = 1;
margin = 3;
tot_bars = 21;
max_height = 20;
rock_spectrum = [{low:5, high:20, n:2}, {low:12, high:20, n:8}, {low:3, high:15, n:3}, {low:7, high:15, n:3}, {low:5, high:10, n:3}, {low:0, high:5, n:2}];
analyzer(rock_spectrum);
Symbol 38 Button
on (release) {
nextFrame();
}
Symbol 41 Button
on (release) {
prevFrame();
}