Frame 1
stop();
Frame 2
stop();
Frame 3
function initialize() {
this.mute = new Object();
this.mute = {ll:0, lr:0, rr:0, rl:0};
this.medium = new Object();
this.medium = {ll:65, lr:0, rr:65, rl:0};
this.crank = new Object();
this.crank = {ll:100, lr:0, rr:100, rl:0};
i = 1;
while (i < 5) {
this["Loop_0" + i] = new Sound(this["Loop_0" + i]);
this["FX_0" + i] = new Sound(this.FX);
this["Loop_0" + i].attachSound("Loop_0" + i);
this["FX_0" + i].attachSound("FX_0" + i);
i++;
}
i = 1;
while (i < 4) {
this["Riff_0" + i] = new Sound(this["Riff_0" + i]);
this["Scratch_0" + i] = new Sound(this.Scratches);
this["Riff_0" + i].attachSound("Riff_0" + i);
this["Riff_0" + i].setTransform(this.medium);
this["Scratch_0" + i].attachSound("Scratch_0" + i);
this["Scratch_0" + i].setTransform(this.medium);
i++;
}
i = 1;
while (i < 5) {
this["Loop_0" + i].setTransform(this.mute);
this["Riff_0" + i].setTransform(this.mute);
this["Loop_0" + i].start();
this["Riff_0" + i].start();
this["Loop_0" + i].stop();
this["Riff_0" + i].stop();
this["Loop_0" + i].start(0, 9999999);
this["Riff_0" + i].start(0, 9999999);
i++;
}
this.allSound = new Sound(this);
this.allSound.setTransform(this.crank);
}
function startSpeakers() {
Lights.gotoAndStop("ON");
}
function stopSpeakers() {
Lights.gotoAndStop("OFF");
}
function startLights() {
Speakers.gotoAndStop("ON");
}
function stopLights() {
Speakers.gotoAndStop("OFF");
}
stop();
if (!init) {
initialize();
init = true;
} else {
i = 1;
while (i < 5) {
this["Loop_0" + i].setTransform(this.mute);
this["Riff_0" + i].setTransform(this.mute);
this["Loop_0" + i].start();
this["Riff_0" + i].start();
this["Loop_0" + i].stop();
this["Riff_0" + i].stop();
this["Loop_0" + i].start(0, 9999999);
this["Riff_0" + i].start(0, 9999999);
i++;
}
}
Instance of Symbol 32 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(38)) {
_parent.allSound.setVolume(_parent.allSound.getVolume() + 2);
if (100 < _parent.allSound.getVolume()) {
_parent.allSound.setVolume(100);
}
} else if (Key.isDown(40)) {
_parent.allSound.setVolume(_parent.allSound.getVolume() - 2);
if (_parent.allSound.getVolume() < 0) {
_parent.allSound.setVolume(0);
}
}
}
Symbol 18 Button
on (release) {
stopAllSounds();
gotoAndPlay (3);
}
Symbol 37 Button
on (release) {
i = 1;
while (i < 5) {
this["Loop_0" + i].stop();
this["Riff_0" + i].stop();
i++;
}
gotoAndStop (1);
}
Symbol 40 MovieClip Frame 31
this.gotoAndPlay("1");
Symbol 41 MovieClip Frame 36
this.gotoAndPlay("1");
Symbol 44 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 2
stop();
Symbol 49 Button
on (release) {
_parent.Riff_02.setTransform(_parent.crank);
gotoAndPlay ("bass_2_down");
}
Symbol 50 Button
on (release) {
_parent.Riff_02.setTransform(_parent.mute);
gotoAndPlay ("bass_2_up");
}
Symbol 51 MovieClip Frame 1
stop();
stop();
if (_parent.light1 != true) {
_parent.stopLights();
}
_parent.light2 = false;
Symbol 51 MovieClip Frame 2
stop();
_parent.startLights();
_parent.light2 = true;
Symbol 53 Button
on (release) {
_parent.Riff_01.setTransform(_parent.crank);
gotoAndPlay ("bass_1_down");
}
Symbol 54 Button
on (release) {
_parent.Riff_01.setTransform(_parent.mute);
gotoAndPlay ("bass_1_up");
}
Symbol 55 MovieClip Frame 1
stop();
if (_parent.light2 != true) {
_parent.stopLights();
}
_parent.light1 = false;
Symbol 55 MovieClip Frame 2
stop();
_parent.startLights();
_parent.light1 = true;
Symbol 57 Button
on (press) {
_parent.Loop_04.setTransform(_parent.crank);
gotoAndPlay ("drums_4");
}
Symbol 59 Button
on (press) {
_parent.Loop_03.setTransform(_parent.crank);
gotoAndPlay ("drums_3");
}
Symbol 61 Button
on (press) {
_parent.Loop_02.setTransform(_parent.crank);
gotoAndPlay ("drums_2");
}
Symbol 63 Button
on (press) {
_parent.Loop_01.setTransform(_parent.crank);
gotoAndPlay ("drums_1");
}
Symbol 64 Button
on (press) {
_parent.Loop_04.setTransform(_parent.crank);
_parent.Loop_01.setTransform(_parent.mute);
_parent.Loop_02.setTransform(_parent.mute);
_parent.Loop_03.setTransform(_parent.mute);
gotoAndPlay ("drums_4");
}
Symbol 65 Button
on (press) {
_parent.Loop_03.setTransform(_parent.crank);
_parent.Loop_01.setTransform(_parent.mute);
_parent.Loop_02.setTransform(_parent.mute);
_parent.Loop_04.setTransform(_parent.mute);
gotoAndPlay ("drums_3");
}
Symbol 66 Button
on (press) {
_parent.Loop_02.setTransform(_parent.crank);
_parent.Loop_01.setTransform(_parent.mute);
_parent.Loop_03.setTransform(_parent.mute);
_parent.Loop_04.setTransform(_parent.mute);
gotoAndPlay ("drums_2");
}
Symbol 67 Button
on (press) {
_parent.Loop_01.setTransform(_parent.mute);
gotoAndPlay ("drums_idle");
}
Symbol 68 Button
on (press) {
_parent.Loop_01.setTransform(_parent.crank);
_parent.Loop_02.setTransform(_parent.mute);
_parent.Loop_03.setTransform(_parent.mute);
_parent.Loop_04.setTransform(_parent.mute);
gotoAndPlay ("drums_1");
}
Symbol 69 Button
on (press) {
_parent.Loop_02.setTransform(_parent.mute);
gotoAndPlay ("drums_idle");
}
Symbol 70 Button
on (press) {
_parent.Loop_03.setTransform(_parent.mute);
gotoAndPlay ("drums_idle");
}
Symbol 71 Button
on (press) {
_parent.Loop_04.setTransform(_parent.mute);
gotoAndPlay ("drums_idle");
}
Symbol 72 MovieClip Frame 1
_parent.stopSpeakers();
stop();
Symbol 72 MovieClip Frame 2
_parent.startSpeakers();
stop();
Symbol 72 MovieClip Frame 3
_parent.startSpeakers();
stop();
Symbol 72 MovieClip Frame 4
_parent.startSpeakers();
stop();
Symbol 72 MovieClip Frame 5
_parent.startSpeakers();
stop();
Symbol 74 Button
on (press) {
FX_01.stop();
FX_01.start();
}
Symbol 76 Button
on (press) {
FX_04.stop();
FX_04.start();
}
Symbol 78 Button
on (press) {
FX_03.stop();
FX_03.start();
}
Symbol 80 Button
on (press) {
FX_02.stop();
FX_02.start();
}
Symbol 87 Button
on (rollOut, press) {
Scratch_02.start();
}
on (rollOver) {
Scratch_03.start();
}
Symbol 89 Button
on (rollOut, press) {
Scratch_03.start();
}
on (rollOver) {
Scratch_03.start();
}