Combined Code
frame 1 {
stop();
}
movieClip 21 {
frame 1 {
function loadedIndicatorFrame() {
var v2 = int((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 65) + 2;
if (v2 - lastFrame > 4) {
lastFrame += 4;
loadedText = int((_parent.getBytesTotal() / 1024) * (lastFrame - 2) / 65) + 'kb of ' + int(_parent.getBytesTotal() / 1024) + 'kb';
return lastFrame;
}
if (v2 - lastFrame > 0) {
++lastFrame;
loadedText = int(_parent.getBytesLoaded() / 1024) + 'kb of ' + int(_parent.getBytesTotal() / 1024) + 'kb';
return lastFrame;
}
loadedText = int(_parent.getBytesLoaded() / 1024) + 'kb of ' + int(_parent.getBytesTotal() / 1024) + 'kb';
return lastFrame;
}
lastFrame = 1;
}
}
instance of movieClip 21 {
onClipEvent (load) {
if (_parent.getBytesTotal() == _parent.getBytesLoaded()) {
quickPlay = true;
} else {
preLoad = _parent.getBytesTotal() * 0.75;
}
_parent.stop();
}
onClipEvent (enterFrame) {
gotoAndStop(loadedIndicatorFrame());
if (quickPlay == true) {
if (_currentframe == _totalframes) {
_parent.play();
}
} else {
if (_parent.getBytesLoaded() >= preLoad) {
_parent.play();
}
}
}
}
frame 2 {
stop();
}
frame 2 {
setFocus('keyButton');
}
button 23 {
on (keyPress 's') {
gotoAndStop(3);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 47 {
frame 7057 {
_parent.gotoAndStop(3);
}
}
frame 3 {
stop();
}
button 48 {
on (keyPress 'b') {
gotoAndStop(2);
}
}
button 51 {
on (release) {
gotoAndStop(4);
}
}
button 52 {
on (release) {
gotoAndStop(18);
}
}
frame 4 {
stop();
}
button 53 {
on (keyPress 's') {
gotoAndStop(5);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 55 {
frame 621 {
_parent.gotoAndStop(5);
}
}
frame 5 {
stop();
}
button 57 {
on (release) {
gotoAndStop(19);
}
}
button 58 {
on (release) {
gotoAndStop(6);
}
}
frame 6 {
stop();
}
button 59 {
on (keyPress 's') {
gotoAndStop(7);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 61 {
frame 771 {
_parent.gotoAndStop(7);
}
}
frame 7 {
stop();
}
button 63 {
on (release) {
gotoAndStop(8);
}
}
button 64 {
on (release) {
gotoAndStop(23);
}
}
frame 8 {
stop();
}
button 65 {
on (keyPress 's') {
gotoAndStop(9);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 67 {
frame 257 {
_parent.gotoAndStop(9);
}
}
frame 9 {
stop();
}
button 69 {
on (release) {
gotoAndStop(10);
}
}
button 70 {
on (release) {
gotoAndStop(27);
}
}
frame 10 {
stop();
}
button 71 {
on (keyPress 's') {
gotoAndStop(11);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 75 {
frame 1583 {
_parent.gotoAndStop(11);
}
}
frame 11 {
stop();
}
button 77 {
on (release) {
gotoAndStop(28);
}
}
button 78 {
on (release) {
gotoAndStop(12);
}
}
frame 12 {
stop();
}
button 79 {
on (keyPress 's') {
gotoAndStop(13);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 84 {
frame 3704 {
_parent.gotoAndStop(13);
}
}
frame 13 {
stop();
}
button 86 {
on (release) {
gotoAndStop(29);
}
}
button 87 {
on (release) {
gotoAndStop(14);
}
}
frame 14 {
stop();
}
button 88 {
on (keyPress 's') {
gotoAndStop(15);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 90 {
frame 152 {
_parent.gotoAndStop(15);
}
}
frame 15 {
stop();
}
button 92 {
on (release) {
gotoAndStop(16);
}
}
button 93 {
on (release) {
gotoAndStop(17);
}
}
frame 16 {
stop();
}
button 94 {
on (keyPress 's') {
gotoAndStop(30);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 102 {
frame 1781 {
_parent.gotoAndStop(30);
}
}
frame 17 {
stop();
}
movieClip 105 {
frame 902 {
_parent.gotoAndStop(30);
}
}
frame 18 {
stop();
}
movieClip 115 {
frame 5956 {
_parent.gotoAndStop(30);
}
}
frame 19 {
stop();
}
button 116 {
on (keyPress 's') {
gotoAndStop(20);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 123 {
frame 3751 {
_parent.gotoAndStop(20);
}
}
frame 20 {
stop();
}
button 125 {
on (release) {
gotoAndStop(21);
}
}
button 126 {
on (release) {
gotoAndStop(22);
}
}
frame 21 {
stop();
}
movieClip 130 {
frame 940 {
_parent.gotoAndStop(30);
}
}
frame 22 {
stop();
}
movieClip 134 {
frame 1883 {
_parent.gotoAndStop(30);
}
}
frame 23 {
stop();
}
button 135 {
on (keyPress 's') {
gotoAndStop(24);
}
on (keyPress 'b') {
gotoAndStop(2);
}
}
movieClip 138 {
frame 1637 {
_parent.gotoAndStop(24);
}
}
frame 24 {
stop();
}
button 140 {
on (release) {
gotoAndStop(26);
}
}
button 141 {
on (release) {
gotoAndStop(25);
}
}
frame 25 {
stop();
}
movieClip 145 {
frame 1538 {
_parent.gotoAndStop(30);
}
}
frame 26 {
stop();
}
movieClip 149 {
frame 1997 {
_parent.gotoAndStop(30);
}
}
frame 27 {
stop();
}
movieClip 152 {
frame 1292 {
_parent.gotoAndStop(30);
}
}
frame 28 {
stop();
}
movieClip 155 {
frame 1429 {
_parent.gotoAndStop(30);
}
}
frame 29 {
stop();
}
movieClip 158 {
frame 1436 {
_parent.gotoAndStop(30);
}
}
frame 30 {
stop();
}