Combined Code
movieClip 30 {
}
movieClip 35 {
}
movieClip 50 {
frame 120 {
stop();
}
}
movieClip 51 skull {
frame 1 {
stop();
}
instance of movieClip 35 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.skullspawn.start(0, 1);
}
}
}
instance of movieClip 50 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.skullget.start(0, 1);
}
}
}
}
movieClip 54 {
}
movieClip 57 {
}
movieClip 58 {
frame 19 {
_parent.nextFrame();
}
}
movieClip 59 {
}
movieClip 60 {
frame 19 {
_parent.nextFrame();
}
}
movieClip 61 reverse {
frame 1 {
stop();
}
instance of movieClip 58 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.reversespawn.start(0, 1);
}
}
}
instance of movieClip 60 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.reverseget.start(0, 1);
}
}
}
}
movieClip 64 {
}
movieClip 85 {
}
movieClip 88 {
}
movieClip 89 {
frame 30 {
_parent.nextFrame();
}
}
movieClip 90 {
}
movieClip 119 {
}
movieClip 120 {
frame 28 {
_parent.nextFrame();
}
}
movieClip 121 powerup {
frame 1 {
stop();
}
instance of movieClip 89 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.stopspawn.start(0, 1);
}
}
}
instance of movieClip 120 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.stopget.start(0, 1);
}
}
}
}
movieClip 124 {
}
movieClip 125 {
frame 48 {
_parent.nextFrame();
}
}
movieClip 134 {
}
movieClip 137 {
}
movieClip 148 {
}
movieClip 197 {
}
movieClip 198 {
frame 55 {
_parent.nextFrame();
}
}
movieClip 199 heart {
frame 1 {
stop();
}
instance of movieClip 125 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.heartspawn.start(0, 1);
}
}
}
frame 3 {
++_root.lives;
}
instance of movieClip 198 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.heartget.start(0, 1);
}
}
}
}
frame 1 {
function goToThisURL() {
getURL(linkURL, '_blank');
}
function someFunctionName() {
getURL(linkURL2, '_blank');
}
function someFunctionName2() {
getURL(linkURL3, '_blank');
}
var help = true;
var sfx = true;
var music = true;
var menuattached = false;
var gameattached = false;
var gameoverattached = false;
var _mochiads_game_id = '2a5b3a3d0ab91e86';
var linkText = 'Code FlashChaz.com';
var linkURL = 'http://www.flashchaz.com';
var linkURL2 = 'http://www.stolengoose.com';
var linkURL3 = 'http://www.notdoppler.com/?ref=glombopop';
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem(linkText, goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
var menuItem = new ContextMenuItem('Art StolenGoose.com', someFunctionName);
myMenu.customItems.push(menuItem);
var menuItem = new ContextMenuItem('Sponsored by Notdoppler', someFunctionName2);
myMenu.customItems.push(menuItem);
_root.menu = myMenu;
}
frame 1 {
var _mochiads_game_id = '2a5b3a3d0ab91e86';
mochi.as2.MochiAd.showPreGameAd({'id': '2a5b3a3d0ab91e86', 'res': '500x400', 'background': 9421540, 'color': 5675708, 'outline': 2176391, 'no_bg': true});
}
button 207 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.FlashChaz.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 212 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.StolenGoose.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 217 {
frame 1 {
stop();
}
}
instance cursor of movieClip 217 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _x + (_root._xmouse - _x);
_y = _y + (_root._ymouse - _y);
}
}
movieClip 990 __Packages.mochi.as2.MochiAd {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiAd) {
var v1 = function () {};
mochi.as2.MochiAd = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showPreGameAd = function (options) {
var v26 = {'clip': _root, 'ad_timeout': 3000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showPreloaderAd', 'color': 16747008, 'background': 16777161, 'outline': 13994812, 'no_progress_bar': false, 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}, 'ad_progress': function (percent) {}};
options = mochi.as2.MochiAd._parseOptions(options, v26);
if ('c862232051e0a94e1c3609b3916ddb17'.substr(0) == 'dfeada81ac97cde83665f81c12da7def') {
options.ad_started();
options.ad_finished();
return undefined;
}
var clip = options.clip;
var v23 = 11000;
var v19 = options.ad_timeout;
if (options.skip) {
v19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v14 = mochi.as2.MochiAd._getRes(options);
var v4 = v14[0];
var v13 = v14[1];
mc._x = v4 * 0.5;
mc._y = v13 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk._x = v4 * -0.5;
chk._y = v13 * -0.5;
var v6 = chk.createEmptyMovieClip('_mochiad_bar', 4);
if (options.no_progress_bar) {
v6._visible = false;
delete options.no_progress_bar;
} else {
v6._x = 10;
v6._y = v13 - 20;
}
var v22 = options.color;
delete options.color;
var v20 = options.background;
delete options.background;
var v24 = options.outline;
delete options.outline;
var v5 = v6.createEmptyMovieClip('_outline', 1);
v5.beginFill(v20);
v5.moveTo(0, 0);
v5.lineTo(v4 - 20, 0);
v5.lineTo(v4 - 20, 10);
v5.lineTo(0, 10);
v5.lineTo(0, 0);
v5.endFill();
var v3 = v6.createEmptyMovieClip('_inside', 2);
v3.beginFill(v22);
v3.moveTo(0, 0);
v3.lineTo(v4 - 20, 0);
v3.lineTo(v4 - 20, 10);
v3.lineTo(0, 10);
v3.lineTo(0, 0);
v3.endFill();
v3._xscale = 0;
var v7 = v6.createEmptyMovieClip('_outline', 3);
v7.lineStyle(0, v24, 100);
v7.moveTo(0, 0);
v7.lineTo(v4 - 20, 0);
v7.lineTo(v4 - 20, 10);
v7.lineTo(0, 10);
v7.lineTo(0, 0);
chk.ad_msec = v23;
chk.ad_timeout = v19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v6 = this._parent._parent;
var v11 = this._parent._mochiad_ctr;
var v5 = getTimer() - this.started;
var v3 = false;
var v4 = v6.getBytesTotal();
var v8 = v6.getBytesLoaded();
var v2 = 100 * v8 / v4;
var v10 = 100 * v5 / chk.ad_msec;
var v9 = this._mochiad_bar._inside;
var v13 = Math.min(100, Math.min(v2 || 0, v10));
v13 = Math.max(this.last_pcnt, v13);
this.last_pcnt = v13;
v9._xscale = v13;
options.ad_progress(v13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {'id': 'hostLoadPcnt', 'pcnt': v2}, clip._mochiad._containerLCName);
if (v2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var v7 = v11.getBytesTotal();
if (v7 > 0 || typeof v7 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v5 > chk.ad_timeout && v2 == 100) {
options.ad_failed();
v3 = true;
}
}
}
if (v5 > chk.ad_msec) {
v3 = true;
}
if (v4 > 0 && v8 >= v4 && v3) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
};
v1.showClickAwayAd = function (options) {
var v10 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showClickAwayAd', 'res': '300x250', 'no_bg': true, 'ad_started': function () {}, 'ad_finished': function () {}, 'ad_loaded': function (width, height) {}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_skipped': function () {}};
options = mochi.as2.MochiAd._parseOptions(options, v10);
var clip = options.clip;
var v9 = options.ad_timeout;
delete options.ad_timeout;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var v3 = clip._mochiad;
v3.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v11 = v5[0];
var v8 = v5[1];
v3._x = v11 * 0.5;
v3._y = v8 * 0.5;
var chk = v3.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_timeout = v9;
chk.started = getTimer();
chk.showing = false;
v3.lc.adLoaded = options.ad_loaded;
v3.lc.adSkipped = options.ad_skipped;
v3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
v3.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
var v21 = false;
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
v2 = true;
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v2) {
delete this.onEnterFrame;
}
};
};
v1.showInterLevelAd = function (options) {
var v13 = {'clip': _root, 'ad_timeout': 2000, 'fadeout_time': 250, 'regpt': 'o', 'method': 'showTimedAd', 'ad_started': function () {
this.clip.stop();
}, 'ad_finished': function () {
this.clip.play();
}, 'ad_failed': function () {
trace('[MochiAd] Couldn\'t load an ad, make sure that your game\'s local security sandbox is configured for Access Network Only and that you are not using ad blocking software');
}, 'ad_loaded': function (width, height) {}, 'ad_skipped': function () {}};
options = mochi.as2.MochiAd._parseOptions(options, v13);
var clip = options.clip;
var v10 = 11000;
var v12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!mochi.as2.MochiAd.load(options)) {
options.ad_failed();
options.ad_finished();
return undefined;
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var v5 = mochi.as2.MochiAd._getRes(options);
var v14 = v5[0];
var v11 = v5[1];
mc._x = v14 * 0.5;
mc._y = v11 * 0.5;
var chk = mc.createEmptyMovieClip('_mochiad_wait', 3);
chk.ad_msec = v10;
chk.ad_timeout = v12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var v2 = 100 * (1 - (getTimer() - this.fadeout_start) / this.fadeout_time);
if (v2 > 0) {
this._parent._alpha = v2;
} else {
var v3 = this._parent._parent;
mochi.as2.MochiAd.unload(v3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var v2 = this.mc._mochiad_wait;
v2.server_control = true;
v2.started = getTimer();
v2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace('[MOCHIAD rpcTestFn] ' + s);
return s;
};
chk.onEnterFrame = function () {
var v5 = this._parent._mochiad_ctr;
var v4 = getTimer() - this.started;
var v2 = false;
if (!chk.showing) {
var v3 = v5.getBytesTotal();
if (v3 > 0 || typeof v3 == 'undefined') {
chk.showing = true;
chk.started = getTimer();
} else {
if (v4 > chk.ad_timeout) {
options.ad_failed();
v2 = true;
}
}
}
if (v4 > chk.ad_msec) {
v2 = true;
}
if (v2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
};
v1.showPreloaderAd = function (options) {
trace('[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0');
mochi.as2.MochiAd.showPreGameAd(options);
};
v1.showTimedAd = function (options) {
trace('[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0');
mochi.as2.MochiAd.showInterLevelAd(options);
};
v1._allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.load = function (options) {
var v12 = {'clip': _root, 'server': 'http://x.mochiads.com/srv/1/', 'method': 'load', 'depth': 10333, 'id': '_UNKNOWN_'};
options = mochi.as2.MochiAd._parseOptions(options, v12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = mochi.as2.MochiAd.getVersion();
var v6 = options.clip;
if (!mochi.as2.MochiAd._isNetworkAvailable()) {
return null;
}
if (v6._mochiad_loaded) {
return null;
}
var v11 = options.depth;
delete options.depth;
var mc = v6.createEmptyMovieClip('_mochiad', v11);
var v10 = mochi.as2.MochiAd._getRes(options);
options.res = v10[0] + 'x' + v10[1];
options.server += options.id;
delete options.id;
v6._mochiad_loaded = true;
if (v6._url.indexOf('http') != 0) {
trace('[MochiAd] NOTE: Security Sandbox Violation errors below are normal');
}
var v4 = mc.createEmptyMovieClip('_mochiad_ctr', 1);
for (var v7 in options) {
v4[v7] = options[v7];
}
var v9 = v4.server;
delete v4.server;
var v13 = mochi.as2.MochiAd._allowDomains(v9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var v5 = new Object();
var v8 = ['', Math.floor((new Date()).getTime()), random(999999)].join('_');
v5.mc = mc;
v5.name = v8;
v5.hostname = v13;
v5.allowDomain = function (d) {
return true;
};
v5.allowInsecureDomain = v5.allowDomain;
v5.connect(v8);
mc.lc = v5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
v4.lc = v8;
v4.st = getTimer();
if (!options.skip) {
v4.loadMovie(v9 + '.swf', 'POST');
}
return mc;
};
v1.unload = function (clip) {
if (typeof clip == 'undefined') {
clip = _root;
}
if (clip.clip && clip.clip._mochiad) {
clip = clip.clip;
}
if (!clip._mochiad) {
return false;
}
mochi.as2.MochiAd.containerNotify(clip, {'id': 'unload'}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return true;
};
v1._isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1._getRes = function (options) {
var v3 = options.clip.getBounds();
var v2 = 0;
var v1 = 0;
if (typeof options.res != 'undefined') {
var v4 = options.res.split('x');
v2 = parseFloat(v4[0]);
v1 = parseFloat(v4[1]);
} else {
v2 = v3.xMax - v3.xMin;
v1 = v3.yMax - v3.yMin;
}
if (v2 == 0 || v1 == 0) {
v2 = Stage.width;
v1 = Stage.height;
}
return [v2, v1];
};
v1._parseOptions = function (options, defaults) {
var v4 = {};
for (var v8 in defaults) {
v4[v8] = defaults[v8];
}
if (options) {
for (v8 in options) {
v4[v8] = options[v8];
}
}
if (_root.mochiad_options) {
var v5 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v5.length) {
var v3 = v5[v2].split('=');
v4[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
if (v4.id == 'test') {
trace('[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!');
}
return v4;
};
v1.rpc = function (clip, callbackID, arg) {
switch (arg.id) {
case 'setValue':
mochi.as2.MochiAd.setValue(clip, arg.objectName, arg.value);
break;
case 'getValue':
var v4 = mochi.as2.MochiAd.getValue(clip, arg.objectName);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v4, clip._mochiad._containerLCName);
break;
case 'runMethod':
var v3 = mochi.as2.MochiAd.runMethod(clip, arg.method, arg.args);
mochi.as2.MochiAd.containerRpcResult(clip, callbackID, v3, clip._mochiad._containerLCName);
break;
default:
trace('[mochiads rpc] unknown rpc id: ' + arg.id);
}
};
v1.setValue = function (base, objectName, value) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
base[v2[v1]] = value;
};
v1.getValue = function (base, objectName) {
var v2 = objectName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
return base[v2[v1]];
};
v1.runMethod = function (base, methodName, argsArray) {
var v2 = methodName.split('.');
var v1;
v1 = 0;
while (v1 < v2.length - 1) {
if (base[v2[v1]] == undefined || base[v2[v1]] == null) {
return undefined;
}
base = base[v2[v1]];
++v1;
}
if (typeof base[v2[v1]] == 'function') {
return base[v2[v1]].apply(base, argsArray);
} else {
return undefined;
}
};
v1.containerNotify = function (clip, args, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.notify) {
v1.notify(args);
} else {
(new LocalConnection()).send(lcName, 'notify', args);
}
};
v1.containerRpcResult = function (clip, callbackID, val, lcName) {
var v1 = clip._mochiad._mochiad_ctr.ad.app;
if (v1.rpcResult) {
v1.rpcResult(callbackID, val);
} else {
(new LocalConnection()).send(lcName, 'rpcResult', callbackID, val);
}
};
ASSetPropFlags(mochi.as2.MochiAd.prototype, null, 1);
}
#endinitclip
}
movieClip 991 __Packages.mochi.as2.MochiSync {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSync) {
var v1 = function () {
this._syncContainer = {};
};
mochi.as2.MochiSync = v1;
var v2 = v1.prototype;
v2.getProp = function (name) {
return this._syncContainer[name];
};
v2.setProp = function (name, value) {
if (this._syncContainer[name] == value) {
return undefined;
}
this._syncContainer[name] = value;
mochi.as2.MochiServices.send('sync_propUpdate', {'name': name, 'value': value});
};
v2.triggerEvent = function (eventType, args) {
switch (eventType) {
case mochi.as2.MochiSync.SYNC_REQUEST:
mochi.as2.MochiServices.send('sync_syncronize', this._syncContainer);
break;
case mochi.as2.MochiSync.SYNC_PROPERTY:
this._syncContainer[args.name] = args.value;
}
};
v1.SYNC_REQUEST = 'SyncRequest';
v1.SYNC_PROPERTY = 'UpdateProperty';
ASSetPropFlags(mochi.as2.MochiSync.prototype, null, 1);
}
#endinitclip
}
movieClip 992 __Packages.mochi.as2.MochiServices {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiServices) {
var v1 = function () {};
mochi.as2.MochiServices = v1;
var v2 = v1.prototype;
v1.__get__id = function () {
return mochi.as2.MochiServices._id;
};
v1.__get__clip = function () {
return mochi.as2.MochiServices._container;
};
v1.__get__childClip = function () {
return mochi.as2.MochiServices._clip;
};
v1.getVersion = function () {
return '3.8 as2';
};
v1.allowDomains = function (server) {
var v1 = ((server.split('/'))[2].split(':'))[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain('*');
System.security.allowDomain(v1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain('*');
System.security.allowInsecureDomain(v1);
}
}
return v1;
};
v1.__get__isNetworkAvailable = function () {
if (System.security) {
var v1 = System.security;
if (v1.sandboxType == 'localWithFile') {
return false;
}
}
return true;
};
v1.__set__comChannelName = function (val) {
if (val != undefined) {
if (val.length > 3) {
mochi.as2.MochiServices._sendChannelName = val + '_fromgame';
mochi.as2.MochiServices.initComChannels();
}
}
return mochi.as2.MochiServices.__get__comChannelName();
};
v1.__get__connected = function () {
return mochi.as2.MochiServices._connected;
};
v1.connect = function (id, clip, onError) {
mochi.as2.MochiServices.warnID(id, false);
if (!mochi.as2.MochiServices._connected && mochi.as2.MochiServices._clip == undefined) {
trace('MochiServices Connecting...');
mochi.as2.MochiServices._connecting = true;
mochi.as2.MochiServices.init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else {
if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
};
v1.disconnect = function () {
if (mochi.as2.MochiServices._connected || mochi.as2.MochiServices._connecting) {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._connecting = mochi.as2.MochiServices._connected;
mochi.as2.MochiServices.flush(true);
if (mochi.as2.MochiServices._clip != undefined) {
mochi.as2.MochiServices._clip.removeMovieClip();
delete mochi.as2.MochiServices._clip;
}
mochi.as2.MochiServices._listenChannel.close();
}
};
v1.init = function (id, clip) {
mochi.as2.MochiServices._id = id;
if (clip != undefined) {
mochi.as2.MochiServices._container = clip;
} else {
mochi.as2.MochiServices._container = _root;
}
mochi.as2.MochiServices.loadCommunicator(id, mochi.as2.MochiServices._container);
};
v1.loadCommunicator = function (id, clip) {
var v6 = '_mochiservices_com_' + id;
var v5 = new MovieClipLoader();
var v3 = {};
if (mochi.as2.MochiServices._clip != null) {
return mochi.as2.MochiServices._clip;
}
if (!mochi.as2.MochiServices.__get__isNetworkAvailable()) {
return null;
}
if ((mochi.as2.MochiServices.urlOptions()).servURL) {
mochi.as2.MochiServices._servURL = (mochi.as2.MochiServices.urlOptions()).servURL;
}
var v4 = mochi.as2.MochiServices._servURL + mochi.as2.MochiServices._services;
if ((mochi.as2.MochiServices.urlOptions()).servicesURL) {
v4 = (mochi.as2.MochiServices.urlOptions()).servicesURL;
}
mochi.as2.MochiServices.allowDomains(v4);
mochi.as2.MochiServices._clip = clip.createEmptyMovieClip(v6, 10336, false);
mochi.as2.MochiServices._listenChannelName += Math.floor((new Date()).getTime()) + '_' + Math.floor(Math.random() * 99999);
mochi.as2.MochiServices.listen();
if (v3.waitInterval != null) {
clearInterval(v3.waitInterval);
}
v3.onLoadError = mochi.as2.MochiServices.loadError;
v3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
v3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
v3.startTime = getTimer();
v3.wait = function () {
if (getTimer() - this.startTime > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
}
clearInterval(this.waitInterval);
}
};
v3.waitInterval = setInterval(v3, 'wait', 1000);
v5.addListener(v3);
v5.loadClip(v4 + '?listenLC=' + mochi.as2.MochiServices._listenChannelName + '&mochiad_options=' + escape(_root.mochiad_options) + '&api_version=' + mochi.as2.MochiServices.getVersion(), mochi.as2.MochiServices._clip);
mochi.as2.MochiServices._sendChannel = new LocalConnection();
mochi.as2.MochiServices._sendChannel._queue = [];
return mochi.as2.MochiServices._clip;
};
v1.loadError = function (target_mc, errorCode, httpStatus) {
trace('MochiServices could not load.');
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, [errorCode]);
};
v1.onStatus = function (infoObject) {
if (infoObject.level !== 'error') {
} else {
mochi.as2.MochiServices._connected = false;
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
}
};
v1.listen = function () {
mochi.as2.MochiServices._listenChannel = new LocalConnection();
mochi.as2.MochiServices._listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
mochi.as2.MochiServices._listenChannel.allowDomain = function (d) {
return true;
};
mochi.as2.MochiServices._listenChannel.allowInsecureDomain = mochi.as2.MochiServices._listenChannel.allowDomain;
mochi.as2.MochiServices._listenChannel._nextcallbackID = 0;
mochi.as2.MochiServices._listenChannel._callbacks = {};
mochi.as2.MochiServices._listenChannel.connect(mochi.as2.MochiServices._listenChannelName);
trace('Waiting for MochiAds services to connect...');
};
v1.initComChannels = function () {
if (!mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'handshakeDone'});
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': 'registerGame', 'id': mochi.as2.MochiServices._id, 'version': mochi.as2.MochiServices.getVersion()});
mochi.as2.MochiServices._listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
mochi.as2.MochiServices._listenChannel.onReceive = function (pkg) {
var v5 = pkg.callbackID;
var v4 = this._callbacks[v5];
if (!v4) {
return undefined;
}
var v2 = v4.callbackMethod;
var v3 = v4.callbackObject;
if (v3 && typeof v2 == 'string') {
v2 = v3[v2];
}
if (v2 != undefined) {
v2.apply(v3, pkg.args);
}
delete this._callbacks[v5];
};
mochi.as2.MochiServices._listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case 'events':
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case 'coins':
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case 'sync':
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
mochi.as2.MochiServices._listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ['IOError']);
};
trace('[SERVICES_API] connected!');
mochi.as2.MochiServices._connecting = false;
mochi.as2.MochiServices._connected = true;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', mochi.as2.MochiServices._sendChannel._queue.shift());
}
}
};
v1.updateCopy = function (args) {
mochi.as2.MochiServices.send('coins_updateCopy', args, null, null);
};
v1.flush = function (error) {
var v1;
var v2;
while (mochi.as2.MochiServices._sendChannel._queue.length > 0) {
v1 = mochi.as2.MochiServices._sendChannel._queue.shift();
false;
if (v1.callbackID != null) {
v2 = mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
}
delete mochi.as2.MochiServices._listenChannel._callbacks[v1.callbackID];
if (error) {
mochi.as2.MochiServices.handleError(v1.args, v2.callbackObject, v2.callbackMethod);
}
}
};
v1.handleError = function (args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ['NotConnected']);
}
if (args.options != null && args.options.onError != null) {
args.options.onError.apply(null, ['NotConnected']);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = 'NotConnected';
if (callbackObject != null && typeof callbackMethod == 'string') {
callbackObject[callbackMethod](args);
} else {
if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
};
v1.send = function (methodName, args, callbackObject, callbackMethod) {
if (mochi.as2.MochiServices._connected) {
mochi.as2.MochiServices._sendChannel.send(mochi.as2.MochiServices._sendChannelName, 'onReceive', {'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
} else {
if (mochi.as2.MochiServices._clip == undefined || !mochi.as2.MochiServices._connecting) {
trace('Error: MochiServices not connected. Please call MochiServices.connect(). Function: ' + methodName);
mochi.as2.MochiServices.handleError(args, callbackObject, callbackMethod);
mochi.as2.MochiServices.flush(true);
return undefined;
} else {
mochi.as2.MochiServices._sendChannel._queue.push({'methodName': methodName, 'args': args, 'callbackID': mochi.as2.MochiServices._listenChannel._nextcallbackID});
}
}
mochi.as2.MochiServices._listenChannel._callbacks[mochi.as2.MochiServices._listenChannel._nextcallbackID] = {'callbackObject': callbackObject, 'callbackMethod': callbackMethod};
++mochi.as2.MochiServices._listenChannel._nextcallbackID;
};
v1.urlOptions = function () {
var v5 = {};
var v6;
if (_root._url.indexOf('mochiad_options') != -1) {
var v2 = _root._url.indexOf('mochiad_options') + 'mochiad_options'.length + 1;
v6 = _root._url.substr(v2, _root._url.length);
} else {
if (_root.mochiad_options) {
v6 = _root.mochiad_options;
}
}
if (v6) {
var v4 = _root.mochiad_options.split('&');
var v2 = 0;
while (v2 < v4.length) {
var v3 = v4[v2].split('=');
v5[unescape(v3[0])] = unescape(v3[1]);
++v2;
}
}
return v5;
};
v1.warnID = function (bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace('WARNING: ' + (leaderboard ? 'board' : 'game') + ' ID is not the appropriate length');
return undefined;
} else {
if (bid == '1e113c7239048b3f') {
if (leaderboard) {
trace('WARNING: Using testing board ID');
} else {
trace('WARNING: Using testing board ID as game ID');
}
return undefined;
} else {
if (bid == '84993a1de4031cd8') {
if (leaderboard) {
trace('WARNING: Using testing game ID as board ID');
} else {
trace('WARNING: Using testing game ID');
}
return undefined;
}
}
}
var v1 = 0;
while (v1 < bid.length) {
switch (bid.charAt(v1)) {
if (bid.charAt(v1) !== 'f') {
} else {
case '0':
case '1':
case '2':
case '3':
case '4':
case '5':
case '6':
case '7':
case '8':
case '9':
case 'a':
case 'b':
case 'c':
break;
case 'd':
case 'e':
}
default:
trace('WARNING: Board ID contains illegal characters: ' + bid);
return undefined;
}
++v1;
}
};
v1.addLinkEvent = function (url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var v2 = new Object();
v2.mav = mochi.as2.MochiServices.getVersion();
v2.swfv = btn.getSWFVersion() || 6;
v2.swfurl = btn._url;
v2.fv = System.capabilities.version;
v2.os = System.capabilities.os;
v2.lang = System.capabilities.language;
v2.scres = System.capabilities.screenResolutionX + 'x' + System.capabilities.screenResolutionY;
var s = '?';
var v3 = 0;
for (var v6 in v2) {
if (v3 != 0) {
s += '&';
}
++v3;
s = s + v6 + '=' + escape(v2[v6]);
}
if (!(mochi.as2.MochiServices.netupAttempted || mochi.as2.MochiServices._connected)) {
var ping = btn.createEmptyMovieClip('ping', 777);
var v7 = btn.createEmptyMovieClip('nettest', 778);
mochi.as2.MochiServices.netupAttempted = true;
ping.loadMovie('http://x.mochiads.com/linkping.swf?t=' + getTimer());
v7.onEnterFrame = function () {
if (ping._totalframes > 0 && ping._totalframes == ping._framesloaded) {
delete this.onEnterFrame;
} else {
if (getTimer() - t0 > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
}
};
}
var v4 = btn.createEmptyMovieClip('clk', 1001);
v4._alpha = 0;
v4.beginFill(1044735);
v4.moveTo(0, 0);
v4.lineTo(0, btn._height);
v4.lineTo(btn._width, btn._height);
v4.lineTo(btn._width, 0);
v4.lineTo(0, 0);
v4.endFill();
v4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL(url + s, '_blank');
} else {
getURL(burl, '_blank');
}
if (onClick != undefined) {
onClick();
}
};
};
v1.setContainer = function (clip) {};
v1.stayOnTop = function (clip) {};
v1._servURL = 'http://www.mochiads.com/static/lib/services/';
v1._services = 'services.swf';
v1._mochiLC = 'MochiLC.swf';
v1._listenChannelName = '__ms_';
v1._connecting = false;
v1._connected = false;
v1.netup = true;
v1.netupAttempted = false;
v1.servicesSync = new mochi.as2.MochiSync();
v1.addProperty('childClip', v1.__get__childClip, function () {});
v1.addProperty('clip', v1.__get__clip, function () {});
v1.addProperty('comChannelName', function () {}, v1.__set__comChannelName);
v1.addProperty('connected', v1.__get__connected, function () {});
v1.addProperty('id', v1.__get__id, function () {});
v1.addProperty('isNetworkAvailable', v1.__get__isNetworkAvailable, function () {});
ASSetPropFlags(mochi.as2.MochiServices.prototype, null, 1);
}
#endinitclip
}
movieClip 993 __Packages.mochi.as2.MochiEventDispatcher {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEventDispatcher) {
var v1 = function () {
this.eventTable = {};
};
mochi.as2.MochiEventDispatcher = v1;
var v2 = v1.prototype;
v2.buildDelegate = function (thisObject, thatObject) {
var v2 = {'thisObject': thisObject, 'thatObject': thatObject};
if (thatObject != undefined) {
var funct = (typeof thatObject == 'string') ? thisObject[thatObject] : thatObject;
v2.delegate = function (args) {
funct.call(thisObject, args);
};
return v2;
}
v2.delegate = thisObject;
return v2;
};
v2.compareDelegate = function (d_A, d_B) {
if (d_A.thisObject != d_B.thisObject || d_A.thatObject != d_B.thatObject) {
return false;
}
return true;
};
v2.addEventListener = function (event, thisObject, thatObject) {
this.removeEventListener(event, thisObject, thatObject);
this.eventTable[event].push(this.buildDelegate(thisObject, thatObject));
};
v2.removeEventListener = function (event, thisObject, thatObject) {
var v3 = this.buildDelegate(thisObject, thatObject);
if (this.eventTable[event] == undefined) {
this.eventTable[event] = [];
return undefined;
}
for (var v4 in this.eventTable[event]) {
if (!this.compareDelegate(this.eventTable[event][v4], v3)) {
continue;
}
this.eventTable[event].splice(Number(v4), 1);
}
};
v2.triggerEvent = function (event, args) {
if (this.eventTable[event] == undefined) {
return undefined;
}
for (var v4 in this.eventTable[event]) {
this.eventTable[event][v4].delegate(args);
}
};
ASSetPropFlags(mochi.as2.MochiEventDispatcher.prototype, null, 1);
}
#endinitclip
}
movieClip 994 __Packages.mochi.as2.MochiEvents {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiEvents) {
var v1 = function () {};
mochi.as2.MochiEvents = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.startSession = function (achievementID) {
mochi.as2.MochiServices.send('events_beginSession', {'achievementID': achievementID}, null, null);
};
v1.setNotifications = function (clip, style) {
var v2 = {};
for (var v3 in style) {
v2[v3] = style[v3];
}
v2.clip = clip;
mochi.as2.MochiServices.send('events_setNotifications', v2, null, null);
};
v1.addEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.addEventListener(eventType, thisObject, thatObject);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiEvents._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, thisObject, thatObject) {
mochi.as2.MochiEvents._dispatcher.removeEventListener(eventType, thisObject, thatObject);
};
v1.startPlay = function (tag) {
if (tag == undefined) {
tag = 'gameplay';
}
mochi.as2.MochiServices.send('events_setRoundID', {'tag': String(tag)}, null, null);
};
v1.endPlay = function () {
mochi.as2.MochiServices.send('events_clearRoundID', null, null, null);
};
v1.trackEvent = function (tag, value) {
mochi.as2.MochiServices.send('events_trackEvent', {'tag': tag, 'value': value}, null, null);
};
v1.ACHIEVEMENT_RECEIVED = 'AchievementReceived';
v1.ALIGN_TOP_LEFT = 'ALIGN_TL';
v1.ALIGN_TOP = 'ALIGN_T';
v1.ALIGN_TOP_RIGHT = 'ALIGN_TR';
v1.ALIGN_LEFT = 'ALIGN_L';
v1.ALIGN_CENTER = 'ALIGN_C';
v1.ALIGN_RIGHT = 'ALIGN_R';
v1.ALIGN_BOTTOM_LEFT = 'ALIGN_BL';
v1.ALIGN_BOTTOM = 'ALIGN_B';
v1.ALIGN_BOTTOM_RIGHT = 'ALIGN_BR';
v1.FORMAT_SHORT = 'ShortForm';
v1.FORMAT_LONG = 'LongForm';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiEvents.prototype, null, 1);
}
#endinitclip
}
movieClip 995 __Packages.mochi.as2.MochiSocial {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiSocial) {
var v1 = function () {};
mochi.as2.MochiSocial = v1;
var v2 = v1.prototype;
v1.getVersion = function () {
return mochi.as2.MochiServices.getVersion();
};
v1.showLoginWidget = function (options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send('coins_showLoginWidget', {'options': options});
};
v1.hideLoginWidget = function () {
mochi.as2.MochiServices.send('coins_hideLoginWidget');
};
v1.requestLogin = function () {
mochi.as2.MochiServices.send('coins_requestLogin');
};
v1.getUserInfo = function () {
mochi.as2.MochiServices.send('coins_getUserInfo');
};
v1.saveUserProperties = function (properties) {
mochi.as2.MochiServices.send('coins_saveUserProperties', properties);
};
v1.addEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.addEventListener(eventType, delegate);
};
v1.triggerEvent = function (eventType, args) {
mochi.as2.MochiSocial._dispatcher.triggerEvent(eventType, args);
};
v1.removeEventListener = function (eventType, delegate) {
mochi.as2.MochiSocial._dispatcher.removeEventListener(eventType, delegate);
};
v1.LOGGED_IN = 'LoggedIn';
v1.LOGGED_OUT = 'LoggedOut';
v1.LOGIN_SHOW = 'LoginShow';
v1.LOGIN_HIDE = 'LoginHide';
v1.LOGIN_SHOWN = 'LoginShown';
v1.PROFILE_SHOW = 'ProfileShow';
v1.PROFILE_HIDE = 'ProfileHide';
v1.PROPERTIES_SAVED = 'PropertySaved';
v1.WIDGET_LOADED = 'WidgetLoaded';
v1.USER_INFO = 'UserInfo';
v1.ERROR = 'Error';
v1.IO_ERROR = 'IOError';
v1.NO_USER = 'NoUser';
v1.PROPERTIES_SIZE = 'PropertiesSize';
v1._dispatcher = new mochi.as2.MochiEventDispatcher();
ASSetPropFlags(mochi.as2.MochiSocial.prototype, null, 1);
}
#endinitclip
}
movieClip 996 __Packages.com.gskinner.sprites.CollisionDetection {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.gskinner) {
_global.com.gskinner = new Object();
}
if (!_global.com.gskinner.sprites) {
_global.com.gskinner.sprites = new Object();
}
if (!_global.com.gskinner.sprites.CollisionDetection) {
var v1 = function () {};
com.gskinner.sprites.CollisionDetection = v1;
var v2 = v1.prototype;
v1.checkForCollision = function (p_clip1, p_clip2, p_alphaTolerance) {
if (p_alphaTolerance == undefined) {
p_alphaTolerance = 255;
}
var v4 = p_clip1.getBounds(_root);
var v3 = p_clip2.getBounds(_root);
if (v4.xMax < v3.xMin || v3.xMax < v4.xMin || (v4.yMax < v3.yMin || v3.yMax < v4.yMin)) {
return null;
}
var v2 = {};
v2.xMin = Math.max(v4.xMin, v3.xMin);
v2.xMax = Math.min(v4.xMax, v3.xMax);
v2.yMin = Math.max(v4.yMin, v3.yMin);
v2.yMax = Math.min(v4.yMax, v3.yMax);
var v7 = new flash.display.BitmapData(v2.xMax - v2.xMin, v2.yMax - v2.yMin, false);
var v5 = p_clip1.transform.concatenatedMatrix;
v5.tx -= v2.xMin;
v5.ty -= v2.yMin;
v7.draw(p_clip1, v5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, p_alphaTolerance));
v5 = p_clip2.transform.concatenatedMatrix;
v5.tx -= v2.xMin;
v5.ty -= v2.yMin;
v7.draw(p_clip2, v5, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, p_alphaTolerance), 'difference');
var v6 = v7.getColorBoundsRect(4294967295.0, 4278255615.0);
if (v6.width == 0) {
return null;
}
v6.x += v2.xMin;
v6.y += v2.yMin;
return v6;
};
ASSetPropFlags(com.gskinner.sprites.CollisionDetection.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
}
movieClip 222 {
frame 6 {
stop();
}
}
button 223 {
on (release) {
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
}
// unknown tag 88 length 68
movieClip 237 {
}
movieClip 239 {
frame 337 {
stop();
_root.nextFrame();
}
}
movieClip 244 {
}
movieClip 332 {
}
button 333 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 334 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.FlashChaz.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 335 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.StolenGoose.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 336 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.FlashChaz.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 337 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.StolenGoose.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 338 {
}
movieClip 339 {
frame 166 {
_root.nextFrame();
}
}
frame 4 {
stop();
}
frame 4 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
__com_mochibot__('a42b419d', this, 10301, true);
}
movieClip 342 {
}
movieClip 348 {
}
movieClip 349 {
}
button 356 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
if (_root.help == true) {
_root.gotoAndStop('help');
} else {
_root.gotoAndStop('game');
}
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 361 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/highscores.php?game=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 366 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
_root.gotoAndStop('credits');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 371 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 373 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 378 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
nextFrame();
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 383 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
prevFrame();
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 384 {
frame 1 {
stop();
}
frame 2 {
_root.sfx = true;
}
frame 3 {
_root.sfx = false;
}
}
button 389 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
nextFrame();
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 394 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
prevFrame();
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 395 {
frame 1 {
stop();
}
frame 2 {
_root.music = true;
}
frame 3 {
_root.music = false;
}
}
movieClip 396 {
instance of movieClip 384 {
onClipEvent (enterFrame) {
if (_root.sfx == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
instance of movieClip 395 {
onClipEvent (enterFrame) {
if (_root.music == true) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
}
}
// unknown tag 88 length 63
movieClip 400 {
}
instance of movieClip 400 {
onClipEvent (enterFrame) {
_root.btnover = new Sound();
_root.btnover.attachSound('btnover');
_root.btnpress = new Sound();
_root.btnpress.attachSound('btnpress');
_root.go = new Sound();
_root.go.attachSound('go');
_root.arcadebtn = new Sound();
_root.arcadebtn.attachSound('arcadebtn');
_root.gameoverspeech = new Sound();
_root.gameoverspeech.attachSound('gameoverspeech');
_root.heartspawn = new Sound();
_root.heartspawn.attachSound('heartspawn');
_root.heartget = new Sound();
_root.heartget.attachSound('heartget');
_root.levelup = new Sound();
_root.levelup.attachSound('levelup');
_root.die = new Sound();
_root.die.attachSound('die');
_root.hit1 = new Sound();
_root.hit1.attachSound('hit1');
_root.reversespawn = new Sound();
_root.reversespawn.attachSound('reversespawn');
_root.reverseget = new Sound();
_root.reverseget.attachSound('reverseget');
_root.skullspawn = new Sound();
_root.skullspawn.attachSound('skullspawn');
_root.skullget = new Sound();
_root.skullget.attachSound('skullget');
_root.sqauredie1 = new Sound();
_root.sqauredie1.attachSound('sqauredie1');
_root.sqauredie2 = new Sound();
_root.sqauredie2.attachSound('sqauredie2');
_root.sqauredie3 = new Sound();
_root.sqauredie3.attachSound('sqauredie3');
_root.sqauredie4 = new Sound();
_root.sqauredie4.attachSound('sqauredie4');
_root.sqauredie5 = new Sound();
_root.sqauredie5.attachSound('sqauredie5');
_root.sqaureget = new Sound();
_root.sqaureget.attachSound('sqaureget');
_root.sqaureget.setVolume(60);
_root.stopspawn = new Sound();
_root.stopspawn.attachSound('stopspawn');
_root.stopget = new Sound();
_root.stopget.attachSound('stopget');
_root.chew = new Sound();
_root.chew.attachSound('chew');
_root.stopchew = new Sound();
_root.stopchew.attachSound('stopchew');
}
}
movieClip 402 {
}
instance of movieClip 402 {
onClipEvent (enterFrame) {
_root.gameMusic.stop('gamemusic');
_root.gameoverMusic.stop('gameover');
_root.gameattached = false;
_root.gameoverattached = false;
if (_root.music != true) {
_root.menuMusic.stop('menumusic');
_root.menuattached = false;
} else {
if (_root.menuattached == false) {
_root.menuattached = true;
_root.menuMusic = new Sound();
_root.menuMusic.attachSound('menumusic');
_root.menuMusic.start(0, 999);
_root.menuMusic.setVolume(40);
}
}
}
}
instance cursor of movieClip 217 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _x + (_root._xmouse - _x);
_y = _y + (_root._ymouse - _y);
}
}
button 410 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
_root.gotoAndStop('menu');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 415 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.FlashChaz.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 420 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.StolenGoose.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 425 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 427 {
}
movieClip 434 {
}
movieClip 435 {
}
movieClip 440 {
}
movieClip 453 {
}
movieClip 454 {
}
movieClip 455 {
frame 60 {
_parent.gotoAndStop(1);
}
}
movieClip 456 {
frame 1 {
stop();
}
frame 2 {
--_root.lives;
_root.livesAnim.play();
}
}
movieClip 458 {
}
button 462 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 469 {
on (release) {
if (_root.sfx == true) {
_root.arcadebtn.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 476 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 477 {
}
// unknown tag 88 length 59
button 489 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
_root.gotoAndStop('menu');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 494 {
on (release) {
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
nextFrame();
_root.help = false;
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 499 {
on (release) {
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
prevFrame();
_root.help = true;
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 500 {
frame 1 {
stop();
}
}
movieClip 511 {
}
button 514 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
_root.gotoAndStop('game');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 515 {
}
instance of movieClip 402 {
onClipEvent (enterFrame) {
_root.menuMusic.stop('menumusic');
_root.menuattached = false;
if (_root.music != true) {
_root.gameMusic.stop('gamemusic');
_root.gameattached = false;
} else {
if (_root.gameattached == false) {
_root.gameattached = true;
_root.gameMusic = new Sound();
_root.gameMusic.attachSound('gamemusic');
_root.gameMusic.start(0, 999);
_root.gameMusic.setVolume(25);
}
}
}
}
instance cursor of movieClip 217 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _x + (_root._xmouse - _x);
_y = _y + (_root._ymouse - _y);
}
}
frame 7 {
function checkCollision() {
var v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(player, noHit, 255);
if (v2) {
noMove1 = true;
} else {
noMove1 = false;
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(cursor2, noHit, 255);
if (v2) {
noMove2 = true;
} else {
noMove2 = false;
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(player, spike.hit, 255);
if (v2 && _root.player._currentframe < 19 && _root.player.dead == false) {
spike.nextFrame();
bg.gotoAndStop('hit');
player.gotoAndStop('hit');
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(box, spike.hit, 255);
if (v2 && box._currentframe == 1) {
box.gotoAndStop(3);
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(box2, spike.hit, 255);
if (v2 && box2._currentframe == 1) {
box2.gotoAndStop(3);
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(box3, spike.hit, 255);
if (v2 && box3._currentframe == 1) {
box3.gotoAndStop(3);
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(box4, spike.hit, 255);
if (v2 && box4._currentframe == 1) {
box4.gotoAndStop(3);
}
v2 = com.gskinner.sprites.CollisionDetection.checkForCollision(box5, spike.hit, 255);
if (v2 && box5._currentframe == 1) {
box5.gotoAndStop(3);
}
}
_quality = 'LOW';
var paused = true;
var countdown = true;
var level = 1;
var drag = 0.15;
var bladespeed = 1;
var score = 0;
var lives = 3;
var maxlives = 3;
var power = false;
var ghit = false;
var spawning = false;
var skullshow = false;
var skullmove = false;
var itemhide = false;
var pMove = true;
var noMove1 = false;
var noMove2 = false;
var timer = 60;
var timer2 = 45;
var timer3 = 60;
var timer4 = 60;
i = 0;
h = 0;
s = 0;
r = 0;
onEnterFrame = function () {
if (score < 0) {
score = 0;
}
if (player.done == true) {
_root.gotoAndStop('gameover');
}
checkCollision();
if (noMove1 == true && noMove2 == true) {
pMove = false;
} else {
pMove = true;
}
};
countdown = function () {
if (paused == false && power == false) {
yellowball.gotoAndStop('spawn');
--timer;
i += 1;
duplicateMovieClip(skull, 'skullSpawn' + i, i);
}
if (timer == 0) {
clearInterval(countdownInterval);
}
};
countdownInterval = setInterval(countdown, 10400);
countdown2 = function () {
if (paused == false) {
--timer2;
h += 1;
duplicateMovieClip(heart, 'heartSpawn' + h, h);
}
if (timer2 == 0) {
clearInterval(countdown2Interval);
}
};
countdown2Interval = setInterval(countdown2, 55000);
countdown3 = function () {
if (paused == false) {
--timer3;
s += 1;
duplicateMovieClip(powerup, 'powerupSpawn' + s, s);
}
if (timer3 == 0) {
clearInterval(countdown3Interval);
}
};
countdown3Interval = setInterval(countdown3, 50000);
countdown4 = function () {
if (paused == false) {
--timer4;
r += 1;
duplicateMovieClip(reverse, 'reverseSpawn' + r, r);
}
if (timer4 == 0) {
clearInterval(countdown4Interval);
}
};
countdown4Interval = setInterval(countdown4, 35000);
onMouseMove = function () {
with (player) {
if (player._currentframe < 18 && paused == false) {
var __x = _xmouse - this._x;
var __y = _ymouse - this._y;
player.gotoAndStop(Math.ceil(((Math.atan2(__y, __x) * 57.29577951308232 + 720) % 360) / 21.17647058823529));
updateAfterEvent();
}
with (yellowball) {
if (_root.player.dead == false && power == false && spawning == false && ghit == false && paused == false) {
var __x = _xmouse - this._x;
var __y = _ymouse - this._y;
yellowball.gotoAndStop(Math.ceil(((Math.atan2(__y, __x) * 57.29577951308232 + 720) % 360) / 24));
updateAfterEvent();
}
}
}
};
}
movieClip 516 {
}
instance bg of movieClip 456 {
onClipEvent (enterFrame) {
if (_root.itemhide == false) {
this.swapDepths(_root.i + 2);
} else {
this._alpha = 0;
}
}
}
// unknown tag 88 length 52
movieClip 520 {
}
instance of movieClip 520 {
onClipEvent (load) {
lvl1 = false;
lvl2 = false;
lvl3 = false;
lvl4 = false;
lvl5 = false;
lvl6 = false;
lvl7 = false;
lvl8 = false;
lvl9 = false;
}
onClipEvent (enterFrame) {
if (_root.score >= 2000 && lvl1 == false) {
_root.levelAnim.play();
lvl1 = true;
_root.bladespeed += 1;
}
if (_root.score >= 5000 && lvl2 == false) {
_root.levelAnim.play();
lvl2 = true;
_root.bladespeed += 1;
}
if (_root.score >= 7500 && lvl3 == false) {
_root.levelAnim.play();
lvl3 = true;
_root.bladespeed += 1;
}
if (_root.score >= 12000 && lvl4 == false) {
_root.levelAnim.play();
lvl4 = true;
_root.bladespeed += 1;
}
if (_root.score >= 15000 && lvl5 == false) {
_root.levelAnim.play();
lvl5 = true;
_root.bladespeed += 1;
}
if (_root.score >= 18500 && lvl6 == false) {
_root.levelAnim.play();
lvl6 = true;
_root.bladespeed += 1;
}
if (_root.score >= 22500 && lvl7 == false) {
_root.levelAnim.play();
lvl7 = true;
_root.bladespeed += 1;
}
if (_root.score >= 26000 && lvl8 == false) {
_root.levelAnim.play();
lvl8 = true;
_root.bladespeed += 1;
}
if (_root.score >= 32000 && lvl9 == false) {
_root.levelAnim.play();
lvl9 = true;
_root.bladespeed += 1;
}
}
}
movieClip 523 {
}
movieClip 530 {
}
movieClip 547 {
frame 22 {
_parent.gotoAndStop(4);
}
}
movieClip 566 {
}
movieClip 567 {
frame 40 {
_parent.gotoAndStop(4);
}
}
movieClip 568 {
frame 1 {
stop();
}
frame 2 {
_root.score += 100;
}
instance of movieClip 547 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqaureget.start(0, 1);
}
}
}
frame 3 {
_root.score -= 50;
}
instance of movieClip 567 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqauredie1.start(0, 1);
}
}
}
}
instance box of movieClip 568 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hit2) && this._currentframe == 1 && _root.player._currentframe < 19) {
this.gotoAndStop('saved');
} else {
if (this._currentframe == 4) {
this.gotoAndStop('idle');
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
}
}
}
instance heart of movieClip 199 heart {
onClipEvent (load) {
spawned = false;
}
onClipEvent (enterFrame) {
if (_root.itemhide == true) {
this._alpha = 0;
}
if (spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player.hit) && this._currentframe == 2 && _root.player._currentframe < 19) {
_root.player.gotoAndStop('get');
this.nextFrame();
}
}
}
movieClip 579 {
}
movieClip 580 {
frame 1 {
stop();
}
instance of movieClip 579 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqaurespawn.start(0, 1);
}
}
}
frame 2 {
_root.score += 100;
}
instance of movieClip 547 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqaureget.start(0, 1);
}
}
}
frame 3 {
_root.score -= 50;
}
instance of movieClip 567 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqauredie2.start(0, 1);
}
}
}
}
instance box2 of movieClip 580 {
onClipEvent (load) {
var spawned = false;
}
onClipEvent (enterFrame) {
if (_root.score > 600 && spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player.hit2) && this._currentframe == 1 && _root.player._currentframe < 19) {
this.gotoAndStop('saved');
} else {
if (this._currentframe == 4) {
this.gotoAndStop('idle');
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
}
}
}
movieClip 581 {
}
movieClip 582 {
frame 1 {
stop();
}
instance of movieClip 581 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqaurespawn.start(0, 1);
}
}
}
frame 2 {
_root.score += 100;
}
instance of movieClip 547 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqaureget.start(0, 1);
}
}
}
frame 3 {
_root.score -= 50;
}
instance of movieClip 567 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.sqauredie3.start(0, 1);
}
}
}
}
instance box3 of movieClip 582 {
onClipEvent (load) {
var spawned = false;
}
onClipEvent (enterFrame) {
if (_root.score >= 2000 && spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player.hit2) && this._currentframe == 1 && _root.player._currentframe < 19) {
this.gotoAndStop('saved');
} else {
if (this._currentframe == 4) {
this.gotoAndStop('idle');
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
}
}
}
instance box4 of movieClip 582 {
onClipEvent (load) {
var spawned = false;
}
onClipEvent (enterFrame) {
if (_root.score >= 5000 && spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player.hit2) && this._currentframe == 1 && _root.player._currentframe < 19) {
this.gotoAndStop('saved');
} else {
if (this._currentframe == 4) {
this.gotoAndStop('idle');
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
}
}
}
instance box5 of movieClip 582 {
onClipEvent (load) {
var spawned = false;
}
onClipEvent (enterFrame) {
if (_root.score >= 15000 && spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player.hit2) && this._currentframe == 1 && _root.player._currentframe < 19) {
this.gotoAndStop('saved');
} else {
if (this._currentframe == 4) {
this.gotoAndStop('idle');
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
}
}
}
instance powerup of movieClip 121 powerup {
onClipEvent (load) {
spawned = false;
}
onClipEvent (enterFrame) {
if (_root.itemhide == true) {
this._alpha = 0;
}
if (spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player) && this._currentframe == 2 && _root.countdown == false && _root.power == false && _root.yellowball._currentframe <= 15) {
_root.yellowball.gotoAndStop('eat');
_root.spike.go = false;
_root.power = true;
this.nextFrame();
_root.player.gotoAndStop('get');
}
}
}
instance reverse of movieClip 61 reverse {
onClipEvent (load) {
spawned = false;
}
onClipEvent (enterFrame) {
if (_root.itemhide == true) {
this._alpha = 0;
}
if (spawned == false) {
spawned = true;
var r = Math.random() * 6.283185307179586;
var h = Math.random() * 112 + 45;
this._x = 298 + Math.cos(r) * h;
this._y = 199 + Math.sin(r) * h;
}
if (this.hitTest(_root.player) && this._currentframe == 2 && _root.countdown == false && _root.player._currentframe < 19 && _root.spike._currentframe < 3) {
_root.player.gotoAndStop('get');
_root.spike.reverse = true;
_root.spike.gotoAndStop(3);
this.nextFrame();
} else {
if (this.hitTest(_root.player) && this._currentframe == 2 && _root.countdown == false && _root.player._currentframe < 19 && _root.spike._currentframe > 2) {
_root.player.gotoAndStop('get');
_root.spike.reverse = false;
_root.spike.gotoAndStop(1);
this.nextFrame();
}
}
}
}
movieClip 584 {
}
movieClip 627 {
}
movieClip 652 {
frame 25 {
_root.skullshow = true;
}
frame 45 {
_root.spawning = false;
_parent.gotoAndStop(1);
}
}
movieClip 657 {
}
movieClip 660 {
}
movieClip 663 {
}
movieClip 666 {
}
movieClip 669 {
}
movieClip 670 {
}
movieClip 677 {
frame 60 {
stop();
_root.ghit = false;
}
}
movieClip 698 {
}
movieClip 700 {
}
movieClip 729 {
instance of movieClip 700 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.stompchew.start(0, 1);
}
}
}
instance of movieClip 700 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.chew.start(0, 1);
}
}
}
frame 215 {
_root.power = false;
_root.spike.go = true;
_parent.gotoAndStop(1);
}
}
movieClip 730 {
frame 1 {
stop();
}
frame 17 {
_root.ghit = true;
}
}
instance yellowball of movieClip 730 {
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.player.hit) && _root.lives > 0 && this._currentframe <= 15 && _root.player._currentframe <= 18) {
this.gotoAndStop('bite');
_root.bg.gotoAndStop('hit');
_root.player.gotoAndStop('hit');
}
if (_root.spawning == true) {
this.gotoAndStop('spawn');
}
}
}
instance skull of movieClip 51 skull {
onClipEvent (load) {
var dir = random(5);
if (dir == 0) {
dir += 1;
}
this._alpha = 0;
this._x = 298;
this._y = 199;
_root.spawning = true;
}
onClipEvent (enterFrame) {
if (_root.skullshow == true && _root.skullmove == true && dir == 1) {
this._alpha = 100;
++this._x;
} else {
if (_root.skullshow == true && _root.skullmove == true && dir == 2) {
this._alpha = 100;
--this._x;
} else {
if (_root.skullshow == true && _root.skullmove == true && dir == 3) {
this._alpha = 100;
--this._y;
} else {
if (_root.skullshow == true && _root.skullmove == true && dir == 4) {
this._alpha = 100;
++this._y;
}
}
}
}
if (this.hitTest(_root.player.hit) && this._currentframe == 1) {
speed = 0;
this.gotoAndStop('dead');
_root.player.gotoAndStop('hit');
_root.bg.gotoAndStop(2);
}
if (this.hitTest(_root.wallLeft) || this.hitTest(_root.wallRight) || this.hitTest(_root.wallUp) || this.hitTest(_root.wallDown) && this._currentframe == 1) {
_root.skullshow = false;
this.nextFrame();
this.speed = 0;
this._alpha = 0;
}
}
}
movieClip 734 {
}
movieClip 735 {
}
movieClip 737 {
}
movieClip 740 {
}
movieClip 743 {
}
movieClip 746 {
}
movieClip 749 {
}
movieClip 752 {
}
movieClip 753 {
frame 30 {
_parent.prevFrame();
}
}
movieClip 754 {
frame 1 {
stop();
}
frame 3 {
stop();
}
}
instance spike of movieClip 754 {
onClipEvent (load) {
var go = true;
var reverse = false;
}
onClipEvent (enterFrame) {
if (_root.paused == false && go == true && reverse == false) {
_rotation = _rotation - _root.bladespeed;
} else {
if (_root.paused == false && go == true && reverse == true) {
_rotation = _rotation + _root.bladespeed;
}
}
}
}
movieClip 756 {
}
movieClip 757 {
}
movieClip 760 {
}
movieClip 813 {
}
movieClip 834 {
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 861 {
frame 88 {
_parent.gotoAndStop(1);
}
}
movieClip 882 {
}
movieClip 883 {
frame 75 {
stop();
_root.gameovertext.play();
}
}
movieClip 884 {
frame 1 {
stop();
}
instance of movieClip 861 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.hit1.start(0, 1);
}
}
}
instance of movieClip 883 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.die.start(0, 1);
}
}
}
}
instance player of movieClip 884 {
onClipEvent (load) {
var done = false;
var dead = false;
}
onClipEvent (enterFrame) {
if (_root.lives <= 0 && dead == false) {
var dead = true;
_root.pMove = false;
_root.paused = true;
this.gotoAndStop('dead');
}
if (_root.pMove == true && dead == false && _root.paused == false) {
_x = _x + (_root._xmouse - _x) * _root.drag;
_y = _y + (_root._ymouse - _y) * _root.drag;
}
}
}
movieClip 888 {
}
movieClip 891 {
}
movieClip 892 {
frame 1 {
stop();
}
instance of movieClip 700 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.levelup.start(0, 1);
}
}
}
frame 21 {
++_root.level;
}
}
movieClip 896 {
}
movieClip 897 {
frame 1 {
stop();
}
}
movieClip 902 {
}
movieClip 905 {
}
movieClip 906 {
}
movieClip 909 {
}
movieClip 910 {
}
movieClip 911 {
}
movieClip 922 {
}
movieClip 925 {
}
movieClip 926 {
}
movieClip 933 {
}
movieClip 936 {
}
movieClip 937 {
}
movieClip 940 {
}
movieClip 943 {
}
movieClip 944 {
}
movieClip 945 {
frame 279 {
stop();
_root.paused = false;
_root.countdown = false;
_root.skullmove = true;
}
}
instance of movieClip 945 {
onClipEvent (load) {
played = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && this._currentframe == 15 && played == false) {
played = true;
_root.go.start(0, 1);
}
}
}
movieClip 948 {
}
movieClip 951 {
}
movieClip 952 {
frame 1 {
stop();
}
frame 2 {
_root.itemhide = true;
}
instance of movieClip 700 {
onClipEvent (load) {
sound = false;
}
onClipEvent (enterFrame) {
if (_root.sfx == true && sound == false) {
sound = true;
_root.gameoverspeech.start(0, 1);
}
}
}
frame 96 {
stop();
_root.player.done = true;
}
}
movieClip 957 {
frame 1 {
stop();
}
}
instance cursor2 of movieClip 957 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _x + (_root._xmouse - _x);
_y = _y + (_root._ymouse - _y);
if (_root.itemhide == false) {
this.swapDepths(_root.getNextHighestDepth());
} else {
this._alpha = 0;
}
}
}
movieClip 962 {
frame 55 {
--_parent.timerH;
}
}
frame 8 {
clearInterval(countdownInterval);
clearInterval(countdown2Interval);
clearInterval(countdown3Interval);
clearInterval(countdown4Interval);
}
movieClip 967 {
}
movieClip 968 {
}
button 974 {
on (release) {
if (_root.sfx == true) {
_root.btnpress.start(0, 1);
}
_root.hsloader.loadHighscores();
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 975 {
on (release) {
if (_root.sfx == true) {
_root.arcadebtn.start(0, 1);
}
getURL('http://www.notdoppler.com/?ref=glombopop', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 976 {
on (release) {
if (_root.sfx == true) {
_root.arcadebtn.start(0, 1);
}
getURL('http://www.FlashChaz.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
button 977 {
on (release) {
if (_root.sfx == true) {
_root.arcadebtn.start(0, 1);
}
getURL('http://www.StolenGoose.com', '_blank');
}
on (rollOver) {
_root.cursor.gotoAndStop(2);
if (_root.sfx == true) {
_root.btnover.start(0, 1);
}
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
}
movieClip 983 {
}
// unknown tag 88 length 59
// unknown tag 88 length 146
movieClip 989 {
frame 1 {
stop();
_visible = false;
}
frame 2 {
System.security.allowInsecureDomain('http://www.notdoppler.com');
System.security.allowDomain('http://www.notdoppler.com');
this.createEmptyMovieClip('highscores', this.getNextHighestDepth());
_root.hs_hash = 'fl3m_uP_Ebri8zi8#' + _root.hs_game + _root.hs_score + '2I2RI3tH6ahl?';
this.highscores.loadMovie('http://www.notdoppler.com/highscores/highscores.swf');
}
}
instance hsloader of movieClip 989 {
onClipEvent (load) {
function loadHighscores() {
this._visible = true;
this.gotoAndStop(2);
}
function unloadHighscores() {
this._visible = false;
this.highscores.removeMovieClip();
this.gotoAndStop(1);
}
_root.hs_game = 'glombopop';
_root.hs_score = _root.score;
_root.hs_view = 3;
}
}
instance of movieClip 402 {
onClipEvent (enterFrame) {
_root.gameMusic.stop('gamemusic');
_root.gameattached = false;
if (_root.music != true) {
_root.gameoverMusic.stop('gameover');
_root.gameoverattached = false;
} else {
if (_root.gameoverattached == false) {
_root.gameoverattached = true;
_root.gameoverMusic = new Sound();
_root.gameoverMusic.attachSound('gameover');
_root.gameoverMusic.start(0, 999);
_root.gameoverMusic.setVolume(40);
}
}
}
}
instance of movieClip 217 {
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _x + (_root._xmouse - _x);
_y = _y + (_root._ymouse - _y);
}
}
frame 10 {
stop();
}