Combined Code
frame 1 {
onEnterFrame = function () {
if (_root.loaded == true) {
_root.nextFrame();
} else {
stop();
}
};
}
frame 1 {
game = SharedObject.getLocal('mydata');
if (game.data.r1l1 == undefined) {
_root.r1l1 = 0;
} else {
_root.r1l1 = game.data.r1l1;
}
if (game.data.r1l2 == undefined) {
_root.r1l2 = 0;
} else {
_root.r1l2 = game.data.r1l2;
}
if (game.data.r1l3 == undefined) {
_root.r1l3 = 0;
} else {
_root.r1l3 = game.data.r1l3;
}
if (game.data.r1l4 == undefined) {
_root.r1l4 = 0;
} else {
_root.r1l4 = game.data.r1l4;
}
if (game.data.r1l5 == undefined) {
_root.r1l5 = 0;
} else {
_root.r1l5 = game.data.r1l5;
}
if (game.data.r1l6 == undefined) {
_root.r1l6 = 0;
} else {
_root.r1l6 = game.data.r1l6;
}
if (game.data.r1l7 == undefined) {
_root.r1l7 = 0;
} else {
_root.r1l7 = game.data.r1l7;
}
if (game.data.r1l8 == undefined) {
_root.r1l8 = 0;
} else {
_root.r1l8 = game.data.r1l8;
}
if (game.data.r1l9 == undefined) {
_root.r1l9 = 0;
} else {
_root.r1l9 = game.data.r1l9;
}
if (game.data.r2l1 == undefined) {
_root.r2l1 = 0;
} else {
_root.r2l1 = game.data.r2l1;
}
if (game.data.r2l2 == undefined) {
_root.r2l2 = 0;
} else {
_root.r2l2 = game.data.r2l2;
}
if (game.data.r2l3 == undefined) {
_root.r2l3 = 0;
} else {
_root.r2l3 = game.data.r2l3;
}
if (game.data.r2l4 == undefined) {
_root.r2l4 = 0;
} else {
_root.r2l4 = game.data.r2l4;
}
if (game.data.r2l5 == undefined) {
_root.r2l5 = 0;
} else {
_root.r2l5 = game.data.r2l5;
}
if (game.data.r2l6 == undefined) {
_root.r2l6 = 0;
} else {
_root.r2l6 = game.data.r2l6;
}
if (game.data.r2l7 == undefined) {
_root.r2l7 = 0;
} else {
_root.r2l7 = game.data.r2l7;
}
if (game.data.r2l8 == undefined) {
_root.r2l8 = 0;
} else {
_root.r2l8 = game.data.r2l8;
}
if (game.data.r2l9 == undefined) {
_root.r2l9 = 0;
} else {
_root.r2l9 = game.data.r2l9;
}
if (game.data.skins == undefined) {
_root.skins = 1;
} else {
_root.skins = game.data.skins;
}
if (game.data.quality == undefined) {
_root._quality = 'HIGH';
} else {
_root._quality = game.data.quality;
}
}
movieClip 4 {
}
instance of movieClip 4 {
onClipEvent (release) {
if (_root.loadbar._xscale < 100) {
_visible = false;
} else {
_visible = true;
_root.gotoAndStop(2);
}
}
}
movieClip 7 {
}
movieClip 8 {
}
instance loadbar of movieClip 8 {
onClipEvent (enterFrame) {
_xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_xscale < 100) {
_root.text = 'loading';
_root.loaded = false;
} else {
_root.ntext = 'GO';
_root.loaded = true;
}
}
}
// unknown tag 88 length 159
frame 2 {
stop();
}
frame 2 {
onEnterFrame = function () {
if (_root.skins <= 9) {
_root.skinsmax = 9;
}
};
}
frame 2 {
_root.health = 100;
_root.gdtime = 1000;
_root.gdhealth = 80;
_root.comp = '';
_root.land = false;
_root.landing = 0;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
_root.cleare = false;
}
// unknown tag 88 length 75
movieClip 36 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 38 {
instance of movieClip 36 {
onClipEvent (enterFrame) {
gotoAndStop(_root.skins);
}
}
}
movieClip 40 {
}
instance of movieClip 40 {
onClipEvent (rollOver) {
_root.tv.gotoAndStop(4);
_alpha = 80;
}
onClipEvent (release) {
_root.gotoAndStop(41);
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 42 {
}
instance of movieClip 42 {
onClipEvent (rollOver) {
_root.tv.gotoAndStop(3);
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 44 {
}
instance of movieClip 44 {
onClipEvent (rollOver) {
_root.tv.gotoAndStop(2);
_alpha = 80;
}
onClipEvent (release) {
_root.gotoAndStop(42);
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 47 {
}
instance of movieClip 47 {
onClipEvent (rollOver) {
_root.tv.gotoAndStop(4);
_alpha = 80;
}
onClipEvent (release) {
_root.gotoAndStop(43);
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 51 {
}
movieClip 58 {
}
movieClip 64 {
frame 105 {
stop();
}
}
movieClip 65 {
frame 1 {
stop();
}
instance of movieClip 58 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
}
instance of movieClip 64 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash) {
gotoAndPlay(1);
}
}
}
}
movieClip 68 {
}
movieClip 71 {
}
movieClip 74 {
frame 1 {
}
instance of movieClip 65 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 71 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash == true or _root.heli.hitTest(_root.car)) {
} else {
_rotation = _rotation + _root.heli.xspeed * 4;
}
}
}
instance of movieClip 36 {
onClipEvent (enterFrame) {
gotoAndStop(_root.skins);
}
}
}
movieClip 78 {
}
movieClip 80 {
}
movieClip 82 {
}
movieClip 84 {
}
movieClip 85 {
instance of movieClip 78 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 80 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 84 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.landing = 1;
--_root.heli._y;
_root.land = false;
}
}
}
}
movieClip 90 {
}
movieClip 92 {
}
movieClip 94 {
}
movieClip 96 {
}
movieClip 97 {
instance of movieClip 90 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.land = true;
_root.timer += 0;
_root.heli.yspeed = 0;
_root.heli.xspeed = 0;
_root.landing = 2;
}
}
}
}
movieClip 99 {
}
movieClip 100 {
frame 1 {
stop();
}
}
instance tv of movieClip 100 {
onClipEvent (load) {
gotoAndStop(1);
}
}
frame 3 {
_root.nextFrame();
}
frame 4 {
stop();
}
frame 4 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l1) {
game = SharedObject.getLocal('mydata');
game.data.r1l1 = _root.starnum;
_root.r1l1 = _root.starnum;
game.flush();
}
};
}
frame 4 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 50;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
movieClip 103 {
}
// unknown tag 88 length 83
movieClip 108 {
}
movieClip 111 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
instance cam of movieClip 111 {
onClipEvent (enterFrame) {
_x = _x + (_root.heli._x - _x) / 8;
_y = _y + (_root.heli._y - _y) / 8;
if (_y <= 115) {
_y = 115;
}
if (_x >= 750) {
_x = 750;
}
if (_x <= 66) {
_x = 66;
}
_root.healthbar._x = _x + 90;
_root.healthbar._y = _y - 235;
_root.menubut._x = _x - 340;
_root.menubut._y = _y - 235;
_root.timebox._y = _y - 235;
_root.timebox._x = _x;
_root.panel._y = _y + 120;
_root.panel._x = _x + 225;
}
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 113 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 117 {
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
movieClip 119 {
}
movieClip 123 {
}
movieClip 126 {
}
movieClip 127 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
_xscale = _root.health;
}
}
instance of movieClip 123 {
onClipEvent (enterFrame) {
if (_root.landing >= 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
if (_root.landing >= 3) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 130 {
}
movieClip 131 {
}
movieClip 134 {
}
movieClip 136 {
frame 1 {
stop();
}
}
movieClip 138 {
}
movieClip 139 {
}
movieClip 140 {
instance of movieClip 131 {
onClipEvent (release) {
_root.gotoAndStop(2);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 136 {
onClipEvent (release) {
if (_root.music == true) {
_root.music = false;
gotoAndStop(2);
} else {
_root.music = true;
gotoAndStop(1);
}
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 139 {
onClipEvent (release) {
_root.prevFrame();
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 148 {
}
movieClip 151 {
}
movieClip 152 {
}
movieClip 153 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 1;
}
}
movieClip 154 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 2;
}
}
movieClip 155 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 3;
}
}
movieClip 156 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 4;
}
}
movieClip 157 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 5;
}
}
movieClip 161 {
}
movieClip 163 {
}
movieClip 165 {
}
movieClip 169 {
}
movieClip 171 {
frame 1 {
stop();
}
instance of movieClip 148 {
onClipEvent (enterFrame) {
_parent.comp = _root.comp;
_parent.starnum = _root.starnum;
}
}
instance of movieClip 153 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.timer <= _root.gdtime) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 154 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.health >= _root.gdhealth) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 155 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.star1 == true) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 156 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.star2 == true) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 157 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.star3 == true) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 161 {
onClipEvent (release) {
_root.prevFrame();
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 163 {
onClipEvent (release) {
if (_root._currentframe == 18) {
if (_root.r1l1 == 5 and _root.r1l2 == 5 and _root.r1l3 == 5 and _root.r1l4 == 5 and _root.r1l5 == 5 and _root.r1l6 == 5 and _root.r1l7 == 5 and _root.r1l8 == 5) {
_root.nextFrame();
_root.scoreboard._visible = false;
} else {
_root.gotoAndStop(2);
_root.scoreboard._visible = false;
}
} else {
_root.nextFrame();
_root.scoreboard._visible = false;
}
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 165 {
onClipEvent (release) {
_root.gotoAndStop(2);
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 165 {
onClipEvent (release) {
_root.gotoAndStop(1);
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 172 {
frame 1 {
}
instance of movieClip 171 {
onClipEvent (enterFrame) {
if (_root.crash == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash == true) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 5 {
_root.nextFrame();
}
frame 6 {
stop();
}
frame 6 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l2) {
game = SharedObject.getLocal('mydata');
game.data.r1l2 = _root.starnum;
_root.r1l2 = _root.starnum;
game.flush();
}
};
}
frame 6 {
_root.health = 100;
_root.gdtime = 400;
_root.gdhealth = 70;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 187 {
frame 1 {
stop();
}
}
movieClip 189 {
}
movieClip 191 {
}
movieClip 193 {
}
movieClip 196 {
}
movieClip 198 {
}
movieClip 199 {
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 187 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
if (this.hitTest(_root.heli)) {
play();
} else {
if (_currentframe == 22) {
gotoAndStop(1);
}
}
}
}
}
instance of movieClip 189 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli) and _root.land == false) {
_root.heli.xspeed -= 1;
_root.health -= 1;
}
}
}
instance of movieClip 191 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli) and _root.land == false) {
_root.heli.xspeed += 1;
_root.health -= 1;
}
}
}
instance of movieClip 193 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli) and _root.land == false) {
_root.heli.yspeed -= 1;
_root.health -= 1;
}
}
}
instance of movieClip 196 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 198 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 7 {
_root.nextFrame();
}
frame 8 {
stop();
}
frame 8 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l3) {
game = SharedObject.getLocal('mydata');
game.data.r1l3 = _root.starnum;
_root.r1l3 = _root.starnum;
game.flush();
}
};
}
frame 8 {
_root.health = 100;
_root.gdtime = 400;
_root.gdhealth = 80;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 202 {
}
movieClip 204 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 214 {
}
movieClip 216 {
}
movieClip 218 {
}
movieClip 221 {
instance of movieClip 208 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 210 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.heli.xspeed = 0;
}
}
}
instance of movieClip 212 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 214 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 216 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli) and _root.boxpass == 0 and _root.landing >= 1) {
_root.boxpass = 1;
}
}
}
instance of movieClip 218 {
onClipEvent (enterFrame) {
if (_root.boxpass == 1 and this.hitTest(_root.heli)) {
_root.landing = 2;
}
}
}
}
movieClip 222 {
instance of movieClip 221 {
onClipEvent (enterFrame) {
}
}
}
movieClip 226 {
}
movieClip 227 {
instance of movieClip 90 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 226 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli) and _root.landing >= 2) {
_root.land = true;
_root.heli.yspeed = 0;
_root.heli.xspeed = 0;
_root.landing = 3;
}
}
}
}
movieClip 231 {
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 235 {
instance of movieClip 231 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 232 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 234 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
_root.heli.yspeed = -0.01;
}
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
movieClip 237 {
}
movieClip 238 {
}
movieClip 241 {
}
movieClip 242 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
_xscale = _root.health;
}
}
instance of movieClip 237 {
onClipEvent (enterFrame) {
if (_root.landing >= 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 238 {
onClipEvent (enterFrame) {
if (_root.landing >= 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 241 {
onClipEvent (enterFrame) {
if (_root.landing >= 3) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 9 {
_root.nextFrame();
}
frame 10 {
stop();
}
frame 10 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l4) {
game = SharedObject.getLocal('mydata');
game.data.r1l4 = _root.starnum;
_root.r1l4 = _root.starnum;
game.flush();
}
};
}
frame 10 {
_root.health = 100;
_root.gdtime = 300;
_root.gdhealth = 100;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
_root.go = true;
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 246 {
}
movieClip 249 {
}
movieClip 250 {
}
movieClip 251 {
}
movieClip 252 {
}
movieClip 253 {
instance of movieClip 249 {
onClipEvent (enterFrame) {
_rotation = _rotation + _root.car.xspeed * 2;
}
}
instance of movieClip 250 {
onClipEvent (enterFrame) {
_rotation = _rotation + _root.car.xspeed * 2;
}
}
instance of movieClip 251 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
++_root.car._x;
_root.health -= 1;
}
}
}
instance of movieClip 252 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.heli.xspeed = _root.car.xspeed;
_root.heli._rotation = 0;
_root.landing = 2;
}
}
}
instance of movieClip 251 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
--_root.car._x;
_root.health -= 1;
}
}
}
}
instance car of movieClip 253 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
timer = 0;
speed = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
if (this.hitTest(_root.box1)) {
_x = _x + 1;
++xspeed;
speed = 1;
}
if (this.hitTest(_root.box2)) {
_x = _x - 1;
--xspeed;
speed = 0;
}
if (_root.go == true) {
timer += 1;
if (timer >= time) {
speed = Math.round(Math.random());
time = 30 + Math.random() * 50;
timer = 0;
}
if (speed == 1) {
if (xspeed < 3) {
xspeed += 0.1;
}
} else {
if (xspeed > -3) {
xspeed -= 0.1;
}
}
} else {
xspeed *= 0.995;
}
}
}
movieClip 256 {
}
movieClip 257 {
instance of movieClip 90 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 256 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli) and _root.landing >= 2) {
_root.land = true;
_root.timer += 0;
_root.heli.yspeed = 0;
_root.heli.xspeed = 0;
_root.landing = 3;
}
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
movieClip 259 {
}
movieClip 261 {
}
movieClip 263 {
}
movieClip 264 {
}
movieClip 265 {
instance of movieClip 119 {
onClipEvent (enterFrame) {
_xscale = _root.health;
}
}
instance of movieClip 237 {
onClipEvent (enterFrame) {
if (_root.landing >= 3) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 238 {
onClipEvent (enterFrame) {
if (_root.landing >= 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 264 {
onClipEvent (enterFrame) {
if (_root.landing >= 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 11 {
_root.nextFrame();
}
frame 12 {
stop();
}
frame 12 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l5) {
game = SharedObject.getLocal('mydata');
game.data.r1l5 = _root.starnum;
_root.r1l5 = _root.starnum;
game.flush();
}
};
}
frame 12 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 100;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 13 {
_root.nextFrame();
}
frame 14 {
stop();
}
frame 14 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l6) {
game = SharedObject.getLocal('mydata');
game.data.r1l6 = _root.starnum;
_root.r1l6 = _root.starnum;
game.flush();
}
};
}
frame 14 {
_root.health = 100;
_root.gdtime = 600;
_root.gdhealth = 80;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 15 {
_root.nextFrame();
}
frame 16 {
stop();
}
frame 16 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l7) {
game = SharedObject.getLocal('mydata');
game.data.r1l7 = _root.starnum;
_root.r1l7 = _root.starnum;
game.flush();
}
};
}
frame 16 {
_root.health = 100;
_root.gdtime = 300;
_root.gdhealth = 90;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
movieClip 270 {
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 275 {
}
movieClip 277 {
}
movieClip 278 {
}
movieClip 279 {
}
movieClip 280 {
}
movieClip 281 {
}
movieClip 282 {
}
movieClip 283 {
}
movieClip 284 {
}
movieClip 285 {
}
movieClip 286 {
instance of movieClip 275 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.heli.xspeed -= 0.2;
}
}
}
instance of movieClip 277 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.heli.xspeed -= 0.5;
}
}
}
instance of movieClip 278 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.heli.xspeed -= 1;
}
}
}
instance of movieClip 279 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli.yspeed;
--_root.heli._y;
_root.health -= 1;
}
}
}
instance of movieClip 281 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli.yspeed;
--_root.heli._y;
_root.health -= 1;
}
}
}
instance of movieClip 282 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli.xspeed;
++_root.heli._x;
_root.health -= 1;
}
}
}
instance of movieClip 283 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
_root.heli.yspeed = 0.001;
++_root.heli._y;
_root.health -= 1;
}
}
}
instance of movieClip 284 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
_root.heli.xspeed = 0.1;
++_root.heli._x;
_root.health -= 1;
}
}
}
instance of movieClip 285 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli.yspeed;
--_root.heli._y;
_root.health -= 1;
}
}
}
}
movieClip 288 {
instance of movieClip 90 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 92 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 94 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 256 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.land = true;
_root.timer += 0;
_root.heli.yspeed = 0;
_root.heli.xspeed = 0;
_root.landing = 3;
}
}
}
}
movieClip 297 {
frame 1 {
stop();
}
}
movieClip 298 {
instance of movieClip 297 {
onClipEvent (load) {
gotoAndStop(Math.round(Math.random() * 7));
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
movieClip 300 {
}
instance of movieClip 300 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli._x, _root.heli._y, true)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 25;
}
}
}
movieClip 302 {
}
movieClip 304 {
}
movieClip 306 {
}
movieClip 308 {
}
movieClip 310 {
}
movieClip 311 {
instance of movieClip 304 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.heli.xspeed *= 0.8;
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
}
movieClip 312 {
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 17 {
_root.nextFrame();
}
frame 18 {
stop();
}
frame 18 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l8) {
game = SharedObject.getLocal('mydata');
game.data.r1l8 = _root.starnum;
_root.r1l8 = _root.starnum;
game.flush();
}
};
}
frame 18 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 95;
_root.comp = '';
_root.land = false;
_root.landing = 1;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
}
instance heli of movieClip 74 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
instance car of movieClip 253 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
if (this.hitTest(_root.box1)) {
_x = _x + 1;
xspeed = 0.1;
}
if (this.hitTest(_root.box2)) {
_x = _x - 1;
xspeed = -0.1;
}
if (this.hitTest(_root.heli)) {
if (xspeed < 2) {
xspeed += 0.1;
}
} else {
if (xspeed > -2) {
xspeed -= 0.05;
}
}
}
}
movieClip 315 {
}
movieClip 317 {
}
movieClip 318 {
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 298 {
onClipEvent (load) {
_rotation = -180 + Math.random() * 360;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
}
}
instance of movieClip 300 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli._x, _root.heli._y, true)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 25;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 117 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
instance scoreboard of movieClip 172 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 19 {
_root.nextFrame();
}
frame 20 {
stop();
}
frame 20 {
onEnterFrame = function () {
if (_root.starnum > _root.r1l9) {
game = SharedObject.getLocal('mydata');
game.data.r1l9 = _root.starnum;
_root.r1l9 = _root.starnum;
game.flush();
}
};
}
frame 20 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 90;
_root.comp = '';
_root.land = false;
_root.landing = 0;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
_root.fuel = 100;
_root.go = false;
_root.goop = false;
_root.magic = false;
_root.st1 = false;
_root.stars = 0;
}
instance cam of movieClip 111 {
onClipEvent (enterFrame) {
_x = 202.3;
_y = _y + (_root.heli._y - _y) / 8;
if (_y <= 115) {
_y = 115;
}
if (_x >= 750) {
_x = 750;
}
if (_x <= 66) {
_x = 66;
}
_root.healthbar._x = _x + 90;
_root.healthbar._y = _y - 235;
_root.menubut._x = _x - 340;
_root.menubut._y = _y - 235;
_root.timebox._y = _y - 235;
_root.timebox._x = _x;
_root.panel._y = _y + 120;
_root.panel._x = _x + 225;
}
}
movieClip 319 {
}
movieClip 320 {
}
movieClip 322 {
}
movieClip 328 {
frame 105 {
stop();
}
}
movieClip 329 {
frame 1 {
stop();
}
instance of movieClip 322 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
}
instance of movieClip 328 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash) {
gotoAndPlay(1);
}
}
}
}
movieClip 330 {
frame 1 {
}
instance of movieClip 320 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash == true or _root.heli.hitTest(_root.car)) {
} else {
_rotation = _rotation + _root.heli.xspeed * 4;
}
}
}
instance of movieClip 329 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 36 {
onClipEvent (enterFrame) {
gotoAndStop(_root.skins);
}
}
}
instance heli of movieClip 330 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.time = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_x < _root.car._x + _root.car._width / 2 and _x > _root.car._x - _root.car._width / 2 and _y > _root.car._y - 200) {
_root.magic = true;
} else {
_root.magic = false;
}
if (_y < -150) {
yspeed = 0;
_y = -149;
}
if (_x < -326.5) {
xspeed = 0;
_x = -325.5;
}
if (_x > 1169.2) {
xspeed = 0;
_x = 1168.2;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.go == true and _root.land == false) {
_root.time += 0.02;
_root.timer = Math.ceil(_root.time);
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false and _root.go == true) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.05;
} else {
if (xspeed > 0) {
xspeed -= 0.05;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.time >= 90) {
_root.comp = 'rubbish';
} else {
if (_root.time < 90 and _root.time >= 60) {
_root.comp = 'okay';
} else {
if (_root.time < 60 and _root.time >= 40) {
_root.comp = 'nice';
} else {
if (_root.time < 40 and _root.time >= 25) {
_root.comp = 'good';
} else {
if (_root.time < 25 and _root.time >= 15) {
_root.comp = 'great';
} else {
if (_root.time < 15) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
_root.offstage = false;
_root.go = medium;
_root.goop = false;
}
if ((_root.go == medium or _root.go == false) and _root.crash == false) {
_x = 202;
_y = 100;
yspeed = -0.6;
}
if (_root.stars >= 100) {
_root.stars = 100;
_root.crash = false;
_root.offstage = false;
_root.go = medium;
_root.goop = false;
}
}
}
movieClip 331 {
}
movieClip 334 {
}
movieClip 335 {
}
movieClip 336 {
}
movieClip 337 {
instance of movieClip 334 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
if (_root.go !== medium) {
_root.health -= 1;
}
}
}
}
instance of movieClip 335 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
if (_root.go !== medium) {
_root.health -= 1;
}
}
}
}
instance of movieClip 336 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
_root.heli.yspeed = -0.01;
}
}
}
}
movieClip 338 {
}
movieClip 341 {
frame 1 {
stop();
}
}
movieClip 342 {
instance of movieClip 341 {
onClipEvent (load) {
gotoAndStop(Math.round(Math.random() * 7));
}
}
}
movieClip 343 {
}
movieClip 344 {
}
movieClip 345 {
}
movieClip 347 {
}
movieClip 348 {
instance of movieClip 343 {
onClipEvent (enterFrame) {
_rotation = _rotation + _root.car.xspeed * 2;
}
}
instance of movieClip 344 {
onClipEvent (enterFrame) {
_rotation = _rotation + _root.car.xspeed * 2;
}
}
instance of movieClip 345 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
++_root.car._x;
_root.health -= 1;
}
}
}
instance of movieClip 345 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
--_root.car._x;
_root.health -= 1;
}
}
}
instance of movieClip 347 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.heli.xspeed = _root.car.xspeed;
_root.heli._rotation = 0;
if (_root.go !== medium) {
_root.health -= 5;
}
}
}
}
}
instance car of movieClip 348 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
timer = 0;
speed = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += 1;
while (_root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
}
if (this.hitTest(_root.box1)) {
_x = _x + 1;
++xspeed;
speed = 1;
}
if (this.hitTest(_root.box2)) {
_x = _x - 1;
--xspeed;
speed = 0;
}
if (_root.go == true) {
timer += 1;
if (timer >= time) {
speed = Math.round(Math.random());
time = 30 + Math.random() * 50;
timer = 0;
}
if (speed == 1) {
if (xspeed < 3) {
xspeed += 0.1;
}
} else {
if (xspeed > -3) {
xspeed -= 0.1;
}
}
} else {
xspeed *= 0.995;
}
}
}
movieClip 349 {
}
instance of movieClip 349 {
onClipEvent (load) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.magic == true and _root.crash == false) {
_alpha = _alpha + 5;
rx = _root.heli._x;
ry = _root.heli._y;
cx = _x;
cy = _y;
_rotation = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
decay = 5;
} else {
if (_alpha < 1) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
}
_alpha = _alpha - 5;
decay *= 0.95;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
}
if (this.hitTest(_root.heli) and _root.crash == false) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
_root.stars += 0.5;
}
}
}
instance of movieClip 349 {
onClipEvent (load) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.magic == true and _root.crash == false) {
_alpha = _alpha + 5;
rx = _root.heli._x;
ry = _root.heli._y;
cx = _x;
cy = _y;
_rotation = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
decay = 5;
} else {
if (_alpha < 1) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
}
_alpha = _alpha - 5;
decay *= 0.95;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
}
if (this.hitTest(_root.heli) and _root.crash == false) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
_root.stars += 0.5;
}
}
}
instance of movieClip 349 {
onClipEvent (load) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.magic == true and _root.crash == false) {
_alpha = _alpha + 5;
rx = _root.heli._x;
ry = _root.heli._y;
cx = _x;
cy = _y;
_rotation = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
decay = 5;
} else {
if (_alpha < 1) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
}
_alpha = _alpha - 5;
decay *= 0.95;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
}
if (this.hitTest(_root.heli) and _root.crash == false) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
_root.stars += 0.5;
}
}
}
instance of movieClip 349 {
onClipEvent (load) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.magic == true and _root.crash == false) {
_alpha = _alpha + 5;
rx = _root.heli._x;
ry = _root.heli._y;
cx = _x;
cy = _y;
_rotation = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
decay = 5;
} else {
if (_alpha < 1) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
}
_alpha = _alpha - 5;
decay *= 0.95;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
}
if (this.hitTest(_root.heli) and _root.crash == false) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
_root.stars += 0.5;
}
}
}
instance of movieClip 349 {
onClipEvent (load) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.magic == true and _root.crash == false) {
_alpha = _alpha + 5;
rx = _root.heli._x;
ry = _root.heli._y;
cx = _x;
cy = _y;
_rotation = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
decay = 5;
} else {
if (_alpha < 1) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
}
_alpha = _alpha - 5;
decay *= 0.95;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
}
if (this.hitTest(_root.heli) and _root.crash == false) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
_root.stars += 0.5;
}
}
}
instance of movieClip 349 {
onClipEvent (load) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.magic == true and _root.crash == false) {
_alpha = _alpha + 5;
rx = _root.heli._x;
ry = _root.heli._y;
cx = _x;
cy = _y;
_rotation = Math.atan2(ry - cy, rx - cx) / 0.0174532925199433;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
decay = 5;
} else {
if (_alpha < 1) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
}
_alpha = _alpha - 5;
decay *= 0.95;
_x = _x + xspeed;
xspeed = Math.cos(_rotation * 0.0174532925199433) * decay;
_y = _y + yspeed;
yspeed = Math.sin(_rotation * 0.0174532925199433) * decay;
}
if (this.hitTest(_root.heli) and _root.crash == false) {
_x = _root.car._x + (-(_root.car._width / 2) + Math.random() * _root.car._width);
_y = _root.car._y - 10;
_alpha = 0;
_root.stars += 0.5;
}
}
}
movieClip 353 {
frame 1 {
stop();
}
frame 151 {
_root.go = true;
stop();
}
}
instance goo of movieClip 353 {
onClipEvent (enterFrame) {
_x = _root.cam._x;
_y = _root.cam._y;
}
}
movieClip 354 {
}
movieClip 356 {
}
movieClip 358 {
frame 1 {
onEnterFrame = function () {
timer = _root.timer + ' sec';
};
}
instance of movieClip 354 {
onClipEvent (enterFrame) {
_xscale = _root.health;
}
}
instance of movieClip 356 {
onClipEvent (enterFrame) {
_xscale = _root.stars;
}
}
}
movieClip 364 {
}
movieClip 366 {
}
movieClip 367 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 1;
}
}
movieClip 368 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 2;
}
}
movieClip 369 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 3;
}
}
movieClip 370 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 4;
}
}
movieClip 371 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 5;
}
}
movieClip 374 {
}
movieClip 375 {
}
movieClip 376 {
}
movieClip 377 {
}
movieClip 381 {
}
movieClip 384 {
}
movieClip 387 {
}
movieClip 393 {
}
movieClip 395 {
}
movieClip 396 {
frame 1 {
stop();
onEnterFrame = function () {
comp = _root.comp;
time = Math.round(_root.time * 100) / 100 + ' sec';
};
}
instance of movieClip 367 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.go == medium) {
if (_root.time < 120) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
}
instance of movieClip 368 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.go == medium) {
if (_root.time < 60) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
}
instance of movieClip 369 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.go == medium) {
if (_root.time < 40) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
}
instance of movieClip 370 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.go == medium) {
if (_root.time < 25) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
}
instance of movieClip 371 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.go == medium) {
if (_root.time < 15) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_visible = false;
}
}
}
instance of movieClip 375 {
onClipEvent (release) {
_root.prevFrame();
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 376 {
onClipEvent (release) {
if (_root._currentframe == 20) {
_root.gotoAndStop(2);
} else {
_root.nextFrame();
}
_root.scoreboard._visible = false;
_root.goop = true;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 377 {
onClipEvent (release) {
_root.gotoAndStop(2);
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 377 {
onClipEvent (release) {
_root.gotoAndStop(1);
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 393 {
onClipEvent (release) {
if (_root.goo._currentframe < 151) {
_root.goo.play();
} else {
stop();
}
_root.scoreboard._visible = false;
_root.goop = true;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 397 {
frame 1 {
}
instance of movieClip 396 {
onClipEvent (enterFrame) {
if (_root.crash == true) {
gotoAndStop(2);
} else {
if (_root.offstage == true) {
gotoAndStop(3);
} else {
if (_root.go == false) {
gotoAndStop(4);
} else {
gotoAndStop(1);
}
}
}
}
}
}
instance scoreboard of movieClip 397 {
onClipEvent (load) {
_visible = true;
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_visible = false;
} else {
_visible = true;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.goop == true) {
_visible = false;
} else {
_visible = true;
}
}
}
frame 21 {
_root.nextFrame();
}
frame 22 {
stop();
}
frame 22 {
onEnterFrame = function () {
if (_root.starnum > _root.r2l1) {
game = SharedObject.getLocal('mydata');
game.data.r2l1 = _root.starnum;
_root.r2l1 = _root.starnum;
game.flush();
}
};
}
frame 22 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 50;
_root.comp = '';
_root.land = false;
_root.landing = 0;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
_root.pickup = false;
_root.fork = 0;
}
movieClip 401 {
}
instance cam of movieClip 111 {
onClipEvent (enterFrame) {
_x = _x + (_root.heli._x - _x) / 8;
_y = _y + (_root.heli._y - _y) / 8;
if (_y <= -25.15) {
_y = -25.15;
}
if (_y >= 380) {
_y = 380;
}
if (_x >= 997.05) {
_x = 997.05;
}
if (_x <= 166.3) {
_x = 166.3;
}
_root.healthbar._x = _x + 90;
_root.healthbar._y = _y - 235;
_root.menubut._x = _x - 340;
_root.menubut._y = _y - 235;
_root.panel._y = _y + 120;
_root.panel._x = _x + 225;
}
}
movieClip 403 {
}
instance of movieClip 403 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.forkk._x, _root.forkk._y - 15, true)) {
--_root.forkk._y;
--_root.forkk.yspeed;
if (_root.fork < 2 and _root.landing >= 1) {
_root.fork = 2;
_root.landing = 2;
}
}
if (this.hitTest(_root.heli._x, _root.heli._y - 15, true)) {
--_root.heli._y;
--_root.heli.yspeed;
}
}
}
movieClip 404 {
}
movieClip 405 {
}
movieClip 407 {
}
movieClip 413 {
frame 105 {
stop();
}
}
movieClip 414 {
frame 1 {
stop();
}
instance of movieClip 407 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
stop();
} else {
play();
}
}
}
instance of movieClip 413 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash) {
gotoAndPlay(1);
}
}
}
}
movieClip 415 {
frame 1 {
}
instance of movieClip 405 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash == true or _root.heli.hitTest(_root.car)) {
} else {
_rotation = _rotation + _root.heli.xspeed * 4;
}
}
}
instance of movieClip 414 {
onClipEvent (enterFrame) {
if (_root.land == true or _root.crash == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 36 {
onClipEvent (enterFrame) {
gotoAndStop(_root.skins);
}
}
}
instance heli of movieClip 415 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -291.8) {
yspeed = 0;
_y = -290.8;
}
if (_x < -226.25) {
xspeed = 0;
_x = -225.25;
}
if (_x > 1413.1) {
xspeed = 0;
_x = 1412.1;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 418 {
}
movieClip 420 {
}
movieClip 422 {
}
movieClip 424 {
}
movieClip 425 {
instance of movieClip 418 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 420 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 422 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli._x, _root.heli._y, true)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 1;
}
}
}
instance of movieClip 424 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
}
// unknown tag 88 length 75
movieClip 430 {
}
movieClip 432 {
}
movieClip 434 {
}
movieClip 436 {
}
movieClip 437 {
instance of movieClip 430 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 432 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 434 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 436 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli._x, _root.heli._y, true) and _root.landing >= 2) {
_root.land = true;
_root.timer += 0;
_root.heli.yspeed = 0;
_root.heli.xspeed = 0;
_root.landing = 3;
}
if (this.hitTest(_root.heli) and _root.landing >= 2) {
_root.landing = 3;
}
}
}
}
movieClip 440 {
}
instance forkk of movieClip 440 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
if (this.hitTest(_root.heli) and _root.pickup == false) {
_root.pickup = true;
if (_root.fork < 1) {
_root.fork = 1;
}
}
if (_root.pickup == true) {
_y = _root.heli._y + 30;
_x = _root.heli._x + _root.heli.xspeed;
_rotation = _root.heli._rotation;
speed = _root.heli.xspeed;
} else {
if (_root.pickup == false) {
yspeed += 0.6;
while (_root.floor.hitTest(_x, _y, true) or _root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
xspeed = 0;
speed = 0;
_rotation = 0;
}
}
}
if (Key.isDown(32)) {
_root.pickup = false;
xspeed = speed * 0.95;
}
}
}
movieClip 444 {
}
movieClip 446 {
}
movieClip 448 {
}
movieClip 449 {
instance of movieClip 430 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 432 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 434 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 444 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli._x, _root.heli._y, true)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.heli.xspeed *= 0.8;
_root.landing = 1;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 448 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
}
movieClip 451 {
}
movieClip 453 {
}
movieClip 454 {
}
movieClip 455 {
}
movieClip 456 {
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
movieClip 457 {
}
movieClip 458 {
}
movieClip 459 {
frame 1 {
stop();
}
}
movieClip 460 {
instance of movieClip 458 {
onClipEvent (release) {
_root.gotoAndStop(2);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 459 {
onClipEvent (release) {
if (_root.music == true) {
_root.music = false;
gotoAndStop(2);
} else {
_root.music = true;
gotoAndStop(1);
}
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 139 {
onClipEvent (release) {
_root.prevFrame();
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 461 {
}
movieClip 463 {
}
movieClip 464 {
}
movieClip 466 {
}
movieClip 468 {
}
movieClip 469 {
}
movieClip 470 {
}
movieClip 471 {
instance of movieClip 461 {
onClipEvent (enterFrame) {
_xscale = _root.health;
}
}
instance of movieClip 463 {
onClipEvent (enterFrame) {
if (_root.landing >= 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 464 {
onClipEvent (enterFrame) {
if (_root.landing >= 3) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 470 {
onClipEvent (enterFrame) {
if (_root.landing >= 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 475 {
}
movieClip 478 {
}
movieClip 479 {
}
movieClip 480 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 1;
}
}
movieClip 481 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 2;
}
}
movieClip 482 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 3;
}
}
movieClip 483 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 4;
}
}
movieClip 484 {
frame 1 {
stop();
}
frame 2 {
_root.starnum += 1;
}
frame 20 {
stop();
_root.starcount = 5;
}
}
movieClip 488 {
}
movieClip 489 {
}
movieClip 490 {
}
movieClip 494 {
}
movieClip 495 {
frame 1 {
stop();
}
instance of movieClip 475 {
onClipEvent (enterFrame) {
_parent.comp = _root.comp;
_parent.starnum = _root.starnum;
}
}
instance of movieClip 480 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.timer <= _root.gdtime) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 481 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.health >= _root.gdhealth) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 482 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.star1 == true) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 483 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.star2 == true) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 484 {
onClipEvent (load) {
gotoAndStop(1);
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.land == true) {
if (_root.star3 == true) {
_visible = true;
if (_currentframe < 20) {
play();
} else {
stop();
}
} else {
_visible = false;
}
} else {
_root.scoreboard._visible = false;
_visible = false;
}
}
}
instance of movieClip 488 {
onClipEvent (release) {
_root.prevFrame();
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 489 {
onClipEvent (release) {
_root.nextFrame();
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 490 {
onClipEvent (release) {
_root.gotoAndStop(2);
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 490 {
onClipEvent (release) {
_root.gotoAndStop(1);
_root.scoreboard._visible = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 496 {
frame 1 {
}
instance of movieClip 495 {
onClipEvent (enterFrame) {
if (_root.crash == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance scoreboard of movieClip 496 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 23 {
_root.nextFrame();
}
frame 24 {
stop();
}
frame 24 {
onEnterFrame = function () {
if (_root.starnum > _root.r2l2) {
game = SharedObject.getLocal('mydata');
game.data.r2l2 = _root.starnum;
_root.r2l2 = _root.starnum;
game.flush();
}
};
}
frame 24 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 50;
_root.comp = '';
_root.land = false;
_root.landing = 0;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
_root.pickup = false;
_root.fork = 0;
}
movieClip 498 {
}
instance heli of movieClip 415 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -291.8) {
yspeed = 0;
_y = -290.8;
}
if (_x < -226.25) {
xspeed = 0;
_x = -225.25;
}
if (_x > 1413.1) {
xspeed = 0;
_x = 1412.1;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 500 {
}
instance forkk of movieClip 500 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
if (this.hitTest(_root.heli) and _root.pickup == false) {
_root.pickup = true;
if (_root.fork < 1) {
_root.fork = 1;
}
}
if (_root.pickup == true) {
_y = _root.heli._y + 30;
_x = _root.heli._x + _root.heli.xspeed;
_rotation = _root.heli._rotation;
speed = _root.heli.xspeed;
} else {
if (_root.pickup == false) {
yspeed += 0.6;
while (_root.floor.hitTest(_x, _y, true) or _root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
xspeed = 0;
speed = 0;
_rotation = 0;
}
}
}
if (Key.isDown(32)) {
_root.pickup = false;
xspeed = speed;
speed *= 0.95;
}
}
}
movieClip 502 {
}
movieClip 514 {
}
movieClip 515 {
}
movieClip 516 {
}
movieClip 519 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 525 {
}
movieClip 527 {
}
movieClip 529 {
}
movieClip 531 {
}
movieClip 532 {
instance of movieClip 519 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 50;
}
while (this.hitTest(_root.forkk)) {
--_root.forkk._y;
_root.forkk.yspeed = 0;
if (_root.landing == 1) {
_root.landing = 2;
}
}
if (this.hitTest(_root.forkk)) {
_root.forkk.xspeed = 0;
if (_root.landing == 1) {
_root.landing = 2;
}
}
}
}
instance of movieClip 521 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 523 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 525 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 50;
}
while (this.hitTest(_root.forkk._x, _root.fork._y, true)) {
--_root.forkk._y;
--_root.forkk.yspeed;
_root.forkk.speed = 0;
}
}
}
instance of movieClip 527 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 50;
}
while (this.hitTest(_root.forkk._x, _root.fork._y, true)) {
--_root.forkk._y;
--_root.forkk.yspeed;
_root.forkk.speed = 0;
}
}
}
instance of movieClip 529 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 5;
}
while (this.hitTest(_root.forkk)) {
++_root.forkk._x;
_root.forkk.xspeed = 0.1;
}
}
}
instance of movieClip 531 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 5;
}
while (this.hitTest(_root.forkk)) {
--_root.forkk._x;
_root.forkk.xspeed = -0.1;
}
}
}
}
movieClip 534 {
}
movieClip 535 {
instance of movieClip 534 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.heli.yspeed -= 0.1;
_root.health -= 3;
}
}
}
instance of movieClip 534 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.heli.yspeed -= 0.05;
_root.health -= 2;
}
}
}
instance of movieClip 534 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.heli.yspeed -= 0.025;
_root.health -= 1;
}
}
}
}
movieClip 538 {
}
movieClip 540 {
}
movieClip 542 {
}
movieClip 543 {
instance of movieClip 418 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 420 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._y;
_root.heli.yspeed = 0.001;
_root.health -= 1;
}
}
}
instance of movieClip 538 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 542 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
movieClip 545 {
}
movieClip 546 {
}
movieClip 547 {
instance of movieClip 461 {
onClipEvent (enterFrame) {
_xscale = _root.health;
}
}
instance of movieClip 463 {
onClipEvent (enterFrame) {
if (_root.landing >= 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 464 {
onClipEvent (enterFrame) {
if (_root.landing >= 3) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 546 {
onClipEvent (enterFrame) {
if (_root.landing >= 2) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
instance scoreboard of movieClip 496 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 25 {
_root.nextFrame();
}
frame 26 {
stop();
}
frame 26 {
onEnterFrame = function () {
if (_root.starnum > _root.r2l3) {
game = SharedObject.getLocal('mydata');
game.data.r2l3 = _root.starnum;
_root.r2l3 = _root.starnum;
game.flush();
}
};
}
frame 26 {
_root.health = 100;
_root.gdtime = 500;
_root.gdhealth = 50;
_root.comp = '';
_root.land = false;
_root.landing = 0;
_root.fly = 0;
_root.timer = 0;
_root.scoreboard._visible = false;
_root.starcount = 0;
_root.boxpass = 0;
_root.star1 = false;
_root.star2 = false;
_root.star3 = false;
_root.starnum = 0;
_root.retry = false;
_root.crash = false;
_root.boxpass = 0;
_root.pause = false;
_root.pickup = false;
_root.fork = 0;
}
movieClip 549 {
}
instance of movieClip 403 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.forkk._x, _root.forkk._y - 15, true)) {
--_root.forkk._y;
--_root.forkk.yspeed;
if (_root.fork < 2 and _root.landing >= 1) {
_root.fork = 2;
_root.landing = 2;
}
}
if (this.hitTest(_root.heli._x, _root.heli._y - 15, true)) {
--_root.heli._y;
--_root.heli.yspeed;
}
}
}
instance heli of movieClip 415 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
gravity = 0.2;
_xscale = 70;
_yscale = 70;
_root.timer = 0;
}
onClipEvent (enterFrame) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += gravity;
_rotation = xspeed;
if (_y < -291.8) {
yspeed = 0;
_y = -290.8;
}
if (_x < -226.25) {
xspeed = 0;
_x = -225.25;
}
if (_x > 1413.1) {
xspeed = 0;
_x = 1412.1;
}
if (_root.fly == 0) {
_x = _root.pad1._x + _root.pad1._width / 2;
_y = _root.pad1._y - 1;
} else {
if (_root.fly !== 0 and _root.land == false) {
_root.timer += 1;
}
}
while (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
_rotation = 0;
yspeed = 0;
xspeed = 0;
}
if (_root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true) or _root.floor.hitTest(_x, _y, true)) {
_root.health -= yspeed;
}
if (_root.land == false) {
if ((Key.isDown(39) or _root.right == true) and xspeed < 10 and _root.crash == false) {
_root.fly = 1;
xspeed += 0.2;
} else {
if ((Key.isDown(37) or _root.left == true) and xspeed > -10 and _root.crash == false) {
_root.fly = 1;
xspeed -= 0.2;
} else {
if (xspeed < 0) {
xspeed += 0.01;
} else {
if (xspeed > 0) {
xspeed -= 0.01;
} else {
xspeed = 0;
}
}
}
}
if ((Key.isDown(38) or _root.up == true) and yspeed > -15 and _root.crash == false) {
_root.fly = 1;
yspeed -= 0.5;
} else {
if ((Key.isDown(40) or _root.down == true) and yspeed < 0 and _root.crash == false) {
_root.fly = 1;
yspeed += 0.5;
}
}
} else {
if (_root.starnum == 0) {
_root.comp = 'rubbish';
} else {
if (_root.starnum == 1) {
_root.comp = 'okay';
} else {
if (_root.starnum == 2) {
_root.comp = 'nice';
} else {
if (_root.starnum == 3) {
_root.comp = 'good';
} else {
if (_root.starnum == 4) {
_root.comp = 'great';
} else {
if (_root.starnum == 5) {
_root.comp = 'excellent';
}
}
}
}
}
}
}
if (_root.health <= 0) {
_root.health = 0;
_root.crash = true;
}
}
}
movieClip 552 {
instance of movieClip 519 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 50;
}
while (this.hitTest(_root.forkk)) {
--_root.forkk._y;
--_root.forkk.yspeed;
if (_root.landing == 1) {
_root.landing = 2;
}
}
}
}
instance of movieClip 521 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
++_root.heli._x;
_root.heli.xspeed = 0.1;
_root.health -= 1;
}
}
}
instance of movieClip 523 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._x;
_root.heli.xspeed = -0.1;
_root.health -= 1;
}
}
}
instance of movieClip 525 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 50;
}
while (this.hitTest(_root.forkk._x, _root.fork._y, true) and _root.pickup == false) {
--_root.forkk._y;
--_root.forkk.yspeed;
_root.forkk.speed = 0;
}
}
}
instance of movieClip 527 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
_root.health -= 50;
}
while (this.hitTest(_root.forkk._x, _root.fork._y, true) and _root.pickup == false) {
--_root.forkk._y;
--_root.forkk.yspeed;
_root.forkk.speed = 0;
}
}
}
}
movieClip 554 {
}
movieClip 555 {
}
movieClip 557 {
}
movieClip 558 {
instance of movieClip 554 {
onClipEvent (enterFrame) {
while (this.hitTest(_root.heli)) {
--_root.heli._y;
--_root.heli.yspeed;
}
}
}
instance of movieClip 555 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_root.health -= 50;
_root.heli.yspeed -= 1;
}
}
}
}
instance of movieClip 558 {
onClipEvent (load) {
gotoAndPlay(175);
}
}
instance forkk of movieClip 440 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
_x = _x + xspeed;
if (this.hitTest(_root.heli) and _root.pickup == false) {
_root.pickup = true;
if (_root.fork < 1) {
_root.fork = 1;
}
}
if (_root.pickup == true) {
_y = _root.heli._y + 30;
_x = _root.heli._x + _root.heli.xspeed;
_rotation = _root.heli._rotation;
speed = _root.heli.xspeed;
} else {
if (_root.pickup == false) {
yspeed += 0.6;
while (_root.floor.hitTest(_x, _y, true) or _root.pad1.hitTest(_x, _y, true) or _root.pad2.hitTest(_x, _y, true)) {
_y = _y - 1;
--yspeed;
xspeed = 0;
speed = 0;
_rotation = 0;
}
}
}
if (Key.isDown(32)) {
_root.pickup = false;
xspeed = speed * 0.95;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star1 = true;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star2 = true;
}
}
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.heli)) {
_visible = false;
_root.star3 = true;
}
}
}
instance scoreboard of movieClip 496 {
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.fly == 0) {
_visible = false;
}
_x = _root.cam._x;
_y = _root.cam._y;
if (_root.land == true or _root.crash) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 27 {
_root.nextFrame();
}
frame 29 {
_root.nextFrame();
}
frame 31 {
_root.nextFrame();
}
frame 33 {
_root.nextFrame();
}
frame 35 {
_root.nextFrame();
}
frame 37 {
_root.nextFrame();
}
instance cam of movieClip 111 {
onClipEvent (enterFrame) {
_x = _x + (_root.heli._x - _x) / 8;
_y = _y + (_root.heli._y - _y) / 8;
if (_y <= -25.15) {
_y = -25.15;
}
if (_y >= 380) {
_y = 380;
}
if (_x >= 997.05) {
_x = 997.05;
}
if (_x <= 166.3) {
_x = 166.3;
}
_root.healthbar._x = _x + 90;
_root.healthbar._y = _y - 235;
_root.menubut._x = _x - 340;
_root.menubut._y = _y - 235;
}
}
frame 41 {
stop();
}
frame 41 {
onEnterFrame = function () {
game = SharedObject.getLocal('mydata');
if (game.data.skins !== _root.skins) {
game.data.skins = _root.skins;
game.flush();
}
if (game.data.quality !== _root._quality) {
game.data.quality = _root._quality;
game.flush();
}
};
}
frame 41 {
_root.info = '';
_root.cleare = false;
}
instance of movieClip 377 {
onClipEvent (release) {
_root.gotoAndStop(2);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 563 {
}
movieClip 565 {
}
movieClip 567 {
}
movieClip 569 {
}
movieClip 572 {
}
movieClip 573 {
instance of movieClip 563 {
onClipEvent (release) {
_root._quality = 'BEST';
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'Make the game quality the best it can be. This has barely any difference from \'high\' so I would recommend \'high\'.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 565 {
onClipEvent (release) {
_root._quality = 'HIGH';
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'Make the game quality very good. For computers / phones that are very fast with \'flash player\'.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 567 {
onClipEvent (release) {
_root._quality = 'MEDIUM';
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'Make the game quality fairly good. For computers / phones that are decent with \'flash player\'.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 569 {
onClipEvent (release) {
_root._quality = 'LOW';
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'For old computers / phones. Note: this quality can cause minor glitches like difficulties landing.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 577 {
}
movieClip 579 {
}
movieClip 581 {
}
movieClip 582 {
instance of movieClip 577 {
onClipEvent (release) {
_root.music = true;
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'Turn the game music and sound effects on.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 579 {
onClipEvent (release) {
_root.music = true;
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'Turn the game music and sound effects off.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 585 {
}
movieClip 587 {
}
movieClip 588 {
instance of movieClip 585 {
onClipEvent (release) {
_root.cleare = true;
}
onClipEvent (rollOver) {
_alpha = 80;
_root.info = 'Deletes all your game saved data. Including: unlocked levels, unlock copter skins and personal records.';
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 592 {
}
movieClip 593 {
frame 1 {
onEnterFrame = function () {
info = _root.info;
};
}
}
movieClip 594 {
}
instance of movieClip 594 {
onClipEvent (enterFrame) {
if (_root.cleare == true) {
_visible = true;
} else {
_visible = false;
}
}
}
movieClip 598 {
}
movieClip 600 {
}
movieClip 602 {
}
movieClip 604 {
frame 1 {
stop();
}
instance of movieClip 598 {
onClipEvent (release) {
_parent.gotoAndStop(2);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 600 {
onClipEvent (release) {
_root.cleare = false;
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 598 {
onClipEvent (release) {
game = SharedObject.getLocal('mydata');
_root.r1l1 = 0;
game.data.r1l1 = 0;
_root.r1l2 = 0;
game.data.r1l2 = 0;
_root.r1l3 = 0;
game.data.r1l3 = 0;
_root.r1l4 = 0;
game.data.r1l4 = 0;
_root.r1l5 = 0;
game.data.r1l5 = 0;
_root.r1l6 = 0;
game.data.r1l6 = 0;
_root.r1l7 = 0;
game.data.r1l7 = 0;
_root.r1l8 = 0;
game.data.r1l8 = 0;
_root.r1l9 = 0;
game.data.r1l9 = 0;
_root.r2l1 = 0;
game.data.r2l1 = 0;
_root.r2l2 = 0;
game.data.r2l2 = 0;
_root.r2l3 = 0;
game.data.r2l3 = 0;
_root.r2l4 = 0;
game.data.r2l4 = 0;
_root.r2l5 = 0;
game.data.r2l5 = 0;
_root.r2l6 = 0;
game.data.r2l6 = 0;
_root.r2l7 = 0;
game.data.r2l7 = 0;
_root.r2l8 = 0;
game.data.r2l8 = 0;
_root.r2l9 = 0;
game.data.r2l9 = 0;
_root.cleare = false;
_root.skins = 1;
game.data.skins = 1;
_root.gotoAndStop(2);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
instance of movieClip 604 {
onClipEvent (enterFrame) {
if (_root.cleare == true) {
_visible = true;
} else {
_visible = false;
}
}
}
frame 42 {
stop();
}
instance of movieClip 377 {
onClipEvent (release) {
_root.gotoAndStop(2);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
movieClip 609 {
}
movieClip 610 {
}
movieClip 612 {
frame 1 {
stop();
}
}
movieClip 614 {
}
movieClip 616 {
}
movieClip 618 {
}
movieClip 620 {
}
movieClip 622 {
}
movieClip 624 {
}
movieClip 626 {
}
movieClip 628 {
}
movieClip 629 {
}
movieClip 630 {
instance of movieClip 612 {
onClipEvent (release) {
_root.gotoAndStop(21);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l1 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 614 {
onClipEvent (release) {
_root.gotoAndStop(23);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l2 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 616 {
onClipEvent (release) {
_root.gotoAndStop(25);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l3 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 618 {
onClipEvent (release) {
_root.gotoAndStop(27);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l4 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 620 {
onClipEvent (release) {
_root.gotoAndStop(29);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l5 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 622 {
onClipEvent (release) {
_root.gotoAndStop(31);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l6 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 624 {
onClipEvent (release) {
_root.gotoAndStop(33);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l7 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 626 {
onClipEvent (release) {
_root.gotoAndStop(35);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l8 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 628 {
onClipEvent (release) {
_root.gotoAndStop(19);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r2l1 == 5 and _root.r2l2 == 5 and _root.r2l3 == 5 and _root.r2l4 == 5 and _root.r2l5 == 5 and _root.r2l6 == 5 and _root.r2l7 == 5 and _root.r2l8 == 5) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l1 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l1 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l1 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l1 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l1 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l2 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l2 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l2 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l2 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l2 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l4 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l4 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l4 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l4 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l4 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l5 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l5 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l5 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l5 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l5 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l6 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l6 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l6 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l6 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l6 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l7 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l7 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l7 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l7 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l7 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l8 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l8 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l8 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l8 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l8 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r2l3 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
}
movieClip 632 {
}
movieClip 634 {
frame 1 {
stop();
}
}
movieClip 635 {
}
movieClip 636 {
}
movieClip 637 {
}
movieClip 638 {
}
movieClip 639 {
}
movieClip 640 {
}
movieClip 641 {
}
movieClip 651 {
}
movieClip 652 {
instance of movieClip 651 {
onClipEvent (enterFrame) {
if (_root.r2l1 == 5 and _root.r2l2 == 5 and _root.r2l3 == 5 and _root.r2l4 == 5 and _root.r2l5 == 5 and _root.r2l6 == 5 and _root.r2l7 == 5 and _root.r2l8 == 5) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
}
movieClip 654 {
}
movieClip 656 {
instance of movieClip 652 {
onClipEvent (enterFrame) {
if (_root.roll == true) {
_x = -(_root._xmouse * 2.15) + 190;
_y = -(_root._ymouse * 2) + 300;
}
}
}
}
movieClip 658 {
}
movieClip 660 {
}
movieClip 661 {
instance of movieClip 632 {
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.roll = true;
} else {
_root.roll = false;
}
}
}
instance of movieClip 634 {
onClipEvent (release) {
_root.gotoAndStop(3);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l1 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 635 {
onClipEvent (release) {
_root.gotoAndStop(5);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l2 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 636 {
onClipEvent (release) {
_root.gotoAndStop(7);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l3 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 637 {
onClipEvent (release) {
_root.gotoAndStop(9);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l4 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 638 {
onClipEvent (release) {
_root.gotoAndStop(11);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l5 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 639 {
onClipEvent (release) {
_root.gotoAndStop(13);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l6 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 640 {
onClipEvent (release) {
_root.gotoAndStop(15);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l7 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 641 {
onClipEvent (release) {
_root.gotoAndStop(17);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l8 == true) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l1 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l2 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l3 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l4 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l5 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l6 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l7 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l8 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 1) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 2) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 3) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 4) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 629 {
onClipEvent (enterFrame) {
if (_root.r1l9 >= 5) {
_visible = true;
} else {
_visible = false;
}
}
}
instance of movieClip 658 {
onClipEvent (release) {
_root.gotoAndStop(19);
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_root.r1l1 == 5 and _root.r1l2 == 5 and _root.r1l3 == 5 and _root.r1l4 == 5 and _root.r1l5 == 5 and _root.r1l6 == 5 and _root.r1l7 == 5 and _root.r1l8 == 5) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
}
movieClip 662 {
}
frame 43 {
stop();
}
frame 43 {
onEnterFrame = function () {
game = SharedObject.getLocal('mydata');
if (game.data.skins !== _root.skins) {
game.data.skins = _root.skins;
game.flush();
}
};
}
movieClip 667 {
}
movieClip 674 {
instance of movieClip 36 {
onClipEvent (enterFrame) {
gotoAndStop(_root.skins);
}
}
}
movieClip 676 {
frame 1 {
stop();
onEnterFrame = function () {
if (_root.skins == 1) {
skin = 'yellow';
type = 'colours';
} else {
if (_root.skins == 2) {
skin = 'red';
type = 'colours';
} else {
if (_root.skins == 3) {
skin = 'blue';
type = 'colours';
} else {
if (_root.skins == 4) {
skin = 'orange';
type = 'colours';
} else {
if (_root.skins == 5) {
skin = 'green';
type = 'colours';
} else {
if (_root.skins == 6) {
skin = 'purple';
type = 'colours';
} else {
if (_root.skins == 7) {
skin = 'pink';
type = 'colours';
} else {
if (_root.skins == 8) {
skin = 'white';
type = 'colours';
} else {
if (_root.skins == 9) {
skin = 'black';
type = 'colours';
} else {
if (_root.skins == 10) {
skin = 'tiger';
type = 'patterns';
} else {
if (_root.skins == 11) {
skin = 'lightning';
type = 'patterns';
} else {
if (_root.skins == 12) {
skin = 'zebra';
type = 'patterns';
} else {
if (_root.skins == 13) {
skin = 'wood';
type = 'patterns';
} else {
if (_root.skins == 14) {
skin = 'camo';
type = 'patterns';
} else {
if (_root.skins == 15) {
skin = 'england';
type = 'patterns';
} else {
if (_root.skins == 16) {
skin = 'USA';
type = 'patterns';
} else {
if (_root.skins == 17) {
skin = 'france';
type = 'patterns';
} else {
if (_root.skins == 18) {
skin = 'china';
type = 'patterns';
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
}
};
}
instance of movieClip 667 {
onClipEvent (release) {
if (_root.skins >= 1) {
_root.skins -= 1;
} else {
_root.skins = 18;
}
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
instance of movieClip 667 {
onClipEvent (release) {
if (_root.skins <= 18) {
_root.skins += 1;
} else {
_root.skins = 1;
}
}
onClipEvent (rollOver) {
_alpha = 80;
}
onClipEvent (releaseOutside, rollOut) {
_alpha = 100;
}
}
}
movieClip 678 {
}
movieClip 679 {
}