Combined Code
frame 1 {
var sound_obj = new Sound();
se_00 = new Sound(this);
se_01 = new Sound(this);
se_02 = new Sound(this);
se_03 = new Sound(this);
se_04 = new Sound(this);
se_05 = new Sound(this);
se_06 = new Sound(this);
se_07 = new Sound(this);
se_08 = new Sound(this);
se_09 = new Sound(this);
se_10 = new Sound(this);
se_11 = new Sound(this);
se_12 = new Sound(this);
se_00.attachSound('00');
se_01.attachSound('01');
se_02.attachSound('02');
se_03.attachSound('03');
se_04.attachSound('04');
se_05.attachSound('05');
se_06.attachSound('06');
se_07.attachSound('07');
se_08.attachSound('08');
se_09.attachSound('09');
se_10.attachSound('10');
se_11.attachSound('11');
se_12.attachSound('12');
}
movieClip 6 {
}
movieClip 9 {
}
movieClip 10 {
}
instance of movieClip 10 {
onClipEvent (load) {
sw = 'on';
}
onClipEvent (enterFrame) {
if (sw == 'on') {
R._x = random(100) + 20;
R._y = random(100) + 25;
L._x = random(100) + 100;
L._y = random(100) + 25;
}
}
onClipEvent (press) {
if (sw == 'on') {
_parent.se_00.start();
sw = 'off';
} else {
sw = 'on';
}
}
}