Frame 1
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
level = 0;
_root.loadBar._width = getPercent * 100;
_root.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
_root.gotoAndStop(10);
}
Frame 2
gotoAndPlay (1);
Frame 3
_root.gotoAndStop(3 + _root.level);
Frame 4
stop();
Instance of Symbol 67 MovieClip in Frame 4
onClipEvent (load) {
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
controlstop = 0;
shadowfade = 1;
die = 0;
_root.level = 1;
mouth_open = 0;
}
onClipEvent (enterFrame) {
if (_root.orange._x > 168) {
if (_root.orange._x < 177) {
if (_root.orange._y > 98) {
if (_root.orange._y < 117) {
_root.crane.gotoAndStop(119);
stage = 2;
}
}
}
}
if (stage == 1) {
if (_root.window._x > 329) {
die = 1;
}
}
if (stage == 2) {
if (_root.window._x > 329) {
die = 1;
}
}
if (stage == 3) {
if (_root.window._x > 329) {
die = 1;
}
}
if (stage == 1) {
if (_root.window._y < -831) {
die = 1;
}
}
if (stage == 2) {
if (_root.window._y < -831) {
die = 1;
}
}
if (stage == 3) {
if (_root.window._y < -831) {
die = 1;
}
}
if (stage == 1) {
if (_root.window._x < -1200) {
die = 1;
}
}
if (stage == 2) {
if (_root.window._x < -1200) {
die = 1;
}
}
if (stage == 3) {
if (_root.window._x < -1200) {
die = 1;
}
}
if (stage == 1) {
if (_root.window._y > 226) {
die = 1;
}
}
if (stage == 2) {
if (_root.window._y > 226) {
die = 1;
}
}
if (stage == 3) {
if (_root.window._y > 226) {
die = 1;
}
}
if (die == 1) {
_root.music.MUSIC1.stop();
delete _root.music;
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
controlstop = 0;
shadowfade = 1;
die = 0;
_root.gotoAndStop(3);
}
if (stage == 1) {
if (Key.isDown(39)) {
_root.city3._x = _root.city3._x - (movex_speed / 4.5);
_root.crane._x = _root.crane._x - (movex_speed / 4);
_root.city1._x = _root.city1._x - (movex_speed / 2.8);
_root.city2._x = _root.city2._x - (movex_speed / 3.4);
_root.bird._x = _root.bird._x - (movex_speed / 1.7);
_root.tree1._x = _root.tree1._x - (movex_speed / 1.7);
_root.tree2._x = _root.tree2._x - (movex_speed / 2.1);
_root.orange._x = _root.orange._x - movex_speed;
_root.orange_shadow._x = _root.orange_shadow._x - movex_speed;
_root.window._x = _root.window._x - movex_speed;
}
if (Key.isDown(37)) {
_root.city3._x = _root.city3._x + (movex_speed / 4.5);
_root.crane._x = _root.crane._x + (movex_speed / 4);
_root.city1._x = _root.city1._x + (movex_speed / 2.8);
_root.city2._x = _root.city2._x + (movex_speed / 3.4);
_root.tree1._x = _root.tree1._x + (movex_speed / 1.7);
_root.bird._x = _root.bird._x + (movex_speed / 1.7);
_root.tree2._x = _root.tree2._x + (movex_speed / 2.1);
_root.orange._x = _root.orange._x + movex_speed;
_root.orange_shadow._x = _root.orange_shadow._x + movex_speed;
_root.window._x = _root.window._x + movex_speed;
}
if (Key.isDown(38)) {
_root.city3._y = _root.city3._y + (movey_speed / 4.5);
_root.crane._y = _root.crane._y + (movey_speed / 4);
_root.city1._y = _root.city1._y + (movey_speed / 2.8);
_root.city2._y = _root.city2._y + (movey_speed / 3.4);
_root.tree1._y = _root.tree1._y + (movey_speed / 1.7);
_root.bird._y = _root.bird._y + (movey_speed / 1.7);
_root.tree2._y = _root.tree2._y + (movey_speed / 2.1);
_root.orange._y = _root.orange._y + movey_speed;
_root.orange_shadow._y = _root.orange_shadow._y + movey_speed;
_root.window._y = _root.window._y + movey_speed;
}
if (Key.isDown(40)) {
_root.city3._y = _root.city3._y - (movey_speed / 4.5);
_root.crane._y = _root.crane._y - (movey_speed / 4);
_root.city1._y = _root.city1._y - (movey_speed / 2.8);
_root.city2._y = _root.city2._y - (movey_speed / 3.4);
_root.bird._y = _root.bird._y - (movey_speed / 1.7);
_root.tree1._y = _root.tree1._y - (movey_speed / 1.7);
_root.tree2._y = _root.tree2._y - (movey_speed / 2.1);
_root.orange._y = _root.orange._y - movey_speed;
_root.orange_shadow._y = _root.orange_shadow._y - movey_speed;
_root.window._y = _root.window._y - movey_speed;
}
}
if (stage == 2) {
if (mouth_open == 0) {
_root.orange.expressions.gotoAndPlay(2);
mouth_open = 1;
}
if (Key.isDown(39)) {
_root.city3._x = _root.city3._x - (movex_speed / 4.5);
_root.crane._x = _root.crane._x - (movex_speed / 4);
_root.city1._x = _root.city1._x - (movex_speed / 2.8);
_root.city2._x = _root.city2._x - (movex_speed / 3.4);
_root.tree1._x = _root.tree1._x - (movex_speed / 1.7);
_root.bird._x = _root.bird._x - (movex_speed / 1.7);
_root.tree2._x = _root.tree2._x - (movex_speed / 2.1);
_root.orange._x = _root.orange._x - (movex_speed / 4);
_root.orange_shadow._x = _root.orange_shadow._x - (movex_speed / 4);
_root.window._x = _root.window._x - movex_speed;
}
if (Key.isDown(37)) {
_root.city3._x = _root.city3._x + (movex_speed / 4.5);
_root.crane._x = _root.crane._x + (movex_speed / 4);
_root.city1._x = _root.city1._x + (movex_speed / 2.8);
_root.city2._x = _root.city2._x + (movex_speed / 3.4);
_root.tree1._x = _root.tree1._x + (movex_speed / 1.7);
_root.bird._x = _root.bird._x + (movex_speed / 1.7);
_root.tree2._x = _root.tree2._x + (movex_speed / 2.1);
_root.orange._x = _root.orange._x + (movex_speed / 4);
_root.orange_shadow._x = _root.orange_shadow._x + (movex_speed / 4);
_root.window._x = _root.window._x + movex_speed;
}
if (Key.isDown(38)) {
_root.city3._y = _root.city3._y + (movey_speed / 4.5);
_root.crane._y = _root.crane._y + (movey_speed / 4);
_root.city1._y = _root.city1._y + (movey_speed / 2.8);
_root.city2._y = _root.city2._y + (movey_speed / 3.4);
_root.bird._y = _root.bird._y + (movey_speed / 1.7);
_root.tree1._y = _root.tree1._y + (movey_speed / 1.7);
_root.tree2._y = _root.tree2._y + (movey_speed / 2.1);
_root.orange._y = _root.orange._y + (movey_speed / 4);
_root.orange_shadow._y = _root.orange_shadow._y + movey_speed;
_root.window._y = _root.window._y + movey_speed;
}
if (Key.isDown(40)) {
_root.city3._y = _root.city3._y - (movey_speed / 4.5);
_root.crane._y = _root.crane._y - (movey_speed / 4);
_root.city1._y = _root.city1._y - (movey_speed / 2.8);
_root.city2._y = _root.city2._y - (movey_speed / 3.4);
_root.tree1._y = _root.tree1._y - (movey_speed / 1.7);
_root.tree2._y = _root.tree2._y - (movey_speed / 2.1);
_root.bird._y = _root.bird._y - (movey_speed / 1.7);
_root.orange._y = _root.orange._y - (movey_speed / 4);
_root.orange_shadow._y = _root.orange_shadow._y - movey_speed;
_root.window._y = _root.window._y - movey_speed;
}
if (_root.orange.hitTest(_root.tree1.col1)) {
if (_root.orange.hitTest(_root.tree1.col2)) {
if (_root.orange.hitTest(_root.tree1.col3)) {
if (_root.orange.hitTest(_root.tree1.col4)) {
_root.bird.gotoAndPlay(2);
_root.orange._x = 1000;
stage = 3;
}
}
}
}
}
if (stage == 3) {
if (Key.isDown(39)) {
_root.city3._x = _root.city3._x - (movex_speed / 4.5);
_root.crane._x = _root.crane._x - (movex_speed / 4);
_root.city1._x = _root.city1._x - (movex_speed / 2.8);
_root.city2._x = _root.city2._x - (movex_speed / 3.4);
_root.tree1._x = _root.tree1._x - (movex_speed / 1.7);
_root.bird._x = _root.bird._x - (movex_speed / 1.7);
_root.tree2._x = _root.tree2._x - (movex_speed / 2.1);
_root.window._x = _root.window._x - movex_speed;
}
if (Key.isDown(37)) {
_root.city3._x = _root.city3._x + (movex_speed / 4.5);
_root.crane._x = _root.crane._x + (movex_speed / 4);
_root.city1._x = _root.city1._x + (movex_speed / 2.8);
_root.city2._x = _root.city2._x + (movex_speed / 3.4);
_root.tree1._x = _root.tree1._x + (movex_speed / 1.7);
_root.bird._x = _root.bird._x + (movex_speed / 1.7);
_root.tree2._x = _root.tree2._x + (movex_speed / 2.1);
_root.window._x = _root.window._x + movex_speed;
}
if (Key.isDown(38)) {
_root.city3._y = _root.city3._y + (movey_speed / 4.5);
_root.crane._y = _root.crane._y + (movey_speed / 4);
_root.city1._y = _root.city1._y + (movey_speed / 2.8);
_root.city2._y = _root.city2._y + (movey_speed / 3.4);
_root.bird._y = _root.bird._y + (movey_speed / 1.7);
_root.tree1._y = _root.tree1._y + (movey_speed / 1.7);
_root.tree2._y = _root.tree2._y + (movey_speed / 2.1);
_root.window._y = _root.window._y + movey_speed;
}
if (Key.isDown(40)) {
_root.city3._y = _root.city3._y - (movey_speed / 4.5);
_root.crane._y = _root.crane._y - (movey_speed / 4);
_root.city1._y = _root.city1._y - (movey_speed / 2.8);
_root.city2._y = _root.city2._y - (movey_speed / 3.4);
_root.tree1._y = _root.tree1._y - (movey_speed / 1.7);
_root.tree2._y = _root.tree2._y - (movey_speed / 2.1);
_root.bird._y = _root.bird._y - (movey_speed / 1.7);
_root.window._y = _root.window._y - movey_speed;
}
}
}
Instance of Symbol 69 MovieClip "music" in Frame 4
onClipEvent (load) {
soundPlayed = 0;
}
onClipEvent (enterFrame) {
if (soundPlayed == 0) {
soundPlayed = 1;
MUSIC1 = new Sound(this);
MUSIC1.attachSound("level1");
MUSIC1.start(0, 99);
MUSIC1.setVolume(100);
}
}
Frame 5
stop();
Instance of Symbol 67 MovieClip in Frame 5
onClipEvent (load) {
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
orange_rolling = 0;
die = 0;
_root.level = 2;
mouth_open = 0;
}
onClipEvent (enterFrame) {
if (stage == 1) {
if (_root.window2._x > 329) {
die = 1;
}
}
if (stage == 2) {
if (_root.window2._x > 329) {
die = 1;
}
}
if (stage == 3) {
if (_root.window2._x > 329) {
die = 1;
}
}
if (stage == 1) {
if (_root.window2._y < -831) {
die = 1;
}
}
if (stage == 2) {
if (_root.window2._y < -831) {
die = 1;
}
}
if (stage == 3) {
if (_root.window2._y < -831) {
die = 1;
}
}
if (stage == 1) {
if (_root.window2._x < -1200) {
die = 1;
}
}
if (stage == 2) {
if (_root.window2._x < -1200) {
die = 1;
}
}
if (stage == 3) {
if (_root.window2._x < -1200) {
die = 1;
}
}
if (stage == 1) {
if (_root.window2._y > 226) {
die = 1;
}
}
if (stage == 2) {
if (_root.window2._y > 226) {
die = 1;
}
}
if (stage == 3) {
if (_root.window2._y > 226) {
die = 1;
}
}
if (die == 1) {
_root.music.MUSIC2.stop();
delete _root.music;
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
controlstop = 0;
shadowfade = 1;
die = 0;
_root.gotoAndStop(3);
}
if (stage == 1) {
if (_root.city2_2.orange_2.hitTest(_root.city3_2.col1)) {
if (_root.city2_2.orange_2.hitTest(_root.city3_2.col2)) {
if (_root.city2_2.orange_2.hitTest(_root.city3_2.col3)) {
if (_root.city2_2.orange_2.hitTest(_root.city3_2.col4)) {
_root.city2_2.orange_2.gotoAndPlay(12);
orange_rolling = 1;
stage = 2;
}
}
}
}
if (Key.isDown(39)) {
_root.city3_2._x = _root.city3_2._x - (movex_speed / 4.5);
_root.city1_2._x = _root.city1_2._x - (movex_speed / 1.8);
_root.city2_2._x = _root.city2_2._x - (movex_speed / 2.2);
_root.bird2._x = _root.bird2._x - (movex_speed / 2);
_root.tree._x = _root.tree._x - (movex_speed / 2);
_root.window2._x = _root.window2._x - movex_speed;
}
if (Key.isDown(37)) {
_root.city3_2._x = _root.city3_2._x + (movex_speed / 4.5);
_root.city1_2._x = _root.city1_2._x + (movex_speed / 1.8);
_root.city2_2._x = _root.city2_2._x + (movex_speed / 2.2);
_root.tree._x = _root.tree._x + (movex_speed / 2);
_root.bird2._x = _root.bird2._x + (movex_speed / 2);
_root.window2._x = _root.window2._x + movex_speed;
}
if (Key.isDown(38)) {
_root.city3_2._y = _root.city3_2._y + (movey_speed / 4.5);
_root.city1_2._y = _root.city1_2._y + (movey_speed / 1.8);
_root.city2_2._y = _root.city2_2._y + (movey_speed / 2.2);
_root.tree._y = _root.tree._y + (movey_speed / 2);
_root.bird2._y = _root.bird2._y + (movey_speed / 2);
_root.window2._y = _root.window2._y + movey_speed;
}
if (Key.isDown(40)) {
_root.city3_2._y = _root.city3_2._y - (movey_speed / 4.5);
_root.city1_2._y = _root.city1_2._y - (movey_speed / 1.8);
_root.city2_2._y = _root.city2_2._y - (movey_speed / 2.2);
_root.bird2._y = _root.bird2._y - (movey_speed / 2);
_root.tree._y = _root.tree._y - (movey_speed / 2);
_root.window2._y = _root.window2._y - movey_speed;
}
}
}
Instance of Symbol 69 MovieClip "music" in Frame 5
onClipEvent (load) {
soundPlayed = 0;
}
onClipEvent (enterFrame) {
if (soundPlayed == 0) {
soundPlayed = 1;
MUSIC2 = new Sound(this);
MUSIC2.attachSound("level2");
MUSIC2.start(0, 99);
MUSIC2.setVolume(100);
}
}
Frame 6
stop();
Instance of Symbol 67 MovieClip in Frame 6
onClipEvent (load) {
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
die = 0;
_root.level = 3;
}
onClipEvent (enterFrame) {
if (stage == 1) {
if (_root.window3._x > 329) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._x > 329) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._x > 329) {
die = 1;
}
}
if (stage == 1) {
if (_root.window3._y < -831) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._y < -831) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._y < -831) {
die = 1;
}
}
if (stage == 1) {
if (_root.window3._x < -1200) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._x < -1200) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._x < -1200) {
die = 1;
}
}
if (stage == 1) {
if (_root.window3._y > 226) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._y > 226) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._y > 226) {
die = 1;
}
}
if (die == 1) {
_root.music.MUSIC3.stop();
delete _root.music;
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
controlstop = 0;
shadowfade = 1;
die = 0;
_root.gotoAndStop(3);
}
if (stage == 1) {
if (Key.isDown(39)) {
_root.l3_1._x = _root.l3_1._x - (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x - (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x - (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x - (movex_speed / 1.4);
_root.l3_5._x = _root.l3_5._x - movex_speed;
_root.orange3._x = _root.orange3._x - (movex_speed / 3);
_root.window3._x = _root.window3._x - movex_speed;
}
if (Key.isDown(37)) {
_root.l3_1._x = _root.l3_1._x + (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x + (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x + (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x + (movex_speed / 1.4);
_root.l3_5._x = _root.l3_5._x + movex_speed;
_root.orange3._x = _root.orange3._x + (movex_speed / 3);
_root.window3._x = _root.window3._x + movex_speed;
}
if (Key.isDown(38)) {
_root.l3_1._y = _root.l3_1._y + (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y + (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y + (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y + (movex_speed / 1.4);
_root.l3_5._y = _root.l3_5._y + movex_speed;
_root.orange3._y = _root.orange3._y + (movex_speed / 3);
_root.window3._y = _root.window3._y + movex_speed;
}
if (Key.isDown(40)) {
_root.l3_1._y = _root.l3_1._y - (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y - (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y - (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y - (movex_speed / 1.4);
_root.l3_5._y = _root.l3_5._y - movex_speed;
_root.orange3._y = _root.orange3._y - (movex_speed / 3);
_root.window3._y = _root.window3._y - movex_speed;
}
if (_root.orange3.hitTest(_root.l3_4.l3_col_1_1)) {
if (_root.orange3.hitTest(_root.l3_4.l3_col_1_2)) {
if (_root.orange3.hitTest(_root.l3_4.l3_col_1_3)) {
stage = 2;
_root.orange3._x = -1000;
_root.l3_4.gotoAndPlay(_root.l3_4._currentframe + 51);
}
}
}
}
if (stage == 2) {
if (Key.isDown(39)) {
_root.l3_1._x = _root.l3_1._x - (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x - (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x - (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x - (movex_speed / 3.4);
_root.l3_5._x = _root.l3_5._x - movex_speed;
_root.orange3._x = _root.orange3._x - (movex_speed / 3);
_root.window3._x = _root.window3._x - movex_speed;
}
if (Key.isDown(37)) {
_root.l3_1._x = _root.l3_1._x + (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x + (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x + (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x + (movex_speed / 3.4);
_root.l3_5._x = _root.l3_5._x + movex_speed;
_root.orange3._x = _root.orange3._x + (movex_speed / 3);
_root.window3._x = _root.window3._x + movex_speed;
}
if (Key.isDown(38)) {
_root.l3_1._y = _root.l3_1._y + (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y + (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y + (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y + (movex_speed / 3.4);
_root.l3_5._y = _root.l3_5._y + movex_speed;
_root.orange3._y = _root.orange3._y + (movex_speed / 3);
_root.window3._y = _root.window3._y + movex_speed;
}
if (Key.isDown(40)) {
_root.l3_1._y = _root.l3_1._y - (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y - (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y - (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y - (movex_speed / 3.4);
_root.l3_5._y = _root.l3_5._y - movex_speed;
_root.orange3._y = _root.orange3._y - (movex_speed / 3);
_root.window3._y = _root.window3._y - movex_speed;
}
if (_root.l3_4.l3_char_swing_col.hitTest(_root.l3_5.l3_button_col)) {
_root.l3_5.gotoAndPlay(2);
_root.l3_1.l3_cloud.gotoAndPlay(2);
_root.l3_3.l3_butterfly.gotoAndPlay(86);
}
if (_root.l3_4.l3_swing_col2.hitTest(_root.l3_3.l3_butterfly.l3_butterfly_anim.l3_butterfly_col)) {
_root.l3_3.l3_butterfly.l3_butterfly_anim.gotoAndPlay(6);
_root.l3_4.gotoAndPlay(_root.l3_4._currentframe - 51);
}
}
}
Instance of Symbol 69 MovieClip "music" in Frame 6
onClipEvent (load) {
soundPlayed = 0;
}
onClipEvent (enterFrame) {
if (soundPlayed == 0) {
soundPlayed = 1;
MUSIC3 = new Sound(this);
MUSIC3.attachSound("level3");
MUSIC3.start(0, 99);
MUSIC3.setVolume(100);
}
}
Frame 7
stop();
Instance of Symbol 67 MovieClip "controller4" in Frame 7
onClipEvent (load) {
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
die = 0;
_root.level = 4;
}
onClipEvent (enterFrame) {
if (stage == 1) {
if (_root.window4._x > 329) {
die = 1;
}
}
if (stage == 2) {
if (_root.window4._x > 329) {
die = 1;
}
}
if (stage == 3) {
if (_root.window4._x > 329) {
die = 1;
}
}
if (stage == 1) {
if (_root.window4._y < -831) {
die = 1;
}
}
if (stage == 2) {
if (_root.window4._y < -831) {
die = 1;
}
}
if (stage == 3) {
if (_root.window4._y < -831) {
die = 1;
}
}
if (stage == 1) {
if (_root.window4._x < -1200) {
die = 1;
}
}
if (stage == 2) {
if (_root.window4._x < -1200) {
die = 1;
}
}
if (stage == 3) {
if (_root.window4._x < -1200) {
die = 1;
}
}
if (stage == 1) {
if (_root.window4._y > 226) {
die = 1;
}
}
if (stage == 2) {
if (_root.window4._y > 226) {
die = 1;
}
}
if (stage == 3) {
if (_root.window4._y > 226) {
die = 1;
}
}
if (die == 1) {
_root.music.MUSIC4.stop();
delete _root.music;
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
controlstop = 0;
shadowfade = 1;
die = 0;
_root.gotoAndStop(3);
}
if (stage == 1) {
if (Key.isDown(39)) {
_root.l4_1._x = _root.l4_1._x - (movex_speed / 4.5);
_root.l4_2._x = _root.l4_2._x - movex_speed;
_root.orange4._x = _root.orange4._x - 0;
_root.window4._x = _root.window4._x - movex_speed;
}
if (Key.isDown(37)) {
_root.l4_1._x = _root.l4_1._x + (movex_speed / 4.5);
_root.l4_2._x = _root.l4_2._x + movex_speed;
_root.orange4._x = _root.orange4._x + 0;
_root.window4._x = _root.window4._x + movex_speed;
}
if (Key.isDown(38)) {
_root.l4_1._y = _root.l4_1._y + (movex_speed / 4.5);
_root.l4_2._y = _root.l4_2._y + movex_speed;
_root.orange4._y = _root.orange4._y + 0;
_root.window4._y = _root.window4._y + movex_speed;
}
if (Key.isDown(40)) {
_root.l4_1._y = _root.l4_1._y - (movex_speed / 4.5);
_root.l4_2._y = _root.l4_2._y - movex_speed;
_root.orange4._y = _root.orange4._y - 0;
_root.window4._y = _root.window4._y - movex_speed;
}
if (_root.l4_moon.l4_moon_col.hitTest(_root.l4_1.l4_button1_col)) {
stage = 2;
_root.l4_moon.gotoAndPlay(2);
_root.orange4.gotoAndPlay(17);
_root.l4_2.gotoAndPlay(2);
}
}
if (stage == 2) {
}
if (stage == 3) {
if (Key.isDown(39)) {
_root.l4_1._x = _root.l4_1._x - (movex_speed / 4.5);
_root.l4_2._x = _root.l4_2._x - movex_speed;
_root.orange4._x = _root.orange4._x - 0;
_root.window4._x = _root.window4._x - movex_speed;
}
if (Key.isDown(37)) {
_root.l4_1._x = _root.l4_1._x + (movex_speed / 4.5);
_root.l4_2._x = _root.l4_2._x + movex_speed;
_root.orange4._x = _root.orange4._x + 0;
_root.window4._x = _root.window4._x + movex_speed;
}
if (Key.isDown(38)) {
_root.l4_1._y = _root.l4_1._y + (movex_speed / 4.5);
_root.l4_2._y = _root.l4_2._y + movex_speed;
_root.orange4._y = _root.orange4._y + 0;
_root.window4._y = _root.window4._y + movex_speed;
}
if (Key.isDown(40)) {
_root.l4_1._y = _root.l4_1._y - (movex_speed / 4.5);
_root.l4_2._y = _root.l4_2._y - movex_speed;
_root.orange4._y = _root.orange4._y - 0;
_root.window4._y = _root.window4._y - movex_speed;
}
if (_root.l4_2.l4_teleport_col.hitTest(_root.orange4.l4_char_col_3)) {
_root.orange4.gotoAndPlay(63);
}
}
}
Instance of Symbol 69 MovieClip "music" in Frame 7
onClipEvent (load) {
soundPlayed = 0;
}
onClipEvent (enterFrame) {
if (soundPlayed == 0) {
soundPlayed = 1;
MUSIC4 = new Sound(this);
MUSIC4.attachSound("level4");
MUSIC4.start(0, 99);
MUSIC4.setVolume(100);
}
}
Frame 8
stop();
Instance of Symbol 67 MovieClip in Frame 8
onClipEvent (load) {
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
die = 0;
_root.level = 4;
}
onClipEvent (enterFrame) {
if (stage == 1) {
if (_root.window3._x > 329) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._x > 329) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._x > 329) {
die = 1;
}
}
if (stage == 1) {
if (_root.window3._y < -831) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._y < -831) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._y < -831) {
die = 1;
}
}
if (stage == 1) {
if (_root.window3._x < -1200) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._x < -1200) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._x < -1200) {
die = 1;
}
}
if (stage == 1) {
if (_root.window3._y > 226) {
die = 1;
}
}
if (stage == 2) {
if (_root.window3._y > 226) {
die = 1;
}
}
if (stage == 3) {
if (_root.window3._y > 226) {
die = 1;
}
}
if (die == 1) {
_root.music.MUSIC4.stop();
delete _root.music;
movex_speed = 3.6;
movey_speed = 3.1;
stage = 1;
controlstop = 0;
shadowfade = 1;
die = 0;
_root.gotoAndStop(3);
}
if (stage == 1) {
if (Key.isDown(39)) {
_root.l3_1._x = _root.l3_1._x - (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x - (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x - (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x - (movex_speed / 1.4);
_root.l3_5._x = _root.l3_5._x - movex_speed;
_root.orange3._x = _root.orange3._x - (movex_speed / 3);
_root.window3._x = _root.window3._x - movex_speed;
}
if (Key.isDown(37)) {
_root.l3_1._x = _root.l3_1._x + (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x + (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x + (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x + (movex_speed / 1.4);
_root.l3_5._x = _root.l3_5._x + movex_speed;
_root.orange3._x = _root.orange3._x + (movex_speed / 3);
_root.window3._x = _root.window3._x + movex_speed;
}
if (Key.isDown(38)) {
_root.l3_1._y = _root.l3_1._y + (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y + (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y + (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y + (movex_speed / 1.4);
_root.l3_5._y = _root.l3_5._y + movex_speed;
_root.orange3._y = _root.orange3._y + (movex_speed / 3);
_root.window3._y = _root.window3._y + movex_speed;
}
if (Key.isDown(40)) {
_root.l3_1._y = _root.l3_1._y - (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y - (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y - (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y - (movex_speed / 1.4);
_root.l3_5._y = _root.l3_5._y - movex_speed;
_root.orange3._y = _root.orange3._y - (movex_speed / 3);
_root.window3._y = _root.window3._y - movex_speed;
}
if (_root.orange3.hitTest(_root.l3_4.l3_col_1_1)) {
if (_root.orange3.hitTest(_root.l3_4.l3_col_1_2)) {
if (_root.orange3.hitTest(_root.l3_4.l3_col_1_3)) {
stage = 2;
_root.orange3._x = -1000;
_root.l3_4.gotoAndPlay(51);
}
}
}
}
if (stage == 2) {
if (Key.isDown(39)) {
_root.l3_1._x = _root.l3_1._x - (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x - (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x - (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x - (movex_speed / 3.4);
_root.l3_5._x = _root.l3_5._x - movex_speed;
_root.orange3._x = _root.orange3._x - (movex_speed / 3);
_root.window3._x = _root.window3._x - movex_speed;
}
if (Key.isDown(37)) {
_root.l3_1._x = _root.l3_1._x + (movex_speed / 4.5);
_root.l3_2._x = _root.l3_2._x + (movex_speed / 3);
_root.l3_3._x = _root.l3_3._x + (movex_speed / 2);
_root.l3_4._x = _root.l3_4._x + (movex_speed / 3.4);
_root.l3_5._x = _root.l3_5._x + movex_speed;
_root.orange3._x = _root.orange3._x + (movex_speed / 3);
_root.window3._x = _root.window3._x + movex_speed;
}
if (Key.isDown(38)) {
_root.l3_1._y = _root.l3_1._y + (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y + (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y + (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y + (movex_speed / 3.4);
_root.l3_5._y = _root.l3_5._y + movex_speed;
_root.orange3._y = _root.orange3._y + (movex_speed / 3);
_root.window3._y = _root.window3._y + movex_speed;
}
if (Key.isDown(40)) {
_root.l3_1._y = _root.l3_1._y - (movex_speed / 4.5);
_root.l3_2._y = _root.l3_2._y - (movex_speed / 3);
_root.l3_3._y = _root.l3_3._y - (movex_speed / 2);
_root.l3_4._y = _root.l3_4._y - (movex_speed / 3.4);
_root.l3_5._y = _root.l3_5._y - movex_speed;
_root.orange3._y = _root.orange3._y - (movex_speed / 3);
_root.window3._y = _root.window3._y - movex_speed;
}
if (_root.l3_4.l3_char_swing_col.hitTest(_root.l3_5.l3_button_col)) {
_root.l3_5.gotoAndPlay(2);
_root.l3_1.l3_cloud.gotoAndPlay(2);
_root.l3_3.l3_butterfly.gotoAndPlay(86);
}
if (_root.l3_4.l3_swing_col2.hitTest(_root.l3_3.l3_butterfly.l3_butterfly_anim.l3_butterfly_col)) {
_root.l3_3.l3_butterfly.l3_butterfly_anim.gotoAndPlay(6);
_root.l3_4.gotoAndPlay(_root.l3_4._currentframe - 51);
}
}
}
Instance of Symbol 69 MovieClip "music" in Frame 8
onClipEvent (load) {
soundPlayed = 0;
}
onClipEvent (enterFrame) {
if (soundPlayed == 0) {
soundPlayed = 1;
MUSIC4 = new Sound(this);
MUSIC4.attachSound("level2");
MUSIC4.start(0, 99);
MUSIC4.setVolume(100);
}
}
Frame 10
stop();
Instance of Symbol 265 MovieClip in Frame 10
on (release) {
getURL ("mailto:lukebrown4290@hotmail.com", "_blank");
}
Instance of Symbol 267 MovieClip in Frame 10
on (release) {
_root.gotoAndStop(4);
}
Instance of Symbol 273 MovieClip in Frame 10
on (release) {
getURL ("http://www.davidkanaga.com", "_blank");
}
Symbol 25 MovieClip Frame 118
stop();
Symbol 25 MovieClip Frame 119
stop();
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 4
stop();
Symbol 56 MovieClip Frame 7
stop();
Symbol 59 MovieClip Frame 1
stop();
Symbol 59 MovieClip Frame 28
Win = new Sound(this);
Win.attachSound("winSound2");
Win.start(0, 1);
Win.setVolume(100);
_root.music.MUSIC1.stop();
delete _root.music;
Symbol 59 MovieClip Frame 29
_root.gotoAndStop(5);
Symbol 65 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 11
stop();
Symbol 78 MovieClip Frame 50
_root.bird2.gotoAndPlay(2);
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 44
Win = new Sound(this);
Win.attachSound("winSound2");
Win.start(0, 1);
Win.setVolume(100);
_root.music.MUSIC2.stop();
delete _root.music;
Symbol 124 MovieClip Frame 45
_root.gotoAndStop(6);
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 77
gotoAndPlay (2);
Symbol 173 MovieClip Frame 5
gotoAndPlay (1);
Symbol 173 MovieClip Frame 48
Win = new Sound(this);
Win.attachSound("winSound2");
Win.start(0, 1);
Win.setVolume(100);
_root.music.MUSIC3.stop();
delete _root.music;
Symbol 173 MovieClip Frame 49
_root.gotoAndStop(7);
Symbol 174 MovieClip Frame 85
gotoAndPlay (1);
Symbol 174 MovieClip Frame 130
gotoAndPlay (92);
Symbol 205 MovieClip Frame 50
gotoAndPlay (1);
Symbol 205 MovieClip Frame 101
gotoAndPlay (52);
Symbol 208 MovieClip Frame 10
stop();
Symbol 214 MovieClip Frame 1
stop();
Symbol 214 MovieClip Frame 4
stop();
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 44
_root.controller4.stage = 3;
Symbol 221 MovieClip Frame 45
stop();
Symbol 229 MovieClip Frame 16
stop();
Symbol 229 MovieClip Frame 62
stop();
Symbol 229 MovieClip Frame 100
_root.music.MUSIC4.stop();
delete _root.music;
Symbol 229 MovieClip Frame 101
_root.gotoAndStop(8);
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 146
gotoAndPlay (80);
Instance of Symbol 253 MovieClip in Symbol 258 MovieClip Frame 1
on (release) {
Win = new Sound(this);
Win.attachSound("winSound2");
Win.start(0, 1);
Win.setVolume(100);
_root.music.MUSIC4.stop();
delete _root.music;
_root.gotoAndStop(10);
}