Frame 1
function startgame() {
bgm.setVolume(30);
this.attachMovie("mask", "mask", this.getNextHighestDepth());
this.createEmptyMovieClip("gameEMC", this.getNextHighestDepth());
gameEMC.setMask(mask);
game_map = this.gameEMC.createEmptyMovieClip("sceneEMC", this.gameEMC.getNextHighestDepth());
map_ping = 1;
var _local3 = game_map.attachMovie("map_mc", "map_mc" + map_ping, map_ping);
_local3.map_number = map_ping;
_local3.gotoAndStop(map_ping);
map_ping++;
game_object = this.gameEMC.createEmptyMovieClip("objectEMC", this.gameEMC.getNextHighestDepth());
game_player = gameEMC.attachMovie("player", "player", gameEMC.getNextHighestDepth());
game_player._x = player_start_x;
game_player._y = player_start_y;
game_player.gotoAndStop("rest");
gameEMC.earth.place_name.gotoAndStop(1);
game_shui = this.gameEMC.createEmptyMovieClip("shui", this.gameEMC.getNextHighestDepth());
_local3 = game_shui.attachMovie("shuimian", "shuimian" + (map_ping - 1), map_ping - 1);
_local3._y = 401;
var _local2 = gameEMC.attachMovie("earth", "earth", gameEMC.getNextHighestDepth());
_local2._x = 0;
_local2._y = 0;
_local2.gotoAndStop(1);
glide = false;
hit_volution = undefined;
rock_deepness = 0;
speedx = 0;
speedy = 0;
timestop = 0;
leven = 0;
rock_zt = "start";
if (gameEMC.real_display != undefined) {
gameEMC.real_display.gotoAndStop("highscoredisplay");
}
play_bg("bg4");
getMouseIncept();
}
function MoveAll(distance) {
game_map._x = game_map._x - distance;
game_rock._x = game_rock._x - distance;
game_object._x = game_object._x - distance;
game_player._x = game_player._x - distance;
game_shui._x = game_shui._x - distance;
AttachMap();
}
function MoveAll2(distance) {
if (distance == 1000000) {
game_rock._y = game_rock._y + (-game_map._y);
game_map._y = 0;
game_object._y = 0;
game_shui._y = 0;
game_player._y = player_start_y;
} else if ((game_map._y - distance) < 0) {
game_map._y = game_map._y - distance;
game_rock._y = game_rock._y - distance;
game_object._y = game_object._y - distance;
game_player._y = game_player._y - distance;
game_shui._y = game_shui._y - distance;
} else {
MoveAll2(1000000);
}
}
function AttachMap() {
for (var _local4 in game_map) {
if (((game_map[_local4]._x + game_map._x) < 50) and (game_map["map_mc" + (game_map[_local4].map_number + 1)] == undefined)) {
var _local1 = game_map.attachMovie("map_mc", "map_mc" + map_ping, map_ping);
_local1._x = game_map[_local4]._x + 550;
_local1.map_number = map_ping;
var _local3 = game_shui.attachMovie("shuimian", "shuimian" + map_ping, map_ping);
_local3._y = 401;
_local3._x = game_map[_local4]._x + 550;
if ((map_ping - (mapline.length * leven)) < mapline.length) {
if ((map_ping - (mapline.length * leven)) == 1) {
_local1.gotoAndStop(_local1._totalframes);
_local1.diMC.gotoAndStop(_local1._totalframes);
} else {
_local1.gotoAndStop(mapline[(map_ping - (mapline.length * leven)) - 1]);
_local1.diMC.gotoAndStop(mapline[(map_ping - (mapline.length * leven)) - 1]);
}
} else {
leven++;
_local1.gotoAndStop(mapline[mapline.length - 1]);
}
map_ping++;
}
if ((game_map[_local4]._x + game_map._x) < -550) {
game_shui["shuimian" + game_map[_local4].map_number].removeMovieClip();
game_map[_local4].removeMovieClip();
}
var _local2 = GetGlobalPlace(game_map[_local4].diMC);
if ((_local2.y > -1) and (game_map[_local4].diMC._visible == true)) {
game_map[_local4].diMC.gotoAndStop("empty");
} else if ((_local2.y <= -1) and (game_map[_local4].diMC._currentframe > 31)) {
game_map[_local4].diMC.gotoAndStop(game_map[_local4]._currentframe);
}
}
}
function displayscore(Num) {
gameing = false;
trace((score + " ") + max_score);
if (score > max_score) {
max_score = score;
var _local1 = SharedObject.getLocal("savescore");
_local1.data.score = max_score;
_local1.flush(1000);
gameEMC.real_display.gotoAndStop("highscoredisplay");
DisplayNumber(gameEMC.earth.best, max_score);
} else {
gameEMC.real_display.gotoAndStop("maxdisplay");
}
}
function afresh_game() {
mask.removeMovieClip();
gameEMC.removeMovieClip();
startgame();
}
function DisplayNumber(who, num) {
var _local4 = who.N2._x - who.N1._x;
who._x = (who.start_x - (_local4 * 8)) + ((String(num).length * _local4) / 2);
var _local1 = 1;
while (_local1 < 9) {
if (_local1 > String(num).length) {
who["N" + (9 - _local1)].gotoAndStop(1);
who["N" + (9 - _local1)]._visible = false;
} else {
who["N" + (9 - _local1)]._visible = true;
who["N" + (9 - _local1)].gotoAndStop(Number(String(num).charAt(String(num).length - _local1)) + 1);
}
_local1++;
}
}
function ChengColor(MC, type) {
var _local3 = new Color(MC);
var _local1 = new Object();
if (type == 0) {
_local1 = {ra:"100", rb:"0", ga:"100", gb:"0", ba:"100", bb:"0"};
} else if (type == 1) {
_local1 = {ra:"100", rb:"-75", ga:"100", gb:"60", ba:"100", bb:"-19"};
} else if (type == 2) {
_local1 = {ra:"100", rb:"-5", ga:"18", gb:"60", ba:"23", bb:"250"};
} else if (type == 3) {
_local1 = {ra:"100", rb:"134", ga:"100", gb:"18", ba:"-33", bb:"190"};
}
_local3.setTransform(_local1);
}
function playagain() {
mask.removeMovieClip();
gameEMC.removeMovieClip();
gotoAndStop ("startgame");
}
function GetGlobalPlace(who) {
var _local1 = new Object();
_local1.x = who._x;
_local1.y = who._y;
who._parent.localToGlobal(_local1);
return(_local1);
}
function getMouseIncept() {
this.attachMovie("incept", "incept", this.getNextHighestDepth());
incept.onPress = function () {
if (shootStep == 1) {
game_player.gotoAndStop("shooting");
game_player.angleMC._rotation = startRotation + 20;
game_player.angleMC.mc._yscale = 0;
game_player.onEnterFrame = function () {
if (!dithering) {
if ((((this.angleMC._rotation + speedRotation) < startRotation) and (speedRotation < 0)) or (((this.angleMC._rotation + speedRotation) > endRotation) and (speedRotation > 0))) {
speedRotation = speedRotation * -1;
ditheringPower = speedRotation / 2;
ditheringTime = 0;
dithering = true;
return(undefined);
}
this.angleMC._rotation = this.angleMC._rotation + speedRotation;
this.arm._rotation = this.arm._rotation - 15;
} else {
if ((++ditheringTime) == 10) {
ditheringPower = ditheringPower * -0.5;
ditheringTime = 0;
}
if (Math.abs(ditheringPower) <= 0.5) {
dithering = false;
return(undefined);
}
this.angleMC._rotation = this.angleMC._rotation + ditheringPower;
this.arm._rotation = this.arm._rotation - 15;
}
};
shootStep = 2;
} else if (shootStep == 2) {
delete game_player.onEnterFrame;
shoot_zt = true;
game_player.gotoAndStop("shooting");
CircumrotateArm();
_root.gameEMC.attachMovie("real_display", "real_display", _root.gameEMC.getNextHighestDepth(), {_x:275, _y:100});
_root.gameEMC.real_display.gotoAndStop("empty");
shootStep = 3;
} else if (shootStep == 3) {
this.gotoAndStop("shooted");
shoot_zt = false;
var _local3 = ((game_player.angleMC.mc._yscale * 0.28) * (((game_player.angleMC._yscale - 50) * 0.02) + 1)) + 5;
ShootRock(_local3, game_player.angleMC._rotation, (game_player.arm._x + game_player._x) + (40 * Math.sin(game_player.angleMC._rotation / 57.2957795785523)), (game_player.arm._y + game_player._y) - (40 * Math.cos(game_player.angleMC._rotation / 57.2957795785523)));
_root.gameEMC.real_display.gotoAndStop("scoredisplay");
_root.stop_soundAction("s_electricity");
if (game_player.fire) {
_root.play_soundAction2("s_shoot", 100);
} else {
_root.play_soundAction2("s_shoot", 10);
}
_root.game_player.plane.stop("S_plane");
speedRotation = 4;
speedPower = 5;
shootStep = 1;
speedBigPower = 0.1;
this.removeMovieClip();
}
};
}
function ShootRock(power, angle, startx, starty) {
gameing = true;
game_rock = gameEMC.attachMovie("rock", "rock", this.gameEMC.getNextHighestDepth());
game_rock.swapDepths(game_player);
game_rock._x = startx;
game_rock._y = starty;
game_rock._xscale = (game_rock._yscale = 60);
speedx = power * Math.sin(angle / 57.295779579);
speedy = (-power) * Math.cos(angle / 57.295779579);
rock_fly_zt = true;
game_rock.onEnterFrame = function () {
if (this._xscale < 100) {
this._xscale = this._xscale + 0.5;
this._yscale = this._yscale + 0.5;
}
if (_root.hit_volution == undefined) {
if (!glide) {
if (_root.timestop > 1) {
_root.timestop--;
} else {
this._x = this._x + _root.speedx;
this._y = this._y + _root.speedy;
}
if ((_root.speedx > 25) and (game_map._y == 0)) {
this.blink._visible = true;
} else {
this.blink._visible = false;
}
if (_root.game_map._y < -20) {
if (this._currentframe != 61) {
this.gotoAndStop("coast2");
}
} else if (this._currentframe != 1) {
this.gotoAndStop("fly");
}
if (((((game_map._y < 0) and (_root.speedy < 0)) and ((game_map._y - _root.speedy) > -8)) and (_root.speedy < -10)) and (game_object.flower4 == undefined)) {
var _local5 = _root.game_object.attachMovie("flower4", "flower4", _root.game_object.getNextHighestDepth());
_local5._x = ((-_root.game_object._x) + this._x) + 20;
_root.stop_soundAction("s_thrash");
_root.play_soundAction("s_flip", false, 0.1);
_local5._y = 380;
}
if (this._y > 360) {
this._y = 360;
_root.speedy = _root.speedy * (-1 * _root.eject);
_root.speedx = _root.speedx * _root.eject;
var _local3;
for (var _local4 in _root.game_map) {
if (_root.game_map[_local4].hitTest(this._x, this._y, true)) {
if (_root.game_map[_local4].ftype == undefined) {
_local3 = "flower1";
} else if (_root.game_map[_local4].ftype == 3) {
_local3 = "flower2";
} else if (_root.game_map[_local4].ftype == 2) {
_local3 = "flower3";
}
}
}
if (this._x > 200) {
var _local5 = _root.game_object.attachMovie(_local3, "flower" + _root.game_object.getNextHighestDepth(), _root.game_object.getNextHighestDepth());
_local5._xscale = Math.abs(_root.speedy * 3) + 20;
_local5._yscale = Math.abs(_root.speedy * 3) + 20;
}
_local5._x = (-_root.game_object._x) + this._x;
_local5._y = 370;
if (this._rotation > 60) {
if (this._x < player_start_x) {
_root.rock_fly_zt = false;
this.gotoAndStop("erect");
_root.play_soundAction("luodi", false, 0.2);
delete _root.gameEMC.real_display.onEnterFrame;
delete this.onEnterFrame;
_root.displayscore(this._x);
} else {
_root.play_soundAction("s_lose", false, 0.28);
_root.play_soundAction("s_bleb");
this.gotoAndPlay("disappear");
glide = true;
_root.speedx = 1;
_root.speedy = 0;
rock_deepness = 0;
}
} else if (((Math.abs(_root.speedy) <= Min_yspeed) or (Math.abs(_root.speedx) <= Min_xspeed)) and (this._x > player_start_x)) {
_root.play_soundAction("s_thrash3");
glide = true;
this.w_flower._visible = true;
_root.speedy = 0;
_root.speedx = Min_xspeed;
rock_deepness = 0;
} else if (this._x > 200) {
_root.play_soundAction("s_flip");
} else {
_root.play_soundAction("luodi");
}
}
if ((this._x < 0) and (speedx < 0)) {
speedx = speedx * -0.95;
}
if ((((this._x - _root.game_map._x) < 260) and (this._y < 0)) and (speedy < 0)) {
speedy = speedy * -0.9;
_root.play_soundAction("luodi", false, 0.2);
}
_root.speedx = _root.speedx * (1 - _root.air_resistance);
if (_root.timestop > 1) {
} else {
_root.speedy = _root.speedy + _root.gravity;
}
this._rotation = Math.atan(_root.speedy / _root.speedx) * 57.29578;
if (this._x > _root.rock_max_x) {
_root.MoveAll(this._x - _root.rock_max_x);
}
if ((game_map._y < 0) and (_root.timestop >= 1)) {
if ((game_map._y - _root.speedy) < 0) {
_root.MoveAll2(_root.speedy);
} else {
_root.MoveAll2(1000000);
}
}
} else if (rock_zt == "whale") {
} else {
this.blink._visible = false;
this._x = this._x + _root.speedx;
this._y = this._y + _root.speedy;
if (_root.speedx >= 4.5) {
this.w_flower.gotoAndStop(2);
} else {
this.w_flower.gotoAndStop(1);
}
if ((_root.speedx > 2.5) and (game_map._y >= -10)) {
_root.speedy = 0;
this._rotation = -5;
} else if (game_map._y >= -530) {
if (this._rotation != 0) {
_root.play_soundAction("s_bleb");
}
this._rotation = 0;
_root.speedy = _root.speedy + 0.04;
if (this.mc._rotation < 30) {
this.mc._rotation = this.mc._rotation + 0.2;
}
this.w_flower._visible = false;
this.gotoAndStop("coast");
}
_root.speedx = _root.speedx * 0.99;
if (this._x > _root.rock_max_x) {
_root.MoveAll(this._x - _root.rock_max_x);
}
rock_deepness = rock_deepness + (_root.speedy * 1.02);
_root.MoveAll2(_root.speedy * 1.02);
if (game_map._y <= -530) {
delete this.onEnterFrame;
_root.stop_soundAction("s_bleb");
_root.play_soundAction("luodi");
this.gotoAndStop("down");
delete _root.gameEMC.real_display.onEnterFrame;
_root.displayscore(this._x);
}
}
} else if (_root.hit_volution != undefined) {
this.blink._visible = false;
this._x = (game_object._x + _root.hit_volution._x) + _root.hit_volution.mc._x;
this._y = (game_object._y + _root.hit_volution._y) + _root.hit_volution.mc._y;
this._rotation = _root.hit_volution.mc._rotation;
_root.MoveAll(_root.hit_volution.move_x);
_root.MoveAll2(_root.hit_volution.move_y);
if (_root.hit_volution._totalframes == _root.hit_volution._currentframe) {
if (_root.hit_volution.power != undefined) {
_root.speedx = _root.hit_volution.power;
_root.speedy = -_root.hit_volution.power;
} else {
_root.speedx = 40;
_root.speedy = -40;
}
_root.hit_volution = undefined;
glide = false;
_root.MoveAll2(1000000);
}
}
_root.score = Math.floor((((-_root.game_object._x) + this._x) - _root.player_start_x) / 10);
_root.score = ((_root.score < 0) ? 0 : (_root.score));
_root.gameEMC.earth.gotoAndStop(Math.floor(((map_ping - (mapline.length * leven)) / mapline.length) * 100));
};
}
function CircumrotateArm() {
game_player.arm_speed = 15;
game_player.cyclone_speed = 10;
var tetotal = 15;
var flyspeed = 0.8;
game_player.plane = new Sound(game_player);
game_player.plane.attachSound("S_plane");
game_player.sound_dx = 0;
game_player.addhigth = 0;
game_player.angleMC.mc._yscale = 0;
game_player.onEnterFrame = function () {
if (!_root.shoot_zt) {
this.arm._visible = false;
this.body.head.gotoAndStop(1);
if (this.arm_speed < 5) {
this.body._visible = false;
this.arm._rotation = 0;
if (this.addhigth != 0) {
this.gotoAndStop("dorp");
} else if (this.addhigth == 0) {
this.gotoAndStop("shooted");
}
if ((this.addhigth - 5) > 0) {
this._y = this._y + 5;
this.addhigth = this.addhigth - 5;
} else if (this._y != _root.player_start_y) {
this.addhigth = 0;
this.gotoAndStop("shooted");
delete this.onEnterFrame;
}
} else {
this.arm_speed = this.arm_speed * 0.7;
this.arm._rotation = this.arm._rotation - this.arm_speed;
this.arm.mc._visible = false;
}
this.cyclone.removeMovieClip();
this.fire.removeMovieClip();
this.electricity.removeMovieClip();
_root.game_map.map_mc1.m1.gotoAndStop(1);
_root.game_map.map_mc1.m2.gotoAndStop(1);
_root.game_map.map_mc1.m3.gotoAndStop(1);
_root.game_map.map_mc1.m4.gotoAndStop(1);
_root.game_map.map_mc1.m5.gotoAndStop(1);
_root.game_map.map_mc1.m6.gotoAndStop(1);
} else {
if ((this.angleMC.mc._yscale + speedPower) < 0) {
speedPower = speedPower * -1;
this.angleMC.mc._yscale = 0;
} else if ((this.angleMC.mc._yscale + speedPower) > 100) {
speedPower = speedPower * -1;
this.angleMC.mc._yscale = 100;
} else {
this.angleMC.mc._yscale = this.angleMC.mc._yscale + speedPower;
}
this.arm._rotation = this.arm._rotation - this.arm_speed;
this.arm_speed = this.arm_speed + 0.04;
if (this.fire) {
if (((this.angleMC._yscale + speedBigPower) < 100) and (speedBigPower != 0)) {
this.angleMC._xscale = this.angleMC._xscale + speedBigPower;
this.angleMC._yscale = this.angleMC._yscale + speedBigPower;
if (speedPower > 0) {
speedPower = speedPower + 0.01;
} else {
speedPower = speedPower - 0.01;
}
} else {
speedBigPower = 0;
this.angleMC._xscale = (this.angleMC._yscale = 100);
}
}
if (this.arm_speed > _root.max_power) {
this.arm_speed = _root.max_power;
}
if ((this.arm_speed > (_root.max_power * 0.7)) and (!this.cyclone)) {
this.attachMovie("cyclone", "cyclone", this.getNextHighestDepth());
this.cyclone._x = this.arm._x;
this.cyclone._y = this.arm._y;
this.cyclone._alpha = 30;
}
if ((this.arm_speed > (_root.max_power * 0.8)) and (!this.fire)) {
this.attachMovie("fire", "fire", this.getNextHighestDepth());
this.fire.swapDepths(this.body);
this.arm.swapDepths(this.body.getDepth());
this.fire._xscale = 50;
this.fire._yscale = 50;
this.fire._x = -5;
this.fire._y = 8;
this.body.gotoAndPlay("frame2");
this.body.head.gotoAndStop(2);
this.plane.start(0, 99);
this.plane.setVolume(this.sound_dx);
}
if (this.cyclone) {
this.cyclone._rotation = this.cyclone._rotation - this.cyclone_speed;
this.cyclone_speed = this.cyclone_speed + 0.2;
if (this.cyclone_speed > 40) {
this.cyclone_speed = 40;
}
if ((this.arm_speed >= (root.max_power * 0.9)) and (!this.electricity)) {
_root.game_map.map_mc1.m1.play();
_root.game_map.map_mc1.m2.play();
_root.game_map.map_mc1.m3.play();
this.attachMovie("electricity", "electricity", this.getNextHighestDepth());
this.electricity._x = this.arm._x;
this.electricity._y = this.arm._y;
this.electricity._xscale = (this.electricity._yscale = 70);
}
if (this.arm_speed == (_root.max_power - 2)) {
_root.game_map.map_mc1.m4.play();
_root.game_map.map_mc1.m5.play();
_root.game_map.map_mc1.m6.play();
}
}
if (this.fire) {
if (this.sound_dx < 100) {
this.sound_dx = this.sound_dx + 0.2;
this.plane.setVolume(this.sound_dx);
}
if (this.fire._xscale < 100) {
this.fire._xscale = this.fire._xscale + 0.5;
this.fire._yscale = this.fire._yscale + 0.5;
} else {
_root.game_map.map_mc1.m1.gotoAndPlay(_root.game_map.map_mc1.m1._currentframe + 1);
_root.game_map.map_mc1.m2.gotoAndPlay(_root.game_map.map_mc1.m1._currentframe + 1);
_root.game_map.map_mc1.m3.gotoAndPlay(_root.game_map.map_mc1.m1._currentframe + 1);
_root.game_map.map_mc1.m4.gotoAndPlay(_root.game_map.map_mc1.m1._currentframe + 1);
_root.game_map.map_mc1.m5.gotoAndPlay(_root.game_map.map_mc1.m1._currentframe + 1);
_root.game_map.map_mc1.m6.gotoAndPlay(_root.game_map.map_mc1.m1._currentframe + 1);
tetotal--;
if (tetotal >= 0) {
if (this._y <= 160) {
tetotal = 0;
}
this._y = this._y - flyspeed;
this.addhigth = this.addhigth + flyspeed;
this.fire._y = this.fire._y + flyspeed;
} else if ((tetotal < 0) and (tetotal > -7)) {
this._y = this._y + flyspeed;
this.addhigth = this.addhigth - flyspeed;
this.fire._y = this.fire._y - flyspeed;
} else {
tetotal = 15;
}
this.fire.gotoAndPlay(this.fire._currentframe + 1);
}
}
}
};
}
function AttathProp(placex, placey, type) {
var _local3 = game_object.attachMovie("prop", "prop" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex;
_local3._y = placey;
_local3.gotoAndStop(type);
_local3.mc.gotoAndStop("slack");
_local3.hit_zt = false;
_local3.thismovex = 0;
if ((type == 7) or (type == 8)) {
var _local7 = random(3);
if (_local7 == 0) {
_local3 = game_object.attachMovie("prop", "prop" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex + 50;
_local3._y = placey;
_local3.gotoAndStop(type);
_local3.mc.gotoAndStop("slack");
_local3.hit_zt = false;
} else if (_local7 == 1) {
_local3 = game_object.attachMovie("prop", "prop" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex + 50;
_local3._y = placey;
_local3.gotoAndStop(type);
_local3.mc.gotoAndStop("slack");
_local3.hit_zt = false;
_local3 = game_object.attachMovie("prop", "prop" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex - 50;
_local3._y = placey;
_local3.gotoAndStop(type);
_local3.mc.gotoAndStop("slack");
_local3.hit_zt = false;
}
}
if ((type == 20) and (placey > 400)) {
var _local6 = random(50) + 50;
_local3._xscale = _local6;
_local3._yscale = _local6;
}
_local3.onEnterFrame = function () {
displayWho(this);
this._x = this._x + this.thismovex;
this.thismovex = ((Math.abs(this.thismovex) > 0.2) ? (this.thismovex * 0.98) : 0);
if ((type < 20) and gameing) {
this.onRollOver = function () {
if ((!this.mouseover) and (type < 20)) {
this.mouseonx = this._xmouse;
this._y = this._y + 3;
}
};
this.onRollOut = function () {
if ((!this.mouseover) and (type < 20)) {
if (this._xmouse > this.mouseonx) {
this.thismovex = 6;
} else {
this.thismovex = -6;
}
this._y = this._y - 3;
this.mouseover = true;
}
};
}
if ((this.hit_mc.hitTest(_root.game_rock.hit_mc) and (type != 20)) and (_root.speedy >= 0)) {
this.hit_zt = true;
this.hit_mc.gotoAndStop(2);
_root.speedy = -_root.speedy;
if (Math.abs(_root.speedy) > 22) {
_root.timestop = 10;
}
_root.stop_soundAction("s_thrash3");
_root.stop_soundAction("s_bleb");
}
if (((glide and _root.rock_fly_zt) and this.hit_mc.hitTest(_root.game_rock.hit_mc)) and (type == 20)) {
_root.stop_soundAction("s_thrash3");
_root.stop_soundAction("s_bleb");
glide = false;
this.hit_zt = true;
this.hit_mc.gotoAndStop(2);
this.mc.gotoAndStop("rebound");
_root.timestop = 8;
}
if (this.hit_zt) {
if (_root.timestop <= 3) {
this.mc.gotoAndStop("rebound");
this.hit_zt = false;
if ((type >= 1) and (type <= 5)) {
_root.play_soundAction("s_prop2");
game_rock.w_flower._visible = false;
_root.speedx = _root.speedx + (10 + random(8));
if (glide) {
glide = false;
_root.speedy = 10 + random(8);
} else if (_root.speedy < 0) {
_root.speedy = _root.speedy - (8 + random(8));
} else {
_root.speedy = _root.speedy + (8 + random(8));
}
} else if ((type >= 6) and (type <= 9)) {
_root.play_soundAction("s_prop4");
_root.speedy = _root.speedy * 0.8;
if (_root.speedy < 4) {
_root.speedy = 4;
}
} else if ((type >= 10) and (type <= 14)) {
_root.play_soundAction("s_prop4");
_root.speedx = _root.speedx * 0.8;
if (_root.speedx < 4) {
_root.speedx = 4;
}
} else if ((type >= 15) and (type <= 19)) {
_root.play_soundAction("s_prop2");
game_rock.w_flower._visible = false;
if (glide) {
glide = false;
_root.speedy = -10;
} else if (_root.speedy <= 0) {
_root.speedy = _root.speedy - 10;
} else {
_root.speedy = _root.speedy + 10;
}
} else if (type == 20) {
_root.speedx = 25 + random(20);
_root.speedy = -(30 + (this._xscale / 50));
_root.play_soundAction("s_thrash");
_root.play_soundAction("s_prop2");
}
}
}
if ((this._x + _root.game_object._x) < -200) {
this.removeMovieClip();
}
};
}
function AttachFish(placex, placey) {
var _local3 = game_object.attachMovie("fish", "fish" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex;
_local3._y = placey;
_local3.gotoAndStop("slack");
_local3.hit_zt = false;
_local3.speedx = (random(40) / 10) + 2;
_local3._xscale = (_local3._yscale = random(40) + 60);
ChengColor(_local3, random(4));
_local3._xscale = (_local3._yscale = random(40) + 60);
_local3.onEnterFrame = function () {
displayWho(this);
if (!this.hit_zt) {
this._x = this._x + this.speedx;
} else {
this._x = this._x + 18;
}
var _local3 = this._x + game_object._x;
this.onRollOver = function () {
if ((!this.mouseover) and gameing) {
this.speedx = this.speedx * -2;
this.mouseover = true;
this._xscale = -100;
}
};
if (this.hit_mc.hitTest(_root.game_rock.hit_mc) and (_root.speedy > 0)) {
this.speedx = 3;
this._xscale = 100;
this.hit_mc.gotoAndStop(2);
_root.speedy = -1.5;
_root.speedx = _root.speedx * 1.5;
_root.play_soundAction("s_fish");
rock_deepness = rock_deepness + (_root.speedy * 1.02);
_root.MoveAll2(_root.speedy * 1.02);
this.gotoAndPlay("rebound");
_root.timestop = 8;
}
if ((_local3 < -550) or (_local3 > 1100)) {
this.removeMovieClip();
}
};
}
function displayWho(who) {
var _local2 = GetGlobalPlace(who);
if ((_local2.y > 440) and (who._visible == true)) {
who._visible = false;
} else if ((_local2.y <= 440) and (who._visible == false)) {
who._visible = true;
}
}
function Attachwhale(placex, placey) {
var _local3 = game_object.attachMovie("whale", "whale" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex;
_local3._y = placey;
_local3.gotoAndStop("swim");
_local3.hit_zt = false;
_local3.speedx = (random(30) / 10) + 2;
_local3.suck_zt = false;
_local3.onEnterFrame = function () {
displayWho(this);
if (!this.hit_zt) {
this._x = this._x + this.speedx;
}
var _local3 = this._x + game_object._x;
this.onRollOver = function () {
if ((!this.mouseover) and gameing) {
this.speedx = this.speedx * -0.5;
this.mouseover = true;
}
};
if (this.hit_mc.hitTest(_root.game_rock.hit_mc) and (_root.speedy > 0)) {
this.speedx = 3;
_root.speedy = -1.5;
_root.speedx = _root.speedx * 1.5;
_root.play_soundAction("s_fish");
rock_deepness = rock_deepness + (_root.speedy * 1.02);
_root.MoveAll2(_root.speedy * 1.02);
_root.timestop = 8;
}
if ((this.hit_mc2.hitTest(_root.game_rock.hit_mc) and (_root.speedy > 0)) and _root.game_rock._visible) {
this.swapDepths(game_object.getNextHighestDepth());
_root.stop_soundAction("s_bleb");
rock_zt = "whale";
this.speedx = 0;
_root.speedy = 0;
_root.speedx = 0;
_root.game_rock._visible = false;
this.gotoAndStop("suck");
}
if (this.suck_zt) {
if (this._y > 400) {
this._y = this._y - 0.6;
_root.MoveAll2(-0.63);
this._x = this._x + 1;
_root.game_rock._y = this._y + this._parent._y;
_root.game_rock._x = this._x + this._parent._x;
_root.MoveAll(1);
} else if (this._currentframe == 1) {
_root.play_soundAction("s_gush");
rock_deepness = 0;
this.gotoAndStop("spit");
}
}
if ((_local3 < -200) or (_local3 > 1100)) {
this.removeMovieClip();
}
};
}
function AttachVolution(placex, placey, power) {
var _local4 = game_object.attachMovie("volution", "volution" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local4._x = placex;
_local4._y = placey;
if (power) {
_local4.power = power;
}
_local4.onEnterFrame = function () {
var _local3 = 0;
while (_local3 < 7) {
if (this["hit_mc" + _local3].hitTest(_root.game_rock.hit_mc)) {
_root.stop_soundAction("s_thrash");
_root.stop_soundAction("s_thrash3");
_root.stop_soundAction("s_bleb");
_root.play_soundAction("s_suck");
_root.speedy = 0;
_root.speedx = 0;
_root.hit_volution = this;
this.gotoAndPlay(this.rock_frame[_local3]);
game_rock._alpha = 70;
game_rock.w_flower._visible = false;
delete this.onEnterFrame;
}
_local3++;
}
};
}
function AttachFish2(placex, placey) {
var _local3 = game_object.attachMovie("fish2", "fish2" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex;
_local3._y = placey;
_local3.gotoAndStop("slack");
_local3.hit_zt = false;
_local3.speedx = (random(10) / 10) + 1;
_local3._xscale = (_local3._yscale = random(30) + 70);
ChengColor(_local3, random(4));
_local3.onEnterFrame = function () {
displayWho(this);
this._x = this._x + this.speedx;
var _local3 = this._x + game_object._x;
this.onRollOver = function () {
if ((!this.mouseover) and gameing) {
this.speedx = this.speedx * -0.5;
this.mouseover = true;
}
};
if (((!this.hit_zt) and this.hit_mc.hitTest(_root.game_rock.hit_mc)) and (_root.speedy >= 0)) {
_root.timestop = 10;
_root.stop_soundAction("s_thrash3");
_root.stop_soundAction("s_bleb");
this.hit_mc.gotoAndStop(2);
this.gotoAndStop("rebound");
glide = false;
this.hit_zt = true;
}
if (this.hit_zt) {
if (_root.timestop > 1) {
_root.timestop--;
} else {
_root.speedx = 15 + random(10);
_root.speedy = -(18 + (this._xscale / 10));
this.hit_zt = false;
_root.play_soundAction("s_thrash");
_root.play_soundAction("s_prop2");
}
}
_local3 = this._x + game_object._x;
if ((_local3 < -550) or (_local3 > 1100)) {
this.removeMovieClip();
}
};
}
function AttachFish3(placex, placey) {
var _local3 = game_object.attachMovie("fish3", "fish" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex;
_local3._y = placey;
_local3.gotoAndStop("slack");
_local3.hit_zt = false;
_local3.speedx = (random(40) / 10) + 2;
_local3._xscale = (_local3._yscale = random(20) + 80);
ChengColor(_local3, random(4));
_local3.mouseover = false;
_local3.onEnterFrame = function () {
displayWho(this);
if (!this.hit_zt) {
this._x = this._x + this.speedx;
} else {
this._x = this._x + 18;
}
var _local3 = this._x + game_object._x;
this.onRollOver = function () {
if ((!this.mouseover) and gameing) {
this.speedx = this.speedx * 4;
this.mouseover = true;
}
};
if (this.hit_mc.hitTest(_root.game_rock.hit_mc) and (_root.speedy > 0)) {
this.hit_zt = true;
_root.game_rock.mc._rotation = -3;
_root.speedx = 3;
this.hit_mc.gotoAndStop(2);
_root.speedy = -1.5;
_root.speedx = _root.speedx * 1.5;
_root.play_soundAction("s_fish");
rock_deepness = rock_deepness + (_root.speedy * 1.02);
_root.MoveAll2(_root.speedy * 1.02);
this.gotoAndPlay("rebound");
_root.timestop = 8;
}
if ((_local3 < -550) or (_local3 > 1100)) {
this.removeMovieClip();
}
};
}
function AttachFish4(placex, placey) {
var _local3 = game_object.attachMovie("fish4", "fish4" + game_object.getNextHighestDepth(), game_object.getNextHighestDepth());
_local3._x = placex;
_local3._y = placey;
_local3.gotoAndStop("slack");
_local3.speedx = (random(10) / 10) + 2;
_local3._xscale = (_local3._yscale = random(40) + 60);
ChengColor(_local3, random(4));
_local3.onEnterFrame = function () {
displayWho(this);
this._x = this._x + this.speedx;
this.onRollOver = function () {
if ((!this.mouseover) and gameing) {
this.speedx = this.speedx * 2;
this.mouseover = true;
}
};
if (this.hit_mc.hitTest(_root.game_rock.hit_mc) and (_root.speedy >= 0)) {
_root.speedx = 5;
this.hit_mc.gotoAndStop(2);
_root.speedy = -1.5;
_root.speedx = _root.speedx * 1.5;
_root.game_rock.mc._rotation = -10;
_root.play_soundAction("s_fish");
rock_deepness = rock_deepness + (_root.speedy * 1.02);
_root.MoveAll2(_root.speedy * 1.02);
this.gotoAndPlay("rebound");
_root.timestop = 8;
var _local3 = this._x + game_object._x;
}
if ((_local3 < -550) or (_local3 > 1100)) {
this.removeMovieClip();
}
};
}
function play_bg(what) {
if (soundMC == undefined) {
this.createEmptyMovieClip("soundMC", this.getNextHighestDepth());
soundMC.bg_sound = new Sound(soundMC);
}
soundMC.loadfinish = false;
soundMC.onEnterFrame = function () {
if ((bg_volume <= 0) and (!this.loadfinish)) {
bg_volume = 0;
this.bg_sound.stop(bg_sound);
this.bg_sound.attachSound(what);
this.bg_sound.start(0, 999);
bg_sound.setVolume(0);
this.loadfinish = true;
}
if ((bg_volume < 100) and this.loadfinish) {
bg_volume = bg_volume + add_volume;
this.bg_sound.setVolume(bg_volume);
}
if ((bg_volume > 0) and (!this.loadfinish)) {
bg_volume = bg_volume - add_volume;
this.bg_sound.setVolume(bg_volume);
}
};
}
function play_soundAction2(what, s_volume, cyc, time) {
if (this[what] == undefined) {
this.createEmptyMovieClip(what + "MC", this.getNextHighestDepth());
this[what] = new Sound(what + "MC");
this[what].attachSound(what);
}
if (!cyc) {
this[what].stop(what);
if (time != undefined) {
this[what].start(time, 1);
} else {
this[what].start(0, 1);
this[what].setVolume(s_volume);
}
} else {
this[what].start(0, 999);
}
}
function play_soundAction(what, cyc, time) {
if (this[what] == undefined) {
this[what] = new Sound();
this[what].attachSound(what);
}
if (!cyc) {
this[what].stop(what);
if (time != undefined) {
this[what].start(time, 1);
} else {
this[what].start(0, 1);
}
} else {
this[what].start(0, 999);
}
}
function stop_soundAction(what) {
this[what].stop(what);
}
function play_music(what, cyc) {
if (this[what] == undefined) {
this[what] = new Sound();
this[what].attachSound(what);
}
if (now_music != what) {
now_music = what;
stopAllSounds();
if (!cyc) {
this[what].start();
} else {
this[what].start(0, 999);
}
}
}
Stage.scaleMode = "noScale";
myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
fscommand ("trapallkeys", true);
var game_map;
var game_rock;
var game_player;
var game_object;
var game_shui;
var score = 0;
var max_power = 30;
var air_resistance = 0;
var gravity = 0.7;
var eject = 0.9;
var speedx;
var speedy;
var map_ping;
var rock_max_x = 200;
var shoot_zt = false;
var rock_fly_zt = false;
var player_start_x = 166;
var player_start_y = 383;
Min_xspeed = 8;
Min_yspeed = 8;
var hit_volution = undefined;
var glide = false;
var timestop = 0;
var rock_deepness;
var mapline = new Array();
var stopsound = false;
var leven = 0;
mapline = [1, 2, 2, 2, 2, 2, 2, 2, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 10, 10, 10, 10, 10, 10, 10, 10, 10, 10, 11, 12, 12, 12, 12, 12, 12, 12, 12, 12, 13, 14, 14, 14, 14, 14, 14, 14, 14, 14, 14, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 18, 18, 18, 18, 18, 18, 18, 18, 18, 18, 19, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 24, 24, 24, 24, 24, 24, 24, 24, 24, 24, 25, 26, 26, 26, 26, 26, 26, 26, 26, 26, 26, 27, 28, 28, 28, 28, 28, 28, 28, 28, 28, 28, 29, 30, 30, 30, 30, 30, 30, 30, 30, 30, 30];
var maptype = new Array();
var rock_zt;
var gameing = false;
var play_bgm = 1;
var i = 1;
while (i < 33) {
if (this["terandom" + i] != undefined) {
this["terandom" + i] = undefined;
}
i++;
}
var shootStep = 1;
var startRotation = -20;
var endRotation = 160;
var speedRotation = 4;
var speedPower = 5;
var startBigPower = 50;
var endBigPower = 100;
var speedBigPower = 0.1;
var dithering = false;
var ditheringPower;
var ditheringTime;
var allsound = new Sound(this);
var bg_volume = 0;
var add_volume = 2;
var savedata = SharedObject.getLocal("savescore");
if (savedata.data.score != undefined) {
var max_score = savedata.data.score;
} else {
var max_score = 0;
}
stop();
Frame 10
gotoAndStop ("startgame");
Frame 20
stop();
play_music("bgm", true);
Frame 33
startgame();
Symbol 6 Button
on (release) {
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 7 MovieClip Frame 2
_parent.mcAnimation.play();
stop();
Symbol 7 MovieClip Frame 13
_parent.gotoAndPlay("preload");
stop();
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 60
Symbol 23 MovieClip Frame 121
_parent.mcBackground.play();
stop();
Symbol 28 MovieClip Frame 1
this._visible = false;
Symbol 34 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 39 MovieClip Frame 2
if (_url.indexOf("http") > -1) {
if (_parent._parent._parent.loadAdNow) {
cacheBuster = getTimer() + random(999999);
showAd = "http://www.miniclip.com/swfcontent/push/didyouknow.swf?cacheBuster" + cacheBuster;
trace("Loading ad: " + showAd);
mcAd.loadMovie(showAd);
} else {
gotoAndPlay(_currentframe - 1);
}
}
Symbol 39 MovieClip Frame 4
if ((mcAd.getBytesTotal() != 0) && (mcAd.getBytesLoaded() == mcAd.getBytesTotal())) {
gotoAndStop ("showAd");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 39 MovieClip Frame 12
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 100
stop();
Symbol 51 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 12
_root.play();
_root.isFinished = true;
_parent.stop();
stop();
Symbol 52 MovieClip Frame 1
loadAdNow = false;
_root.stop();
play();
Instance of Symbol 28 MovieClip "mcIntro" in Symbol 52 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 52 MovieClip Frame 2
xPos = _x;
yPos = _y;
mcBackground._x = mcBackground._x - xPos;
mcBackground._y = mcBackground._y - yPos;
mcAnimation._x = mcAnimation._x - xPos;
mcAnimation._y = mcAnimation._y - yPos;
var stageWidth = Stage.width;
var stageHeight = Stage.height;
var centerStageX = (stageWidth / 2);
var centerStageY = (stageHeight / 2);
mcBackground._width = stageWidth;
mcBackground._height = stageHeight;
mcAnimation._x = mcAnimation._x + centerStageX;
mcAnimation._y = mcAnimation._y + (centerStageY - (stageHeight / 10));
stop();
Instance of Symbol 51 MovieClip "mcLoadingAnimated" in Symbol 52 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 52 MovieClip Frame 3
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent == 100) {
_root.play();
stop();
} else {
loadAdNow = true;
mcLoadingAnimated._visible = true;
}
Symbol 52 MovieClip Frame 5
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent < 100) {
mcLoadingAnimated.mcLoading.gotoAndStop(loadedPercent);
mcLoadingAnimated.mcLoading.txtPercentLoaded1 = ("The game is loading (" + loadedPercent) + "%)";
mcLoadingAnimated.mcLoading.txtPercentLoaded2 = ("The game is loading (" + loadedPercent) + "%)";
gotoAndPlay(_currentframe - 1);
} else {
mcLoadingAnimated.play();
stop();
}
Symbol 54 MovieClip [incept] Frame 1
this._alpha = 0;
this.useHandCursor = false;
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
this.gotoAndPlay(random(18));
Symbol 63 MovieClip Frame 19
this.gotoAndPlay(3);
Symbol 78 MovieClip Frame 1
stop();
Symbol 139 MovieClip [map_mc] Frame 1
if (_root.score > 300) {
_root.AttathProp(random(550) + (map_number * 550), 820 + random(50), 20);
_root.AttathProp(random(550) + (map_number * 550), 820 + random(50), 20);
}
if ((random(10) > 4) and (_root.score > 300)) {
_root.AttathProp(random(550) + (map_number * 550), 820 + random(50), 20);
}
var tenu = random(5);
if ((tenu == 0) and (_root.score > 300)) {
_root.Attachwhale(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if ((tenu == 1) and (_root.score > 300)) {
_root.AttachFish(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if ((tenu == 2) and (_root.score > 300)) {
_root.AttachFish2(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if ((tenu == 3) and (_root.score > 300)) {
_root.AttachFish3(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if ((tenu == 4) and (_root.score > 300)) {
_root.AttachFish3(((map_number - 1) * 550) + random(550), 500 + random(100));
}
if ((random(10) > 6) and (_root.score > 300)) {
var tenu = random(5);
if (tenu == 0) {
_root.Attachwhale(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 1) {
_root.AttachFish(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 2) {
_root.AttachFish2(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 3) {
_root.AttachFish3(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 4) {
_root.AttachFish4(((map_number - 1) * 550) + random(550), 500 + random(100));
}
}
if ((random(10) > 7) and (_root.score > 300)) {
var tenu = random(5);
if (tenu == 0) {
_root.Attachwhale(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 1) {
_root.AttachFish(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 2) {
_root.AttachFish2(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 3) {
_root.AttachFish3(((map_number - 1) * 550) + random(550), 500 + random(100));
} else if (tenu == 4) {
_root.AttachFish3(((map_number - 1) * 550) + random(550), 500 + random(100));
}
}
Symbol 139 MovieClip [map_mc] Frame 2
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 1);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 6);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 15);
}
Symbol 139 MovieClip [map_mc] Frame 3
if (_root.terandom3 == undefined) {
_root.terandom3 = random(10);
}
if (_root.terandom3 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 1);
} else if (_root.terandom3 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 6);
} else if (_root.terandom3 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (_root.terandom3 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 15);
} else if (_root.terandom3 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.gameEMC.earth.place_name.gotoAndStop(2);
_root.play_bg("bg10");
Symbol 139 MovieClip [map_mc] Frame 4
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 1);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 6);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 15);
}
_root.AttathProp(random(550) + (map_number * 550), 820 + random(50), 20);
Symbol 139 MovieClip [map_mc] Frame 5
if (_root.terandom5 == undefined) {
_root.terandom5 = random(10);
}
if (_root.terandom5 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 1);
} else if (_root.terandom5 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 6);
} else if (_root.terandom5 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (_root.terandom5 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 15);
} else if (_root.terandom5 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.gameEMC.earth.place_name.gotoAndStop(3);
Symbol 139 MovieClip [map_mc] Frame 6
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 2);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 6);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 15);
}
Symbol 139 MovieClip [map_mc] Frame 7
if (_root.terandom7 == undefined) {
_root.terandom7 = random(10);
}
if (_root.terandom7 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 2);
} else if (_root.terandom7 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 6);
} else if (_root.terandom7 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (_root.terandom7 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 15);
} else if (_root.terandom7 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.gameEMC.earth.place_name.gotoAndStop(4);
ftype = 2;
_root.play_bg("bg1");
Symbol 139 MovieClip [map_mc] Frame 8
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 2);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 10);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
ftype = 2;
Symbol 139 MovieClip [map_mc] Frame 9
if (_root.terandom9 == undefined) {
_root.terandom9 = random(10);
}
if (_root.terandom9 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 2);
} else if (_root.terandom9 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (_root.terandom9 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (_root.terandom9 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
} else if (_root.terandom9 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.gameEMC.earth.place_name.gotoAndStop(5);
ftype = 2;
_root.play_bg("bg11");
Symbol 139 MovieClip [map_mc] Frame 10
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 2);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
ftype = 2;
Symbol 139 MovieClip [map_mc] Frame 11
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(6);
_root.play_bg("bg6");
Symbol 139 MovieClip [map_mc] Frame 12
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
Symbol 139 MovieClip [map_mc] Frame 13
if (_root.terandom13 == undefined) {
_root.terandom13 = random(10);
}
_root.gameEMC.earth.place_name.gotoAndStop(7);
if (_root.terandom13 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (_root.terandom13 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (_root.terandom13 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (_root.terandom13 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
} else if (_root.terandom13 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.play_bg("bg7");
Symbol 139 MovieClip [map_mc] Frame 14
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
Symbol 139 MovieClip [map_mc] Frame 15
if (_root.terandom15 == undefined) {
_root.terandom15 = random(10);
}
_root.gameEMC.earth.place_name.gotoAndStop(8);
if (_root.terandom15 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (_root.terandom15 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (_root.terandom15 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (_root.terandom15 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
} else if (_root.terandom15 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.play_bg("bg12");
Symbol 139 MovieClip [map_mc] Frame 16
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
Symbol 139 MovieClip [map_mc] Frame 17
if (_root.terandom17 == undefined) {
_root.terandom17 = random(10);
}
_root.gameEMC.earth.place_name.gotoAndStop(9);
if (_root.terandom17 == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (_root.terandom17 == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (_root.terandom17 == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 12);
} else if (_root.terandom17 == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
} else if (_root.terandom17 == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
ftype = 2;
_root.play_bg("bg6");
Symbol 139 MovieClip [map_mc] Frame 18
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 3);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 7);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
Symbol 139 MovieClip [map_mc] Frame 19
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 5);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 8);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 11);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 16);
}
ftype = 3;
_root.play_bg("bg2");
Symbol 139 MovieClip [map_mc] Frame 20
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 5);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 8);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 11);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 16);
}
ftype = 3;
Symbol 139 MovieClip [map_mc] Frame 21
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(11);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 4);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 9);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
_root.play_bg("bg9");
Symbol 139 MovieClip [map_mc] Frame 22
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 4);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 9);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
} else if (terandom == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
Symbol 139 MovieClip [map_mc] Frame 23
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(12);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 4);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 9);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 19);
} else if (terandom == 4) {
_root.AttachVolution(20 + (map_number * 550), 370);
}
_root.play_bg("bg7");
Symbol 139 MovieClip [map_mc] Frame 24
var terandom = random(10);
if (terandom == 0) {
_root.AttathProp(random(550) + (map_number * 550), 370, 4);
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 9);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 19);
} else if (terandom == 4) {
}
Symbol 139 MovieClip [map_mc] Frame 25
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(13);
if (terandom == 0) {
} else if (terandom == 1) {
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 14);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 18);
}
_root.play_bg("bg5");
Symbol 139 MovieClip [map_mc] Frame 26
var terandom = random(10);
if (terandom == 0) {
} else if (terandom == 1) {
_root.AttathProp(random(550) + (map_number * 550), 370, 9);
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 14);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 18);
}
Symbol 139 MovieClip [map_mc] Frame 27
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(14);
if (terandom == 0) {
} else if (terandom == 1) {
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 14);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 18);
}
Symbol 139 MovieClip [map_mc] Frame 28
var terandom = random(10);
if (terandom == 0) {
} else if (terandom == 1) {
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
Symbol 139 MovieClip [map_mc] Frame 29
var terandom = random(10);
_root.gameEMC.earth.place_name.gotoAndStop(15);
if (terandom == 0) {
} else if (terandom == 1) {
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
_root.play_bg("bg8");
Symbol 139 MovieClip [map_mc] Frame 30
var terandom = random(10);
if (terandom == 0) {
} else if (terandom == 1) {
} else if (terandom == 2) {
_root.AttathProp(random(550) + (map_number * 550), 370, 13);
} else if (terandom == 3) {
_root.AttathProp(random(550) + (map_number * 550), 370, 17);
}
Symbol 139 MovieClip [map_mc] Frame 31
_root.gameEMC.earth.place_name.gotoAndStop(1);
_root.play_bg("bg4");
Symbol 186 MovieClip Frame 54
var tenu = random(10);
if (tenu == 0) {
gotoAndPlay ("act2");
} else if (tenu == 1) {
gotoAndPlay ("act3");
} else {
gotoAndPlay ("act1");
}
Symbol 186 MovieClip Frame 96
var tenu = random(6);
if (tenu == 0) {
gotoAndPlay ("act1");
} else if (tenu == 1) {
gotoAndPlay ("act3");
} else {
gotoAndPlay ("act2");
}
Symbol 186 MovieClip Frame 204
var tenu = random(2);
if (tenu == 0) {
gotoAndPlay ("act1");
} else if (tenu == 1) {
gotoAndPlay ("act2");
} else {
gotoAndPlay ("act3");
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 1
_parent.head._visible = false;
_parent.arm._x = _parent.armx3;
_parent.arm._y = _parent.army3;
Symbol 196 MovieClip Frame 8
_parent.arm._x = _parent.armx4;
_parent.arm._y = _parent.army4;
Symbol 196 MovieClip Frame 15
gotoAndPlay ("frame1");
Symbol 196 MovieClip Frame 16
_parent.arm._x = _parent.armx1;
_parent.arm._y = _parent.army1;
_parent.head._x = _parent.headx1;
_parent.head._y = _parent.heady1;
_parent.head._visible = true;
head._x = -30;
head._y = -47;
Symbol 196 MovieClip Frame 19
_parent.arm._x = _parent.armx2;
_parent.arm._y = _parent.army2;
_parent.head._x = _parent.headx2;
_parent.head._y = _parent.heady2;
head._x = -29;
head._y = -44;
Symbol 196 MovieClip Frame 21
gotoAndPlay ("frame2");
Symbol 200 MovieClip Frame 1
Symbol 203 MovieClip Frame 1
this._visible = false;
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 35
stop();
Symbol 258 MovieClip [rock] Frame 1
stop();
blink._visible = false;
w_flower._visible = false;
this.cacheAsBitmap = true;
Symbol 258 MovieClip [rock] Frame 12
temp_rotation = this._rotation;
this._rotation = 0;
mc._roation = temp_rotation;
Symbol 258 MovieClip [rock] Frame 30
this.gotoAndStop("coast");
Symbol 272 MovieClip Frame 3
stop();
Symbol 272 MovieClip Frame 25
_parent.gotoAndStop("shooted");
Symbol 273 MovieClip [player] Frame 10
var armx1 = arm._x;
var army1 = arm._y;
var headx1 = head._x;
var heady1 = head._y;
var armx2 = armx1;
var army2 = (army1 + 5);
var headx2 = -27;
var heady2 = -106;
var armx3 = (armx1 + 3);
var army3 = (army1 + 5);
var armx4 = (armx1 + 3);
var army4 = (army1 + 7);
Symbol 286 MovieClip [cyclone] Frame 1
this.cacheAsBitmap = true;
Symbol 286 MovieClip [cyclone] Frame 30
stop();
Symbol 299 MovieClip [electricity] Frame 2
_root.play_soundAction("s_electricity");
Symbol 299 MovieClip [electricity] Frame 6
gotoAndPlay(random(50));
Symbol 300 MovieClip [flower1] Frame 1
this.cacheAsBitmap = true;
Symbol 300 MovieClip [flower1] Frame 19
this.removeMovieClip();
Symbol 306 MovieClip [flower2] Frame 1
this.cacheAsBitmap = true;
Symbol 306 MovieClip [flower2] Frame 11
this.removeMovieClip();
Symbol 312 MovieClip [flower3] Frame 1
this.cacheAsBitmap = true;
Symbol 312 MovieClip [flower3] Frame 12
this.removeMovieClip();
Symbol 325 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 326 MovieClip Frame 1
Symbol 340 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 341 MovieClip Frame 1
stop();
Symbol 349 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 350 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 371 MovieClip Frame 8
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 381 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 382 MovieClip Frame 1
Symbol 389 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 390 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 397 MovieClip Frame 1
Symbol 403 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 404 MovieClip Frame 1
stop();
Symbol 412 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 413 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 5
_parent.gotoAndStop(1);
Symbol 419 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 428 MovieClip Frame 1
stop();
Symbol 436 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 437 MovieClip Frame 1
stop();
Symbol 446 MovieClip Frame 7
_parent.gotoAndStop(1);
Symbol 447 MovieClip Frame 1
stop();
Symbol 453 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 460 MovieClip Frame 6
stop();
Symbol 461 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 10
_parent.gotoAndStop(1);
Symbol 471 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 478 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 8
_parent.gotoAndStop(1);
Symbol 486 MovieClip Frame 1
stop();
Symbol 493 MovieClip Frame 10
stop();
Symbol 494 MovieClip Frame 1
stop();
Symbol 495 MovieClip [prop] Frame 1
this.cacheAsBitmap = true;
Symbol 525 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 1
stop();
Symbol 583 MovieClip Frame 11
_root.play_soundAction("\u6700\u9AD8\u5206");
Symbol 583 MovieClip Frame 20
stop();
Symbol 589 MovieClip Frame 1
this._visible = false;
Symbol 598 Button
on (release) {
gameURL = ("http://www.miniclip.com/" + gamename) + ".htm";
getURL (gameURL, "_blank");
}
Symbol 600 MovieClip Frame 1
System.security.allowDomain("www.miniclip.com");
Instance of Symbol 589 MovieClip "mcHighscores" in Symbol 600 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 600 MovieClip Frame 2
if ((((_url.indexOf("miniclip.com") == -1) && (_url.indexOf("miniclip.net") == -1)) && (_url.indexOf("miniclip.co.uk") == -1)) && (_url.indexOf("miniclips.com"))) {
gotoAndStop(_currentframe + 1);
} else {
var noCache = (getTimer() + random(100000));
mcTarget.loadMovie("http://www.miniclip.com/swfcontent/highscore.swf?noCache=" + noCache);
stop();
}
Symbol 600 MovieClip Frame 3
stop();
Symbol 601 MovieClip [real_display] Frame 1
score.start_x = 0;
this.onEnterFrame = function () {
_root.DisplayNumber(score, _root.score);
};
but1.onRelease = function () {
_root.afresh_game();
};
but1.onPress = function () {
_root.play_soundAction("an");
};
Symbol 601 MovieClip [real_display] Frame 15
score.start_x = 0;
_root.DisplayNumber(this.score, _root.score);
but1.onRelease = function () {
_root.afresh_game();
};
but1.onPress = function () {
_root.play_soundAction("an");
};
but2.onRelease = function () {
gotoAndStop ("submit");
_root.SubmitScore();
};
but2.onPress = function () {
_root.play_soundAction("s_flip");
};
but3.onRelease = function () {
_root.playagain();
};
but3.onPress = function () {
_root.play_soundAction("s_flip");
};
Symbol 601 MovieClip [real_display] Frame 29
score.start_x = 0;
_root.DisplayNumber(this.score, _root.max_score);
but1.onRelease = function () {
_root.afresh_game();
};
but1.onPress = function () {
_root.play_soundAction("an");
};
but2.onRelease = function () {
gotoAndStop ("submit");
_root.SubmitScore();
};
but2.onPress = function () {
_root.play_soundAction("s_flip");
};
but3.onRelease = function () {
_root.playagain();
};
but3.onPress = function () {
_root.play_soundAction("s_flip");
};
Symbol 601 MovieClip [real_display] Frame 55
but1.onRelease = function () {
_root.afresh_game();
};
but1.onPress = function () {
_root.play_soundAction("an");
};
but3.onRelease = function () {
_root.playagain();
};
but3.onPress = function () {
_root.play_soundAction("s_flip");
};
Instance of Symbol 600 MovieClip "comHighscores" in Symbol 601 MovieClip [real_display] Frame 55
//component parameters
onClipEvent (construct) {
scoreLocation = "_root.max_score";
gamename = "pebble dash";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
negativeScoreAllowed = false;
}
Symbol 607 MovieClip Frame 1
this._visible = false;
Symbol 613 MovieClip [volution] Frame 1
stop();
var move_y = 4;
var move_x = 2;
var rock_frame = new Array();
rock_frame = [2, 15, 33, 49, 60, 70];
this.cacheAsBitmap = true;
Symbol 613 MovieClip [volution] Frame 99
move_y = -3 * (this._totalframes / (this._totalframes - this._currentframe));
move_x = 7;
Symbol 613 MovieClip [volution] Frame 107
_root.game_rock._alpha = 100;
_root.play_soundAction("s_prop1");
Symbol 649 MovieClip Frame 1
stop();
Symbol 656 MovieClip [fish] Frame 1
stop();
Symbol 656 MovieClip [fish] Frame 20
this.hit_zt = true;
Symbol 678 MovieClip Frame 9
_parent.suck_zt = true;
_parent.gotoAndStop(1);
Symbol 690 MovieClip Frame 25
_root.game_rock._y = _root.game_rock._y - 150;
_root.game_rock._x = _root.game_rock._x + 30;
Symbol 690 MovieClip Frame 31
_root.game_rock._visible = true;
_root.rock_zt = "start";
_root.play_soundAction("s_prop1");
_root.glide = false;
_root.speedx = 20 + random(8);
_root.speedy = -(30 + random(8));
_root.MoveAll2(1000000);
Symbol 690 MovieClip Frame 51
stop();
Symbol 691 MovieClip [whale] Frame 1
stop();
this.cacheAsBitmap = true;
Symbol 698 MovieClip [flower4] Frame 1
this.cacheAsBitmap = true;
Symbol 698 MovieClip [flower4] Frame 18
this.removeMovieClip();
Symbol 725 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 726 MovieClip [fish2] Frame 1
stop();
this.cacheAsBitmap = true;
Symbol 734 MovieClip Frame 15
_parent.gotoAndStop(1);
Symbol 735 MovieClip [fish4] Frame 1
stop();
Symbol 750 MovieClip [fish3] Frame 1
stop();
this.cacheAsBitmap = true;
Symbol 785 MovieClip Frame 1
stop();
Symbol 790 MovieClip Frame 1
stop();
Symbol 800 MovieClip [earth] Frame 1
best.start_x = 111;
_root.DisplayNumber(best, _root.max_score);
if (_root.play_bgm == 1) {
mu1.gotoAndStop(2);
mu2.gotoAndStop(1);
} else {
mu1.gotoAndStop(1);
mu2.gotoAndStop(2);
}
if (_root.stopsound) {
bu1.gotoAndStop(2);
mu1._visible = false;
mu2._visible = false;
}
bu1.onRelease = function () {
if (bu1._currentframe == 1) {
_root.allsound.setVolume(0);
bu1.gotoAndStop(2);
mu1._visible = false;
mu2._visible = false;
_root.stopsound = true;
} else {
_root.allsound.setVolume(100);
mu1._visible = true;
mu2._visible = true;
bu1.gotoAndStop(1);
_root.stopsound = false;
}
};
mu1.onRelease = function () {
if (_root.play_bgm == 2) {
_root.play_bgm = 1;
_root.play_music("bgm", true);
mu1.gotoAndStop(2);
mu2.gotoAndStop(1);
}
};
mu2.onRelease = function () {
if (_root.play_bgm == 1) {
_root.play_bgm = 2;
_root.play_music("bgm2", true);
mu1.gotoAndStop(1);
mu2.gotoAndStop(2);
}
};
Symbol 801 MovieClip Frame 1
this.gotoAndStop(random(30) + 2);
Symbol 818 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 820 MovieClip Frame 61
stop();
bu1.onPress = function () {
_root.play_soundAction("an");
};
bu2.onPress = function () {
_root.play_soundAction("s_flip");
};
bu1.onRelease = function () {
_parent.gotoAndStop("gaming");
};
bu2.onRelease = function () {
_parent.helpMC.play();
};
Symbol 825 MovieClip Frame 1
stop();
Symbol 825 MovieClip Frame 10
stop();
bg.onPress = function () {
_root.play_soundAction("s_flip");
this._parent.play();
};
bg.useHandCursor = false;