Frame 1
stop();
_global.ipb_get_gname = function () {
var _local4 = _root._url;
var _local5 = "";
var _local2 = "";
var _local6 = _local4.lastIndexOf("\\") + 1;
if ((_local6 == -1) || (_local6 == 0)) {
_local6 = _local4.lastIndexOf("/") + 1;
}
var _local3 = _local6;
var _local7 = String(_local4).length;
while (_local3 < String(_local4).length) {
_local2 = _local4.charAt(_local3);
if (_local2 == ".") {
break;
}
_local5 = _local5 + _local2;
_local3++;
}
return(_local5);
};
ipb_gname = _global.ipb_get_gname();
xx = new LoadVars();
xx.onLoad = function (success) {
if (success) {
_global.ipb_scoreVar = this.scoreVar;
}
};
fname = ((("arcade/gamedata/" + ipb_gname) + "/") + ipb_gname) + ".txt";
xx.load(fname);
Frame 2
stop();
Frame 3
stopAllSounds();
Instance of Symbol 63 MovieClip "Landing Posts" in Frame 3
/* no clip actions */
Instance of Symbol 64 MovieClip "glow_1" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_2" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_3" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_4" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_5" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_6" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_7" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_8" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_9" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_10" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_11" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 64 MovieClip "glow_12" in Frame 3
onClipEvent (load) {
function setMode(m) {
if (m == "good") {
this._visible = true;
setScale(100);
} else if (m == "bad") {
setScale(100);
} else if (m == "ugly") {
setScale(100);
} else {
this._visible = false;
setScale(100);
}
}
function setScale(s) {
this._xscale = s;
this._yscale = s;
}
this._visible = false;
this.colorHandle = new color(this);
this.colorTransformOriginal = this.ColorHandle.getTransform();
this.colorTransformRed = new Object();
this.colorTransformRed.ra = 70;
this.colorTransformRed.rb = 70;
this.colorTransformRed.ga = 0;
this.colorTransformRed.gb = 0;
this.colorTransformRed.ba = 0;
this.colorTransformRed.bb = 0;
this.colorTransformRed.aa = 70;
this.colorTransformRed.ab = 70;
this.colorTransformGreen = new Object();
this.colorTransformGreen.ra = 0;
this.colorTransformGreen.rb = 0;
this.colorTransformGreen.ga = 70;
this.colorTransformGreen.gb = 70;
this.colorTransformGreen.ba = 0;
this.colorTransformGreen.bb = 0;
this.colorTransformGreen.aa = 70;
this.colorTransformGreen.ab = 70;
this.colorTransformGrey = new Object();
this.colorTransformGrey.ra = 30;
this.colorTransformGrey.rb = 0;
this.colorTransformGrey.ga = 30;
this.colorTransformGrey.gb = 0;
this.colorTransformGrey.ba = 30;
this.colorTransformGrey.bb = 0;
this.colorTransformGrey.aa = 70;
this.colorTransformGrey.ab = 70;
}
Instance of Symbol 97 MovieClip "item_3" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 102 MovieClip "item_8" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 107 MovieClip "item_12" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 112 MovieClip "item_4" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 117 MovieClip "item_10" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 122 MovieClip "item_9" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 127 MovieClip "item_5" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 132 MovieClip "item_7" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 137 MovieClip "item_6" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 142 MovieClip "item_11" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 146 MovieClip "item_1" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 150 MovieClip "item_2" in Frame 3
onClipEvent (load) {
this._visible = false;
this.X = this._x;
this.Y = this._y;
this._x = -100;
this._y = -100;
this._xscale = (this._yscale = 80);
}
Instance of Symbol 152 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (_parent.Actions.itemList.length < 1) {
if (hitFlag == false) {
if (this.hitTest(_parent.Player.Jim)) {
_parent.Actions.hitLanding();
hitFlag = true;
}
} else if (this.hitTest(_parent.Player.Jim) != true) {
hitFlag = false;
}
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 159 MovieClip "Next Level" in Frame 3
onClipEvent (load) {
this._visible = false;
}
Frame 4
stop();
Instance of Symbol 164 MovieClip "Actions" in Frame 4
onClipEvent (load) {
function setLevel(lev) {
if (lev == 5) {
sndTrack_1.stop();
sndTrack_3.stop();
sndTrack_2.start(0, 999);
} else if (lev == 9) {
sndTrack_1.stop();
sndTrack_2.stop();
sndTrack_3.start(0, 999);
}
levTiming = false;
startFlag = false;
Player._visible = true;
Player._rotation = 180;
_parent["Next Level"]._visible = false;
_parent.Surfer.fuelUsed = 0;
_parent.Surfer.xMove = 0;
_parent.Surfer.yMove = 0;
Player._x = 58;
Player._y = -38;
sndHiss.start();
this.itemList = new Array();
tPositionsX = new Array(232, 33, 372, 412, 206, 480, 290, 271, 97, 163, 316, 234);
tPositionsY = new Array(26, 113, 21, 184, 63, 65, 207, 19, 186, 21, 96, 133);
i = lev + 1;
while (0 < i) {
tRnd = Math.floor(Math.random() * tPositionsX.length);
_parent["item_" + i]._x = tPositionsX[tRnd];
_parent["item_" + i]._y = tPositionsY[tRnd];
_parent["grab_" + i]._visible = true;
_parent["item_" + i]._visible = true;
this.itemList.push(i);
tPositionsX.splice(tRnd, 1);
tPositionsY.splice(tRnd, 1);
i--;
}
this.itemList.reverse();
setCurrentItem(this.itemList[0]);
}
function setCurrentItem(item) {
i = 1;
while (i < 13) {
_parent["glow_" + i].setMode("normal");
i++;
}
if (item != "xXx") {
_parent["glow_" + item].setMode("good");
} else {
_parent["glow_" + this.currentItem].setMode("bad");
}
this.currentItem = item;
}
function hitObject(n) {
this.name = "item_" + n;
sndItem.start();
addScore(250);
if (n == this.currentItem) {
addScore(100 * n);
this.currentItem++;
setCurrentItem(this.currentItem);
sndBonus.Start();
} else {
setCurrentItem("xXx");
}
this.itemList.shift();
_parent[this.name]._visible = false;
_parent[this.name]._x = -100;
_parent[this.name]._y = -100;
if (this.itemList.length < 1) {
itemsDone();
}
}
function hitLanding() {
_parent["Landing Posts"].gotoAndStop("Off");
levelDone();
}
function itemsDone() {
_parent["Landing Posts"].gotoAndStop("On");
sndEvac.start(0, 666);
}
function levelDone() {
sndEvac.stop();
setCurrentItem("xXx");
sndHiss.start();
levTimer = getTimer() + 3000;
levTiming = true;
x = _parent.level;
startFlag = false;
keyFlag = true;
Player._visible = false;
if (_parent.level < 11) {
_parent["Next Level"]._visible = true;
}
}
function gameOver(state) {
Mouse.show();
sndJet.stop();
sndTrack_1.stop();
sndTrack_2.stop();
sndTrack_3.stop();
sndAlarm.stop();
if (state == true) {
_parent.gotoAndStop("Win");
} else {
_parent.gotoAndStop("Lose");
}
}
function addScore(amount) {
_parent.score = int(_parent.score) + int(amount);
while (_parent.score.length < 5) {
_parent.score = "0" + _parent.score;
}
}
function checkGameOver() {
if (179 < _parent.Surfer.fuelUsed) {
gameOver(false);
} else if (160 < _parent.Surfer.fuelUsed) {
sndAlarm.start(0, 30);
}
}
sndTrack_1 = new Sound(_parent.SoundTrack_1);
sndTrack_1.attachSound("Soundtrack_1");
sndTrack_1.start(0, 999);
sndTrack_2 = new Sound(_parent.SoundTrack_2);
sndTrack_2.attachSound("Soundtrack_2");
sndTrack_3 = new Sound(_parent.SoundTrack_3);
sndTrack_3.attachSound("Soundtrack_3");
sndItem = new Sound(_parent.Item);
sndItem.attachSound("Item");
sndEvac = new Sound(_parent.Evac);
sndEvac.attachSound("Evac");
sndEvac.setPan(70);
sndHiss = new Sound(_parent.Hiss);
sndHiss.attachSound("Hiss");
sndBonus = new Sound(_parent.Bonus);
sndBonus.attachSound("Bonus");
sndAlarm = new Sound(_parent.Alarm);
sndAlarm.attachSound("Alarm");
sndAlarm.setVolume(-70);
sndEvac.setPan(-70);
_parent.level = 1;
_parent.score = "00000";
Mouse.hide();
setLevel(_parent.level);
keyFlag = true;
startFlag = false;
levTiming = false;
Player = _parent.Player;
}
onClipEvent (enterFrame) {
if (startFlag == false) {
if (38 < Player._y) {
startFlag = true;
}
}
if (levTiming) {
if (levTimer < getTimer()) {
if (_parent.level < 11) {
_parent.level++;
setLevel(_parent.level);
} else {
gameOver(true);
}
}
}
checkGameOver();
}
Instance of Symbol 167 MovieClip "Surfer" in Frame 4
onClipEvent (load) {
function accelerate() {
angle = (((player._rotation / 360) * 2) * Math.PI) - (Math.PI/2);
xMove = xMove + (power * Math.sin(angle));
yMove = yMove + ((-power) * Math.cos(angle));
}
function move() {
hypotenuse = Math.sqrt((xMove * xMove) + (yMove * yMove));
if (maxVelocity < hypotenuse) {
xMove = xMove * (maxVelocity / hypotenuse);
yMove = yMove * (maxVelocity / hypotenuse);
}
yMove = yMove + gravity;
player._y = player._y + yMove;
player._x = player._x + xMove;
if (maxRotation < rMove) {
rmove = maxRotation;
} else if (rmove < (-maxRotation)) {
rMove = -maxRotation;
}
player._rotation = player._rotation + rMove;
rMove = rMove * rotationalFriction;
}
function wrap() {
if ((player._x < ((-player._width) * 0.5)) && (xMove < 0)) {
player._x = movieWidth + (player._width * 0.5);
} else if (((movieWidth + (player._width * 0.5)) < player._x) && (0 < xMove)) {
player._x = (-player._width) * 0.5;
}
if ((player._y < ((-player._height) * 0.5)) && (yMove < 0)) {
player._y = movieheight + (player._height * 0.5);
} else if (((movieheight + (player._height * 0.5)) < player._y) && (0 < yMove)) {
player._y = (-player._height) * 0.5;
}
}
this.turnSens = 1;
this.movieHeight = 220;
this.movieWidth = 530;
this.land = this.movieHeight;
this.gravity = 0.06;
this.maxVelocity = 6.666;
this.maxRotation = 6;
this.rotationalFriction = 0.9;
this.fuelUsed = 0;
this.fuelBurnSpeed = 1.1;
this.power = 70;
this.blast = 3;
this.speed = 1;
this.player = _parent.Player;
this.needle = _parent.panel.gauge.fuel_needle;
this.sndJet = new Sound(_parent.JetSound);
this.sndJet.attachSound("Jet");
this.flameFlag = false;
this.gameOverFlag = false;
this.hitFlag = false;
}
onClipEvent (enterFrame) {
if (1 < (_parent.Actions.keyFlag + _parent.Actions.startFlag)) {
if (Key.isDown(Key.LEFT)) {
rMove = rMove - this.turnSens;
} else if (Key.isDown(Key.RIGHT)) {
rMove = rMove + this.turnSens;
}
if (Key.isDown(Key.UP)) {
if (fuelUsed < 181) {
fuelUsed = fuelUsed + fuelBurnSpeed;
if (flameFlag == false) {
player.gotoAndPlay("flame on");
player.Jim.gotoAndPlay(1);
sndJet.start(0, 999);
flameFlag = true;
}
accelerate();
} else {
player.gotoAndPlay("idle");
player.Jim.gotoAndStop(1);
sndJet.stop();
flameFlag = false;
}
} else {
player.gotoAndPlay("idle");
sndJet.stop();
flameFlag = false;
}
}
if (!gameOverFlag) {
move();
wrap();
}
needle._rotation = (fuelUsed * -1) + ((Math.random() * 2) - 1);
}
Frame 5
stop();
Frame 6
stop();
Symbol 25 MovieClip Frame 36
gotoAndPlay (1);
Symbol 29 Button
on (release) {
gotoAndPlay (2);
}
Symbol 52 Button
on (release) {
gotoAndPlay (3);
}
Symbol 53 MovieClip Frame 9
gotoAndPlay (1);
Symbol 55 MovieClip Frame 36
gotoAndPlay (1);
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 8
gotoAndPlay (2);
Symbol 62 MovieClip Frame 14
gotoAndPlay (1);
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 2
stop();
Symbol 64 MovieClip Frame 14
gotoAndPlay (1);
Symbol 80 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 93 MovieClip "hitTarget" in Symbol 95 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 3;
}
Instance of Symbol 93 MovieClip "hitTarget" in Symbol 96 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 3;
}
Symbol 97 MovieClip Frame 50
gotoAndPlay (1);
Instance of Symbol 98 MovieClip "hitTarget" in Symbol 100 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 8;
}
Instance of Symbol 98 MovieClip "hitTarget" in Symbol 101 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 8;
}
Symbol 102 MovieClip Frame 47
gotoAndPlay (1);
Instance of Symbol 103 MovieClip "hitTarget" in Symbol 105 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 12;
}
Instance of Symbol 103 MovieClip "hitTarget" in Symbol 106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 12;
}
Symbol 107 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 108 MovieClip "hitTarget" in Symbol 110 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 4;
}
Instance of Symbol 108 MovieClip "hitTarget" in Symbol 111 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 4;
}
Symbol 112 MovieClip Frame 38
gotoAndPlay (1);
Symbol 114 MovieClip Frame 31
gotoAndPlay (1);
Instance of Symbol 113 MovieClip "hitTarget" in Symbol 115 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 10;
}
Instance of Symbol 113 MovieClip "hitTarget" in Symbol 116 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 10;
}
Symbol 117 MovieClip Frame 32
gotoAndPlay (1);
Instance of Symbol 118 MovieClip "hitTarget" in Symbol 120 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 9;
}
Instance of Symbol 118 MovieClip "hitTarget" in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 9;
}
Symbol 122 MovieClip Frame 43
gotoAndPlay (1);
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 5;
}
Instance of Symbol 124 MovieClip in Symbol 126 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 5;
}
Symbol 127 MovieClip Frame 42
gotoAndPlay (1);
Instance of Symbol 128 MovieClip "hitTarget" in Symbol 130 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 7;
}
Instance of Symbol 128 MovieClip "hitTarget" in Symbol 131 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 7;
}
Symbol 132 MovieClip Frame 39
gotoAndPlay (1);
Instance of Symbol 134 MovieClip in Symbol 135 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 6;
}
Instance of Symbol 134 MovieClip in Symbol 136 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 6;
}
Symbol 137 MovieClip Frame 45
gotoAndPlay (1);
Instance of Symbol 138 MovieClip "hitTarget" in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 11;
}
Instance of Symbol 138 MovieClip "hitTarget" in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 11;
}
Symbol 142 MovieClip Frame 54
gotoAndPlay (1);
Instance of Symbol 143 MovieClip "hitTarget" in Symbol 144 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 1;
}
Instance of Symbol 143 MovieClip "hitTarget" in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 1;
}
Symbol 146 MovieClip Frame 46
gotoAndPlay (1);
Instance of Symbol 147 MovieClip "hitTarget" in Symbol 148 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 2;
}
Instance of Symbol 147 MovieClip "hitTarget" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hitFlag == false) {
if (this.hitTest(_parent._parent._parent.Player.Jim)) {
_parent._parent._parent.Actions.hitObject(itemNumber);
hitFlag = true;
trace("HIT");
}
} else if (this.hitTest(_parent._parent._parent.Player.Jim) != true) {
hitFlag = false;
}
}
onClipEvent (load) {
hitFlag = false;
itemNumber = 2;
}
Symbol 150 MovieClip Frame 44
gotoAndPlay (1);
Symbol 169 Button
on (release) {
stopAllSounds();
gotoAndPlay (2);
}
Symbol 183 Button
on (release) {
_global.ipbSend();
stop();
}
Symbol 184 MovieClip Frame 1
if (yy.savescore == 1) {
if (ipb_score == undefined) {
ipb_score = eval (_global.ipb_scoreVar);
}
xx = new LoadVars();
xx.arcadegid = _root.ibpro_gameid;
xx.gscore = ipb_score;
xx.gname = _global.ipb_get_gname();
xx.enscore = (ipb_score * yy.randchar) ^ yy.randchar2;
xx.send("index.php?autocom=arcade&do=savescore", "_self", "POST");
stop();
}
_global.ipbSend = function (ipb_score) {
_root._visible = false;
_root.enabled = false;
xx = new LoadVars();
yy = new LoadVars();
xx.sendAndLoad("index.php?autocom=arcade&do=verifyscore", yy, "POST");
};