Combined Code
movieClip 40 {
}
movieClip 47 {
}
movieClip 51 {
}
movieClip 56 {
}
movieClip 61 {
}
movieClip 66 {
}
movieClip 71 {
}
movieClip 76 {
}
movieClip 80 {
}
movieClip 81 {
}
movieClip 86 {
}
movieClip 87 {
}
movieClip 94 pregame {
frame 125 {
_root.sgame();
}
}
movieClip 96 px {
}
movieClip 107 TOOLTIPS {
frame 1 {
stop();
}
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 117 {
}
button 119 {
on (release) {
_root.ENDBG.removeChild();
_root.menuGo();
}
}
movieClip 120 ENDBG {
}
frame 1 {
function sgame() {
gotoAndStop(3);
}
function visitSite() {}
function logo() {
border.swapDepths(1);
adBox.swapDepths(1);
border.removeMovieClip();
adBox.removeMovieClip();
attachMovie('pregame', 'pregame', getNextHighestDepth(), {'_x': 400, '_y': 300});
}
function startSnow(mc) {
mc.timer = 0;
mc.mt = 1;
mc.onEnterFrame = function () {
if (++this.timer == this.mt) {
var v2 = this.createEmptyMovieClip('e' + this.getNextHighestDepth(), this.getNextHighestDepth());
var v3 = v2.createTextField('s', 0, 0, 0, 60, 60);
v3.text = ('GFcJj'.split(''))[random(5)];
v3.selectable = false;
v2._x = Math.random() * 800;
v2.k = 1 + Math.random() * 2;
v2.wind = -1.5 + Math.random() * 4.199999999999999;
v3.embedFonts = true;
v2.onEnterFrame = function () {
this._rotation += this.wind * 0.3;
this._y += this.k;
this._x += this.wind;
if (this._y > 600 || this._x < -10 || this._x > 810) {
this.removeMovieClip();
}
};
var v4 = new TextFormat();
v4.size = Math.ceil(random(20) + 13);
v4.color = 16777215;
v4.font = 'WWFlakes';
v3.setTextFormat(v4);
this.timer = 0;
this.mt = random(20) + 4;
}
};
}
var CPMStarContentSpotID = '1325QDE15644E';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem('© 2009 Santa\'s Gift Grab', visitSite));
myMenu.customItems.push(new ContextMenuItem('Ighor Smiliansky', visitSite));
myMenu.customItems.push(new ContextMenuItem('Alec Philoctete', visitSite));
_root.menu = myMenu;
t = getTimer();
onEnterFrame = function () {
var v2 = ((getTimer() - t) / 10000) * 100;
var v3 = (getBytesLoaded() / getBytesTotal()) * 100;
var v1 = Math.min(v2, v3);
if (v1 >= 100) {
com.greensock.TweenLite.to(bar, 0.5, {'_alpha': 0});
com.greensock.TweenLite.to(adBox, 0.5, {'_alpha': 0});
com.greensock.TweenLite.to(border, 0.5, {'_alpha': 0});
setTimeout(logo, 500);
onEnterFrame = null;
}
bar.bar._xscale = v1;
};
startSnow(snowmc);
}
// unknown tag 88 length 97
movieClip 125 {
}
movieClip 127 {
}
movieClip 129 {
}
movieClip 131 {
}
movieClip 132 {
}
movieClip 635 __Packages.com.greensock.core.TweenCore {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.greensock) {
_global.com.greensock = new Object();
}
if (!_global.com.greensock.core) {
_global.com.greensock.core = new Object();
}
if (!_global.com.greensock.core.TweenCore) {
var v1 = function (duration, vars) {
this.vars = vars || {};
this.cachedTotalDuration = duration || 0;
this.cachedDuration = this.cachedTotalDuration;
this._delay = Number(this.vars.delay) || 0;
this.cachedTimeScale = this.vars.timeScale || 1;
this.active = Boolean(duration == 0 && this._delay == 0 && this.vars.immediateRender != false);
this.cachedTime = 0;
this.cachedTotalTime = 0;
this.data = this.vars.data;
this.cachedReversed = false;
this.cachedPaused = this.cachedReversed;
this.cacheIsDirty = this.cachedReversed;
this.initted = this.cachedReversed;
this.gc = this.cachedReversed;
this._rawPrevTime = -1;
if (!com.greensock.core.TweenCore._classInitted) {
if (isNaN(com.greensock.TweenLite.rootFrame)) {
com.greensock.TweenLite.initClass();
com.greensock.core.TweenCore._classInitted = true;
} else {
return undefined;
}
}
var v2 = this.vars.timeline instanceof com.greensock.core.SimpleTimeline ? this.vars.timeline : ((this.vars.useFrames == true) ? com.greensock.TweenLite.rootFramesTimeline : com.greensock.TweenLite.rootTimeline);
this.cachedStartTime = v2.cachedTotalTime + this._delay;
v2.addChild(this);
if (this.vars.reversed) {
this.cachedReversed = true;
}
if (this.vars.paused) {
this.__set__paused(true);
}
};
com.greensock.core.TweenCore = v1;
var v2 = v1.prototype;
v2.play = function () {
this.__set__reversed(false);
this.__set__paused(false);
};
v2.pause = function () {
this.__set__paused(true);
};
v2.resume = function () {
this.__set__paused(false);
};
v2.restart = function (includeDelay, suppressEvents) {
this.__set__reversed(false);
this.__set__paused(false);
this.setTotalTime(includeDelay ? -this._delay : 0, Boolean(suppressEvents != false));
};
v2.reverse = function (forceResume) {
this.__set__reversed(true);
if (forceResume != false) {
this.__set__paused(false);
} else {
if (this.gc) {
this.setEnabled(true, false);
}
}
};
v2.renderTime = function (time, suppressEvents, force) {};
v2.complete = function (skipRender, suppressEvents) {
if (!skipRender) {
this.renderTime(this.__get__totalDuration(), suppressEvents, false);
return undefined;
}
if (this.timeline.autoRemoveChildren) {
this.setEnabled(false, false);
} else {
this.active = false;
}
if (!suppressEvents) {
if (this.vars.onComplete && this.cachedTotalTime == this.cachedTotalDuration && !this.cachedReversed) {
this.vars.onComplete.apply(this.vars.onCompleteScope, this.vars.onCompleteParams);
} else {
if (this.cachedReversed && this.cachedTotalTime == 0 && this.vars.onReverseComplete) {
this.vars.onReverseComplete.apply(this.vars.onReverseCompleteScope, this.vars.onReverseCompleteParams);
}
}
}
};
v2.invalidate = function () {};
v2.setEnabled = function (enabled, ignoreTimeline) {
if (enabled) {
this.active = Boolean(!this.cachedPaused && this.cachedTotalTime > 0 && this.cachedTotalTime < this.cachedTotalDuration);
if (ignoreTimeline != true && this.gc) {
this.timeline.addChild(this);
}
this.gc = !enabled;
return false;
}
this.active = false;
if (ignoreTimeline != true) {
this.timeline.remove(this, true);
}
this.gc = !enabled;
return false;
};
v2.kill = function () {
this.setEnabled(false, false);
};
v2.setDirtyCache = function (includeSelf) {
var v2 = (includeSelf != false) ? this : this.timeline;
while (v2) {
v2.cacheIsDirty = true;
v2 = v2.timeline;
}
};
v2.setTotalTime = function (time, suppressEvents) {
if (this.timeline) {
var v3 = (this._pauseTime || this._pauseTime == 0) ? this._pauseTime : this.timeline.cachedTotalTime;
if (this.cachedReversed) {
var v4 = this.cacheIsDirty ? this.__get__totalDuration() : this.cachedTotalDuration;
this.cachedStartTime = v3 - (v4 - time) / this.cachedTimeScale;
} else {
this.cachedStartTime = v3 - time / this.cachedTimeScale;
}
if (!this.timeline.cacheIsDirty) {
this.setDirtyCache(false);
}
if (this.cachedTotalTime != time) {
this.renderTime(time, suppressEvents, false);
}
}
};
v2.__get__delay = function () {
return this._delay;
};
v2.__set__delay = function (n) {
this.startTime += n - this._delay;
this._delay = n;
return this.__get__delay();
};
v2.__get__duration = function () {
return this.cachedDuration;
};
v2.__set__duration = function (n) {
this.cachedTotalDuration = n;
this.cachedDuration = this.cachedTotalDuration;
this.setDirtyCache(false);
return this.__get__duration();
};
v2.__get__totalDuration = function () {
return this.cachedTotalDuration;
};
v2.__set__totalDuration = function (n) {
this.__set__duration(n);
return this.__get__totalDuration();
};
v2.__get__currentTime = function () {
return this.cachedTime;
};
v2.__set__currentTime = function (n) {
this.setTotalTime(n, false);
return this.__get__currentTime();
};
v2.__get__totalTime = function () {
return this.cachedTotalTime;
};
v2.__set__totalTime = function (n) {
this.setTotalTime(n, false);
return this.__get__totalTime();
};
v2.__get__startTime = function () {
return this.cachedStartTime;
};
v2.__set__startTime = function (n) {
var v2 = Boolean(this.timeline != undefined && (n != this.cachedStartTime || this.gc));
this.cachedStartTime = n;
if (v2) {
this.timeline.addChild(this);
}
return this.__get__startTime();
};
v2.__get__reversed = function () {
return this.cachedReversed;
};
v2.__set__reversed = function (b) {
if (b != this.cachedReversed) {
this.cachedReversed = b;
this.setTotalTime(this.cachedTotalTime, true);
}
return this.__get__reversed();
};
v2.__get__paused = function () {
return this.cachedPaused;
};
v2.__set__paused = function (b) {
if (b != this.cachedPaused && this.timeline) {
if (b) {
this._pauseTime = this.timeline.rawTime;
} else {
this.cachedStartTime += this.timeline.__get__rawTime() - this._pauseTime;
this._pauseTime = NaN;
this.setDirtyCache(false);
}
this.cachedPaused = b;
this.active = Boolean(!this.cachedPaused && this.cachedTotalTime > 0 && this.cachedTotalTime < this.cachedTotalDuration);
}
if (!b && this.gc) {
this.setTotalTime(this.cachedTotalTime, false);
this.setEnabled(true, false);
}
return this.__get__paused();
};
v1.version = 1.13;
v2.addProperty('currentTime', v2.__get__currentTime, v2.__set__currentTime);
v2.addProperty('delay', v2.__get__delay, v2.__set__delay);
v2.addProperty('duration', v2.__get__duration, v2.__set__duration);
v2.addProperty('paused', v2.__get__paused, v2.__set__paused);
v2.addProperty('reversed', v2.__get__reversed, v2.__set__reversed);
v2.addProperty('startTime', v2.__get__startTime, v2.__set__startTime);
v2.addProperty('totalDuration', v2.__get__totalDuration, v2.__set__totalDuration);
v2.addProperty('totalTime', v2.__get__totalTime, v2.__set__totalTime);
ASSetPropFlags(com.greensock.core.TweenCore.prototype, null, 1);
}
#endinitclip
}
movieClip 636 __Packages.com.greensock.core.SimpleTimeline {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.greensock) {
_global.com.greensock = new Object();
}
if (!_global.com.greensock.core) {
_global.com.greensock.core = new Object();
}
if (!_global.com.greensock.core.SimpleTimeline) {
var v1 = function (vars) {
super(0, vars);
};
com.greensock.core.SimpleTimeline = v1;
com.greensock.core.SimpleTimeline extends com.greensock.core.TweenCore;
var v2 = v1.prototype;
v2.addChild = function (node) {
if (!node.gc && node.timeline != undefined) {
node.timeline.remove(node, true);
}
node.timeline = this;
if (node.gc) {
node.setEnabled(true, true);
}
if (this._firstChild) {
this._firstChild.prevNode = node;
}
node.nextNode = this._firstChild;
this._firstChild = node;
node.prevNode = undefined;
};
v2.remove = function (node, skipDisable) {
if (!node.gc && skipDisable != true) {
node.setEnabled(false, true);
}
if (node.nextNode) {
node.nextNode.prevNode = node.prevNode;
} else {
if (this._lastChild == node) {
this._lastChild = node.prevNode;
}
}
if (node.prevNode) {
node.prevNode.nextNode = node.nextNode;
} else {
if (this._firstChild == node) {
this._firstChild = node.nextNode;
}
}
};
v2.renderTime = function (time, suppressEvents, force) {
var v2 = this._firstChild;
var v4;
var v5;
this.cachedTotalTime = time;
this.cachedTime = time;
while (v2) {
v5 = v2.nextNode;
if (v2.active || time >= v2.cachedStartTime && !v2.cachedPaused && !v2.gc) {
if (!v2.cachedReversed) {
v2.renderTime((time - v2.cachedStartTime) * v2.cachedTimeScale, suppressEvents, false);
} else {
v4 = v2.cacheIsDirty ? v2.__get__totalDuration() : v2.cachedTotalDuration;
v2.renderTime(v4 - (time - v2.cachedStartTime) * v2.cachedTimeScale, suppressEvents, false);
}
}
v2 = v5;
}
};
v2.__get__rawTime = function () {
return this.cachedTotalTime;
};
v2.addProperty('rawTime', v2.__get__rawTime, function () {});
ASSetPropFlags(com.greensock.core.SimpleTimeline.prototype, null, 1);
}
#endinitclip
}
movieClip 637 __Packages.com.greensock.TweenLite {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.greensock) {
_global.com.greensock = new Object();
}
if (!_global.com.greensock.TweenLite) {
var v1 = function (target, duration, vars) {
super(duration, vars);
if (com.greensock.TweenLite._timingClip.onEnterFrame != com.greensock.TweenLite.updateAll) {
var v7 = (_root.getBytesLoaded() == undefined) ? com.greensock.TweenLite.findSubloadedSWF(_root) : _root;
var v6 = 999;
while (v7.getInstanceAtDepth(v6) != undefined) {
++v6;
}
com.greensock.TweenLite._timingClip = v7.createEmptyMovieClip('__tweenLite' + ((String(com.greensock.TweenLite.version)).split('.')).join('_'), v6);
com.greensock.TweenLite._timingClip.onEnterFrame = com.greensock.TweenLite.updateAll;
com.greensock.TweenLite.rootTimeline.cachedStartTime = getTimer() * 0.001;
com.greensock.TweenLite.rootFramesTimeline.cachedStartTime = com.greensock.TweenLite.rootFrame;
}
this.ratio = 0;
this.target = target;
this._targetID = com.greensock.TweenLite.getID(target, true);
if (this.vars.timeScale != undefined && this.target instanceof com.greensock.core.TweenCore) {
this.cachedTimeScale = 1;
}
this.propTweenLookup = {};
this._ease = com.greensock.TweenLite.defaultEase;
this._overwrite = (vars.overwrite == undefined || !com.greensock.TweenLite.overwriteManager.enabled && vars.overwrite > 1) ? com.greensock.TweenLite.overwriteManager.mode : Number(vars.overwrite);
var v5 = com.greensock.TweenLite.masterList[this._targetID].tweens;
if (v5.length == 0) {
v5[0] = this;
} else {
if (this._overwrite == 1) {
var v4 = v5.length;
while (v4--) {
if (!v5[v4].gc) {
v5[v4].setEnabled(false, false);
}
}
com.greensock.TweenLite.masterList[this._targetID].tweens = [this];
} else {
v5[v5.length] = this;
}
}
if (this.active || this.vars.immediateRender) {
this.renderTime(0, false, true);
}
};
com.greensock.TweenLite = v1;
com.greensock.TweenLite extends com.greensock.core.TweenCore;
var v2 = v1.prototype;
v1.initClass = function () {
com.greensock.TweenLite.rootFrame = 0;
com.greensock.TweenLite.rootTimeline = new com.greensock.core.SimpleTimeline(null);
com.greensock.TweenLite.rootFramesTimeline = new com.greensock.core.SimpleTimeline(null);
com.greensock.TweenLite.rootFramesTimeline.autoRemoveChildren = true;
com.greensock.TweenLite.rootTimeline.autoRemoveChildren = com.greensock.TweenLite.rootFramesTimeline.autoRemoveChildren;
if (com.greensock.TweenLite.overwriteManager == undefined) {
com.greensock.TweenLite.overwriteManager = {'mode': 1, 'enabled': false};
}
};
v2.init = function () {
var v2;
var v5;
var v3;
var v6;
var v7;
if (typeof this.vars.ease == 'function') {
this._ease = this.vars.ease;
}
if (this.vars.easeParams != undefined) {
this.vars.proxiedEase = this._ease;
this._ease = this.easeProxy;
}
this.cachedPT1 = undefined;
this.propTweenLookup = {};
for (v2 in this.vars) {
if (com.greensock.TweenLite._reservedProps[v2] && !(v2 == 'timeScale' && this.target instanceof com.greensock.core.TweenCore)) {
} else {
if (com.greensock.TweenLite.plugins[v2] && v3.onInitTween(this.target, this.vars[v2], this)) {
this.cachedPT1 = new com.greensock.core.PropTween(v3, 'changeFactor', 0, 1, (v3.overwriteProps.length == 1) ? v3.overwriteProps[0] : '_MULTIPLE_', true, this.cachedPT1);
if (this.cachedPT1.name == '_MULTIPLE_') {
v5 = v3.overwriteProps.length;
while (v5--) {
this.propTweenLookup[v3.overwriteProps[v5]] = this.cachedPT1;
}
} else {
this.propTweenLookup[this.cachedPT1.name] = this.cachedPT1;
}
if (v3.priority) {
this.cachedPT1.priority = v3.priority;
v6 = true;
}
if (v3.onDisable || v3.onEnable) {
this._notifyPluginsOfEnabled = true;
}
this._hasPlugins = true;
} else {
this.cachedPT1 = new com.greensock.core.PropTween(this.target, v2, Number(this.target[v2]), (typeof this.vars[v2] == 'number') ? Number(this.vars[v2]) - this.target[v2] : Number(this.vars[v2]), v2, false, this.cachedPT1);
this.propTweenLookup[v2] = this.cachedPT1;
}
}
}
if (v6) {
com.greensock.TweenLite.onPluginEvent('onInit', this);
}
if (this.vars.runBackwards) {
var v4 = this.cachedPT1;
while (v4) {
v4.start += v4.change;
v4.change = -v4.change;
v4 = v4.nextNode;
}
}
this._hasUpdate = Boolean(typeof this.vars.onUpdate == 'function');
if (this._overwrittenProps) {
this.killVars(this._overwrittenProps);
if (this.cachedPT1 == undefined) {
this.setEnabled(false, false);
}
}
if (this._overwrite > 1 && this.cachedPT1 && v7 && v7.length > 1) {
if (com.greensock.TweenLite.overwriteManager.manageOverwrites(this, this.propTweenLookup, v7, this._overwrite)) {
this.init();
}
}
this.initted = true;
};
v2.renderTime = function (time, suppressEvents, force) {
var v4;
var v5 = this.cachedTime;
if (time >= this.cachedDuration) {
this.cachedTime = this.cachedDuration;
this.cachedTotalTime = this.cachedTime;
this.ratio = 1;
v4 = true;
if (this.cachedDuration == 0) {
if ((time == 0 || this._rawPrevTime < 0) && this._rawPrevTime != time) {
force = true;
}
this._rawPrevTime = time;
}
} else {
if (time <= 0) {
this.ratio = 0;
this.cachedTime = 0;
this.cachedTotalTime = 0;
if (time < 0) {
this.active = false;
if (this.cachedDuration == 0) {
if (this._rawPrevTime > 0) {
force = true;
v4 = true;
}
this._rawPrevTime = time;
}
}
if (this.cachedReversed && v5 != 0) {
v4 = true;
}
} else {
this.cachedTime = time;
this.cachedTotalTime = this.cachedTime;
this.ratio = this._ease(time, 0, 1, this.cachedDuration);
}
}
if (this.cachedTime == v5 && !force) {
return undefined;
} else {
if (!this.initted) {
this.init();
if (!v4 && this.cachedTime) {
this.ratio = this._ease(this.cachedTime, 0, 1, this.cachedDuration);
}
}
}
if (!this.active && !this.cachedPaused) {
this.active = true;
}
if (v5 == 0 && this.vars.onStart && this.cachedTime != 0 && !suppressEvents) {
this.vars.onStart.apply(this.vars.onStartScope, this.vars.onStartParams);
}
var v2 = this.cachedPT1;
while (v2) {
v2.target[v2.property] = v2.start + this.ratio * v2.change;
v2 = v2.nextNode;
}
if (this._hasUpdate && !suppressEvents) {
this.vars.onUpdate.apply(this.vars.onUpdateScope, this.vars.onUpdateParams);
}
if (v4) {
if (this._hasPlugins && this.cachedPT1) {
com.greensock.TweenLite.onPluginEvent('onComplete', this);
}
this.complete(true, suppressEvents);
}
};
v2.killVars = function (vars, permanent) {
if (this._overwrittenProps == undefined) {
this._overwrittenProps = {};
}
var v3;
var v2;
var v5;
for (v3 in vars) {
if (this.propTweenLookup[v3]) {
v2 = this.propTweenLookup[v3];
if (v2.isPlugin && v2.name == '_MULTIPLE_') {
v2.target.killProps(vars);
if (v2.target.overwriteProps.length == 0) {
v2.name = '';
}
}
if (v2.name != '_MULTIPLE_') {
if (v2.nextNode) {
v2.nextNode.prevNode = v2.prevNode;
}
if (v2.prevNode) {
v2.prevNode.nextNode = v2.nextNode;
} else {
if (this.cachedPT1 == v2) {
this.cachedPT1 = v2.nextNode;
}
}
if (v2.isPlugin && v2.target.onDisable) {
v2.target.onDisable();
if (v2.target.activeDisable) {
v5 = true;
}
}
delete this.propTweenLookup[v3];
}
}
if (permanent != false) {
this._overwrittenProps[v3] = 1;
}
}
return v5;
};
v2.invalidate = function () {
if (this._notifyPluginsOfEnabled) {
com.greensock.TweenLite.onPluginEvent('onDisable', this);
}
this.cachedPT1 = undefined;
this._overwrittenProps = undefined;
this._notifyPluginsOfEnabled = false;
this.active = this._notifyPluginsOfEnabled;
this.initted = this._notifyPluginsOfEnabled;
this._hasUpdate = this._notifyPluginsOfEnabled;
this.propTweenLookup = {};
};
v2.setEnabled = function (enabled, ignoreTimeline) {
if (enabled) {
var v3 = com.greensock.TweenLite.masterList[this._targetID].tweens;
if (v3) {
v3[v3.length] = this;
} else {
com.greensock.TweenLite.masterList[this._targetID] = {'target': this.target, 'tweens': [this]};
}
}
super.setEnabled(enabled, ignoreTimeline);
if (this._notifyPluginsOfEnabled && this.cachedPT1) {
return com.greensock.TweenLite.onPluginEvent(enabled ? 'onEnable' : 'onDisable', this);
}
return false;
};
v2.easeProxy = function (t, b, c, d) {
return this.vars.proxiedEase.apply(null, arguments.concat(this.vars.easeParams));
};
v1.to = function (target, duration, vars) {
return new com.greensock.TweenLite(target, duration, vars);
};
v1.from = function (target, duration, vars) {
vars.runBackwards = true;
if (vars.immediateRender != false) {
vars.immediateRender = true;
}
return new com.greensock.TweenLite(target, duration, vars);
};
v1.delayedCall = function (delay, onComplete, onCompleteParams, onCompleteScope, useFrames) {
return new com.greensock.TweenLite(onComplete, 0, {'delay': delay, 'onComplete': onComplete, 'onCompleteParams': onCompleteParams, 'onCompleteScope': onCompleteScope, 'immediateRender': false, 'useFrames': useFrames, 'overwrite': 0});
};
v1.updateAll = function () {
com.greensock.TweenLite.rootTimeline.renderTime((getTimer() * 0.001 - com.greensock.TweenLite.rootTimeline.cachedStartTime) * com.greensock.TweenLite.rootTimeline.cachedTimeScale, false, false);
++com.greensock.TweenLite.rootFrame;
com.greensock.TweenLite.rootFramesTimeline.renderTime((com.greensock.TweenLite.rootFrame - com.greensock.TweenLite.rootFramesTimeline.cachedStartTime) * com.greensock.TweenLite.rootFramesTimeline.cachedTimeScale, false, false);
if (!(com.greensock.TweenLite.rootFrame % 60)) {
var v3 = com.greensock.TweenLite.masterList;
var v2;
var v1;
for (var v4 in v3) {
v1 = v3[v4].tweens;
v2 = v1.length;
while (v2--) {
if (v1[v2].gc) {
v1.splice(v2, 1);
}
}
if (v1.length == 0) {
delete v3[v4];
}
}
}
};
v1.killTweensOf = function (target, complete) {
var v5 = com.greensock.TweenLite.getID(target, true);
var v3 = com.greensock.TweenLite.masterList[v5].tweens;
var v2;
var v1;
if (v3 != undefined) {
v2 = v3.length;
while (v2--) {
v1 = v3[v2];
if (!v1.gc) {
if (complete == true) {
v1.complete(false, false);
} else {
v1.setEnabled(false, false);
}
}
}
delete com.greensock.TweenLite.masterList[v5];
}
};
v1.getID = function (target, lookup) {
var v2;
if (lookup) {
var v1 = com.greensock.TweenLite.masterList;
if (typeof target == 'movieclip') {
if (v1[String(target)] != undefined) {
return String(target);
} else {
v2 = String(target);
com.greensock.TweenLite.masterList[v2] = {'target': target, 'tweens': []};
return v2;
}
++com.greensock.TweenLite._cnt;
v2 = 't' + com.greensock.TweenLite._cnt;
com.greensock.TweenLite.masterList[v2] = {'target': target, 'tweens': []};
return v2;
}
for (var v3 in v1) {
if (v1[v3].target == target) {
return v3;
}
}
}
++com.greensock.TweenLite._cnt;
v2 = 't' + com.greensock.TweenLite._cnt;
com.greensock.TweenLite.masterList[v2] = {'target': target, 'tweens': []};
return v2;
};
v1.easeOut = function (t, b, c, d) {
t /= d;
return -1 * t * (t - 2);
};
v1.findSubloadedSWF = function (mc) {
for (var v3 in mc) {
if (typeof mc[v3] == 'movieclip') {
if (mc[v3]._url != _root._url && mc[v3].getBytesLoaded() != undefined) {
return mc[v3];
} else {
if (com.greensock.TweenLite.findSubloadedSWF(mc[v3]) != undefined) {
return com.greensock.TweenLite.findSubloadedSWF(mc[v3]);
}
}
}
}
return undefined;
};
v1.version = 11.131;
v1.plugins = {};
v1.killDelayedCallsTo = com.greensock.TweenLite.killTweensOf;
v1.defaultEase = com.greensock.TweenLite.easeOut;
v1.masterList = {};
v1._cnt = -16000;
v1._reservedProps = {'ease': 1, 'delay': 1, 'overwrite': 1, 'onComplete': 1, 'onCompleteParams': 1, 'useFrames': 1, 'runBackwards': 1, 'startAt': 1, 'onUpdate': 1, 'onUpdateParams': 1, 'roundProps': 1, 'onStart': 1, 'onStartParams': 1, 'onReverseComplete': 1, 'onReverseCompleteParams': 1, 'onRepeat': 1, 'onRepeatParams': 1, 'proxiedEase': 1, 'easeParams': 1, 'yoyo': 1, 'onCompleteListener': 1, 'onUpdateListener': 1, 'onStartListener': 1, 'orientToBezier': 1, 'timeScale': 1, 'immediateRender': 1, 'repeat': 1, 'repeatDelay': 1, 'timeline': 1, 'data': 1, 'paused': 1};
ASSetPropFlags(com.greensock.TweenLite.prototype, null, 1);
}
#endinitclip
}
movieClip 638 __Packages.com.greensock.core.PropTween {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.greensock) {
_global.com.greensock = new Object();
}
if (!_global.com.greensock.core) {
_global.com.greensock.core = new Object();
}
if (!_global.com.greensock.core.PropTween) {
var v1 = function (target, property, start, change, name, isPlugin, nextNode, priority) {
this.target = target;
this.property = property;
this.start = start;
this.change = change;
this.name = name;
this.isPlugin = isPlugin;
if (nextNode) {
nextNode.prevNode = this;
this.nextNode = nextNode;
}
this.priority = priority || 0;
};
com.greensock.core.PropTween = v1;
var v2 = v1.prototype;
ASSetPropFlags(com.greensock.core.PropTween.prototype, null, 1);
}
#endinitclip
}
movieClip 639 __Packages.mochi.as2.MochiScores {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiScores) {
var v1 = function () {};
mochi.as2.MochiScores = v1;
var v2 = v1.prototype;
v1.setBoardID = function (boardID) {
mochi.as2.MochiServices.warnID(boardID, true);
mochi.as2.MochiScores.boardID = boardID;
mochi.as2.MochiServices.send('scores_setBoardID', {'boardID': boardID});
};
v1.showLeaderboard = function (options) {
options.clip = mochi.as2.MochiServices.clip;
if (options.clip != mochi.as2.MochiServices.__get__clip() || (mochi.as2.MochiServices.__get__childClip())._target == undefined) {
mochi.as2.MochiServices.disconnect();
trace('WARNING! This application is attempting to connect to MochiServices inside a showLeaderboard call!');
trace('make sure MochiServices.connect is called as early in the application runtime as possible.');
mochi.as2.MochiServices.connect(mochi.as2.MochiServices.__get__id(), options.clip);
}
delete options.clip;
if (options.name != null) {
if (typeof options.name == 'object') {
if (options.name.text != undefined) {
options.name = options.name.text;
}
}
}
if (options.score != null) {
if (options.score instanceof TextField) {
if (options.score.text != undefined) {
options.score = options.score.text;
}
} else {
if (options.score instanceof mochi.as2.MochiDigits) {
options.score = options.score.value;
}
}
var v1 = Number(options.score);
if (isNaN(v1)) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is \'Not a Number\'');
} else {
if (v1 == Number.NEGATIVE_INFINITY || v1 == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + options.score + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(v1) != v1) {
trace('WARNING: Submitted score \'' + options.score + '\' will be truncated');
}
options.score = v1;
}
}
}
if (options.onDisplay != null) {
options.onDisplay();
} else {
(mochi.as2.MochiServices.__get__clip()).stop();
}
if (options.onClose != null) {
mochi.as2.MochiScores.onClose = options.onClose;
} else {
mochi.as2.MochiScores.onClose = function () {
(mochi.as2.MochiServices.__get__clip()).play();
};
}
if (options.onError != null) {
mochi.as2.MochiScores.onError = options.onError;
} else {
mochi.as2.MochiScores.onError = mochi.as2.MochiScores.onClose;
}
if (options.boardID == null) {
if (mochi.as2.MochiScores.boardID != null) {
options.boardID = mochi.as2.MochiScores.boardID;
}
}
mochi.as2.MochiServices.warnID(options.boardID, true);
trace('[MochiScores] NOTE: Security Sandbox Violation errors below are normal');
mochi.as2.MochiServices.send('scores_showLeaderboard', {'options': options}, null, mochi.as2.MochiScores.doClose);
};
v1.closeLeaderboard = function () {
mochi.as2.MochiServices.send('scores_closeLeaderboard');
};
v1.getPlayerInfo = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_getPlayerInfo', null, callbackObj, callbackMethod);
};
v1.submit = function (score, name, callbackObj, callbackMethod) {
score = Number(score);
if (isNaN(score)) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is \'Not a Number\'');
} else {
if (score == Number.NEGATIVE_INFINITY || score == Number.POSITIVE_INFINITY) {
trace('ERROR: Submitted score \'' + String(score) + '\' will be rejected, score is an infinite');
} else {
if (Math.floor(score) != score) {
trace('WARNING: Submitted score \'' + String(score) + '\' will be truncated');
}
score = Number(score);
}
}
mochi.as2.MochiServices.send('scores_submit', {'score': score, 'name': name}, callbackObj, callbackMethod);
};
v1.requestList = function (callbackObj, callbackMethod) {
mochi.as2.MochiServices.send('scores_requestList', null, callbackObj, callbackMethod);
};
v1.scoresArrayToObjects = function (scores) {
var v5 = {};
var v1;
var v4;
var v2;
var v6;
for (var v8 in scores) {
if (typeof scores[v8] == 'object') {
if (scores[v8].cols != null && scores[v8].rows != null) {
v5[v8] = [];
v2 = scores[v8];
v4 = 0;
while (v4 < v2.rows.length) {
v6 = {};
v1 = 0;
while (v1 < v2.cols.length) {
v6[v2.cols[v1]] = v2.rows[v4][v1];
++v1;
}
v5[v8].push(v6);
++v4;
}
} else {
v5[v8] = {};
for (var v7 in scores[v8]) {
v5[v8][v7] = scores[v8][v7];
}
}
} else {
v5[v8] = scores[v8];
}
}
return v5;
};
v1.doClose = function (args) {
if (args.error == true) {
if (args.errorCode == undefined) {
args.errorCode = 'IOError';
}
mochi.as2.MochiScores.onError.apply(null, [args.errorCode]);
} else {
mochi.as2.MochiScores.onClose.apply();
}
};
ASSetPropFlags(mochi.as2.MochiScores.prototype, null, 1);
}
#endinitclip
}
movieClip 640 __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 641 __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.7 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.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':
break;
case '8':
case '9':
case 'a':
case 'b':
case 'c':
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 642 __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 643 __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.trigger = function (kind, obj) {
if (obj == undefined) {
obj = {};
} else {
if (obj.kind != undefined) {
trace('WARNING: optional arguements package contains key \'id\', it will be overwritten');
obj.kind = kind;
}
}
mochi.as2.MochiServices.send('events_triggerEvent', {'eventObject': obj}, 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.startGame = function () {
mochi.as2.MochiEvents.gameStart = (new Date()).getTime();
mochi.as2.MochiEvents.trigger('start_game');
};
v1.endGame = function () {
var v1 = (new Date()).getTime() - mochi.as2.MochiEvents.gameStart;
mochi.as2.MochiEvents.trigger('end_game', {'time': v1});
};
v1.startLevel = function () {
mochi.as2.MochiEvents.levelStart = (new Date()).getTime();
mochi.as2.MochiEvents.trigger('start_level');
};
v1.endLevel = function () {
var v1 = (new Date()).getTime() - mochi.as2.MochiEvents.levelStart;
mochi.as2.MochiEvents.trigger('end_level', {'time': v1});
};
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 644 __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 645 __Packages.mochi.as2.MochiDigits {
#initclip
if (!_global.mochi) {
_global.mochi = new Object();
}
if (!_global.mochi.as2) {
_global.mochi.as2 = new Object();
}
if (!_global.mochi.as2.MochiDigits) {
var v1 = function (digit, index) {
this.Encoder = 0;
this.setValue(digit, index);
};
mochi.as2.MochiDigits = v1;
var v2 = v1.prototype;
v2.__get__value = function () {
return Number(this.toString());
};
v2.__set__value = function (v) {
this.setValue(v);
return this.__get__value();
};
v2.addValue = function (v) {
this.value += v;
};
v2.setValue = function (digit, index) {
var v3 = digit.toString();
if (index == undefined || isNaN(index)) {
index = 0;
}
this.Fragment = v3.charCodeAt(index++) ^ this.Encoder;
if (index < v3.length) {
this.Sibling = new mochi.as2.MochiDigits(digit, index);
} else {
this.Sibling = null;
}
this.reencode();
};
v2.reencode = function () {
var v2 = int(2147483647 * Math.random());
this.Fragment ^= v2 ^ this.Encoder;
this.Encoder = v2;
};
v2.toString = function () {
var v2 = String.fromCharCode(this.Fragment ^ this.Encoder);
return (this.Sibling != null) ? v2.concat(this.Sibling.toString()) : v2;
};
v2.addProperty('value', v2.__get__value, v2.__set__value);
ASSetPropFlags(mochi.as2.MochiDigits.prototype, null, 1);
}
#endinitclip
}
movieClip 646 __Packages.com.greensock.easing.Back {
#initclip
if (!_global.com) {
_global.com = new Object();
}
if (!_global.com.greensock) {
_global.com.greensock = new Object();
}
if (!_global.com.greensock.easing) {
_global.com.greensock.easing = new Object();
}
if (!_global.com.greensock.easing.Back) {
var v1 = function () {};
com.greensock.easing.Back = v1;
var v2 = v1.prototype;
v1.easeIn = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t /= d;
return c * t * t * ((s + 1) * t - s) + b;
};
v1.easeOut = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d - 1;
return c * (t * t * ((s + 1) * t + s) + 1) + b;
};
v1.easeInOut = function (t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t /= d * 0.5;
if (t < 1) {
s *= 1.525;
return c * 0.5 * (t * t * ((s + 1) * t - s)) + b;
}
t -= 2;
s *= 1.525;
return c * 0.5 * (t * t * ((s + 1) * t + s) + 2) + b;
};
ASSetPropFlags(com.greensock.easing.Back.prototype, null, 1);
}
#endinitclip
}
movieClip 237 {
}
movieClip 240 {
}
movieClip 243 {
}
movieClip 246 {
}
movieClip 249 {
}
movieClip 253 {
}
// unknown tag 88 length 197
movieClip 257 {
}
// unknown tag 88 length 61
movieClip 260 {
}
movieClip 261 {
frame 38 {
i = 0;
while (i < 3) {
j = 0;
while (j < 10) {
var g = attachMovie('lvl', 'hi' + getNextHighestDepth(), getNextHighestDepth());
g.n = i * 10 + j + 1;
g.lvl.text = 'Level ' + g.n;
g._x = j * 70 - 300;
g._y = i * 45;
g.onPress = function () {
_root.CURRENTLEVEL = this.n;
_root.newGame();
};
++j;
}
++i;
}
}
frame 38 {
startbtn.onRelease = function () {
_root.newGame();
};
}
frame 59 {
stop();
}
}
movieClip 263 {
}
movieClip 264 {
}
movieClip 267 {
}
movieClip 269 {
}
movieClip 272 {
}
movieClip 275 {
}
movieClip 278 {
}
movieClip 280 {
}
movieClip 282 {
}
movieClip 283 {
}
movieClip 284 {
}
movieClip 285 {
frame 22 {
_parent.swapDepths(54);
_parent.removeMovieClip();
}
}
movieClip 287 {
}
movieClip 288 {
frame 1 {
_root.pres(this);
stop();
}
}
movieClip 290 {
}
movieClip 291 {
}
movieClip 293 {
}
movieClip 295 {
}
movieClip 296 {
}
movieClip 298 {
}
movieClip 302 {
}
movieClip 303 {
}
movieClip 305 level1 {
instance of movieClip 278 {
onClipEvent (load) {
bound = [49, 749];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [49, 749];
_root.addEnemy(this, 'raindeer');
}
}
}
movieClip 306 {
}
movieClip 307 {
}
movieClip 309 {
frame 1 {
_root.spike(this);
}
}
movieClip 310 {
}
movieClip 312 {
frame 1 {
_root.addFuel(this);
}
}
movieClip 315 {
frame 1 {
if (!this.go) {
stop();
}
}
}
movieClip 316 level2 {
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 317 {
}
movieClip 318 {
}
movieClip 319 {
}
movieClip 320 {
}
movieClip 324 {
}
movieClip 327 {
frame 4 {
stop();
}
}
movieClip 328 {
frame 1 {
stop();
}
}
movieClip 329 level3 {
instance of movieClip 303 {
onClipEvent (load) {
bound = [50, 200];
_root.addEnemy(this, 'raindeer');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [592, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [50, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [50, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [30, 220];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [30, 220];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [592, 773];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [592, 773];
_root.addEnemy(this, 'nutcracker');
}
}
}
movieClip 330 {
}
movieClip 331 {
}
movieClip 332 {
}
movieClip 333 {
}
movieClip 342 {
}
movieClip 344 {
}
movieClip 345 level4 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [40, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [40, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [40, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 2);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [50, 275];
_root.addEnemy(this, 'raindeer');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [210, 295];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [210, 295];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [0, 95];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [0, 95];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [500, 750];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [500, 750];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [550, 750];
_root.addEnemy(this, 'raindeer');
}
}
}
movieClip 346 {
}
movieClip 347 {
}
movieClip 348 {
}
movieClip 349 {
}
movieClip 350 level5 {
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 1);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
}
movieClip 353 {
}
movieClip 354 {
}
movieClip 355 {
}
movieClip 356 {
}
movieClip 357 level6 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [50, 220];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [270, 750];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
}
movieClip 358 {
}
movieClip 360 {
}
movieClip 361 {
}
movieClip 362 {
}
movieClip 363 level7 {
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
}
movieClip 364 {
}
movieClip 365 {
}
movieClip 367 {
}
movieClip 368 {
}
movieClip 369 level8 {
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 11, 12);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 10, 5);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 9, 9);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 8, 9);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 7, 6);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 0);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 14, 15);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 13, 14);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 12, 12);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 20, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 35, 4);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 19, 19);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 22, 23);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 21, 19);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 17, 17);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 18, 19);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 16, 17);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 15, 15);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 25, 26);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 24, 0);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 23, 23);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 32, 32);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 29, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 27, 28);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 26, 26);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 30, 32);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 31, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 28, 28);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 4);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 5, 5);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 6, 6);
}
}
}
movieClip 370 {
}
movieClip 371 {
}
movieClip 372 {
}
movieClip 373 {
}
movieClip 374 level9 {
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 6, 5);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 8, 7);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 10, 9);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 12, 11);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 13, 12);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 15, 14);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 17, 16);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 19, 18);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 5, 5);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 7, 7);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 9, 9);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 11, 11);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 13, 13);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 14, 14);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 16, 16);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 18, 18);
}
}
}
movieClip 376 {
}
movieClip 377 {
}
movieClip 378 {
}
movieClip 379 {
}
movieClip 380 level10 {
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 4);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 3);
}
}
}
movieClip 382 {
}
movieClip 384 {
}
movieClip 385 {
}
movieClip 386 {
}
movieClip 387 level11 {
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 389 {
}
movieClip 390 {
}
movieClip 391 {
}
movieClip 392 {
}
movieClip 393 level12 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [40, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
}
movieClip 394 {
}
movieClip 396 {
}
movieClip 397 {
}
movieClip 398 {
}
movieClip 399 level13 {
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [81, 728];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [81, 728];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [81, 728];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [81, 728];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [81, 728];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
}
movieClip 400 {
}
movieClip 402 {
}
movieClip 403 {
}
movieClip 404 {
}
movieClip 413 {
}
movieClip 417 {
}
movieClip 418 {
frame 1 {
stop();
}
}
movieClip 419 level14 {
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 2);
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [122, 292];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 5);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 5, 6);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 6, 6);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [122, 327];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [480, 680];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [480, 680];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
}
movieClip 421 {
}
movieClip 422 {
}
movieClip 423 {
}
movieClip 424 {
}
movieClip 425 level15 {
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 424 {
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
}
movieClip 428 {
}
movieClip 429 {
}
movieClip 430 {
}
movieClip 431 {
}
movieClip 432 level16 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [250, 500];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 150);
}
}
}
movieClip 434 {
}
movieClip 435 {
}
movieClip 436 {
}
movieClip 437 {
}
movieClip 438 level17 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [650, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 440 {
}
movieClip 441 {
}
movieClip 442 {
}
movieClip 443 {
}
movieClip 444 level18 {
instance of movieClip 418 {
onClipEvent (load) {
bound = [700, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 100];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 6, 5);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 5, 6);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 4);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 446 {
}
movieClip 447 {
}
movieClip 448 {
}
movieClip 449 {
}
movieClip 450 level19 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [460, 680];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 1);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [80, 350];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 1);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [150, 680];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 452 {
}
movieClip 453 {
}
movieClip 454 {
}
movieClip 455 {
}
movieClip 456 level20 {
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 459 {
}
movieClip 460 {
}
movieClip 461 {
}
movieClip 462 {
}
movieClip 463 level21 {
}
movieClip 464 {
}
movieClip 466 {
}
movieClip 467 {
}
movieClip 468 {
}
movieClip 469 level22 {
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [40, 250];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [40, 250];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [520, 750];
_root.addEnemy(this, 'raindeer');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [690, 780];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [520, 590];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [185, 290];
_root.addEnemy(this, 'nutcracker');
}
}
}
movieClip 470 {
}
movieClip 472 {
}
movieClip 473 {
}
movieClip 474 {
}
movieClip 475 level23 {
instance of movieClip 328 {
onClipEvent (load) {
bound = [100, 600];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [100, 600];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 5);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 6, 7);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 7, 6);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 5, 4);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
}
movieClip 476 {
}
movieClip 478 {
}
movieClip 479 {
}
movieClip 480 {
}
movieClip 481 level24 {
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 4);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 5, 4);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 6, 7);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 8, 7);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 9, 10);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 1);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 4, 4);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 7, 7);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 10, 10);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 1);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 483 {
}
movieClip 484 {
}
movieClip 485 {
}
movieClip 486 {
}
movieClip 487 level25 {
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadVert');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [450, 540];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [240, 329];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [40, 770];
_root.addEnemy(this, 'nutcracker');
}
}
instance of movieClip 278 {
onClipEvent (load) {
bound = [40, 775];
_root.addEnemy(this, 'nutcracker');
}
}
}
movieClip 490 {
}
movieClip 491 {
}
movieClip 492 {
}
movieClip 493 {
}
movieClip 494 level26 {
instance of movieClip 418 {
onClipEvent (load) {
bound = [600, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 150];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 9, 8);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 11, 10);
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [200, 600];
_root.addEnemy(this, 'raindeer');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [200, 600];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 8, 9);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 10, 11);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 495 {
}
movieClip 496 {
}
movieClip 497 {
}
movieClip 498 {
}
movieClip 499 level27 {
}
movieClip 500 {
}
movieClip 501 {
}
movieClip 502 {
}
movieClip 503 {
}
movieClip 504 level28 {
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [49, 749];
_root.addEnemy(this, 'raindeer');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [592, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 505 {
}
movieClip 506 {
}
movieClip 507 {
}
movieClip 508 {
}
movieClip 509 level29 {
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 418 {
onClipEvent (load) {
bound = [40, 760];
_root.addEnemy(this, 'snowman');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 303 {
onClipEvent (load) {
bound = [49, 749];
_root.addEnemy(this, 'raindeer');
}
}
instance of movieClip 328 {
onClipEvent (load) {
bound = [592, 773];
_root.addEnemy(this, 'penguin');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 3);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadDiag', 135);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 0);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 3, 2);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 511 {
}
movieClip 512 {
}
movieClip 513 {
}
movieClip 514 {
}
movieClip 516 {
}
movieClip 518 {
}
movieClip 520 {
}
movieClip 522 {
}
movieClip 524 {
}
movieClip 525 {
}
movieClip 526 level30 {
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 0, 2);
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 2, 0);
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 342 {
onClipEvent (load) {
_root.addEnemy(this, 'gingerBreadHor');
}
}
instance of movieClip 344 {
onClipEvent (load) {
_root.portal(this, 1, 1);
}
}
instance of movieClip 525 {
onClipEvent (load) {
_root.turretInit(this, 25, 0, false);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
instance of movieClip 315 {
onClipEvent (load) {
_root.icicle(this, 260);
}
}
}
movieClip 533 bullet {
frame 1 {
stop();
}
}
movieClip 535 {
}
// unknown tag 88 length 138
movieClip 540 popup {
}
movieClip 543 lvl {
}
movieClip 545 {
}
movieClip 546 fuelTank {
frame 1 {
stop();
}
frame 101 {
stop();
}
}
movieClip 552 {
frame 1 {
stop();
}
}
movieClip 554 {
}
movieClip 555 GUI {
frame 1 {
action = null;
ended = true;
onEnterFrame = function () {
if (this.hitTest(_root.santa) && action != 25) {
action = 25;
} else {
if (action != 100) {
action = 100;
}
}
if (action && ended && _alpha != action) {
_root.tween(this, {'_alpha': action});
setTimeout(function () {
ended = true;
}, 600);
action = null;
ended = false;
}
};
}
instance of movieClip 552 {
onClipEvent (press) {
_root.toggleMute(this);
}
}
instance of movieClip 554 {
onClipEvent (press) {
_root.restartLevel();
}
}
}
movieClip 562 {
}
movieClip 567 {
}
movieClip 572 {
}
movieClip 577 {
}
movieClip 582 {
}
movieClip 584 santa {
frame 1 {
stop();
}
}
movieClip 587 FPS {
frame 1 {
ms = 0;
fr = 0;
onEnterFrame = function () {
++fr;
if (ms + 1000 < getTimer()) {
fps.text = 'FPS: ' + fr;
fr = 0;
ms = getTimer();
}
};
}
}
movieClip 589 MAINMENU {
}
movieClip 591 {
frame 331 {
stop();
}
}
movieClip 594 {
}
movieClip 596 {
}
movieClip 598 {
}
movieClip 599 {
}
movieClip 601 {
}
movieClip 603 {
}
movieClip 604 {
frame 37 {
stop();
}
}
movieClip 609 {
}
movieClip 611 {
}
movieClip 612 {
}
button 613 {
on (release) {
play();
}
on (rollOver) {
_root.tt(2);
}
on (rollOut) {
_root.tt(1);
}
}
button 614 {
on (rollOver) {
_root.tt(3);
}
on (rollOut) {
_root.tt(1);
}
on (release) {
_root.tt(1);
gotoAndStop('levelselect');
}
}
button 615 {
on (rollOver) {
_root.tt(5);
}
on (rollOut) {
_root.tt(1);
}
on (release) {
getURL('http://minijuegos.com', '_blank');
}
}
button 616 {
on (press) {
_root.showScores();
}
on (rollOver) {
_root.tt(4);
}
on (rollOut) {
_root.tt(1);
}
}
button 617 {
on (rollOver) {
_root.tt(6);
}
on (rollOut) {
_root.tt(1);
}
on (release) {
_root.tt(1);
gotoAndStop('credits');
}
}
movieClip 618 {
}
button 620 {
on (release) {
gotoAndStop(184);
}
}
button 622 {
on (release) {
if (_root.movingslow) {
_root.CHEATED = l;
_root.CURRENTLEVEL = l;
_root.newGame();
}
}
}
movieClip 624 {
frame 1 {
nam.text = 'Level ' + l;
}
}
movieClip 625 {
instance of movieClip 624 {
onClipEvent (load) {
this.l = 1;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 2;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 3;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 4;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 5;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 6;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 7;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 8;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 9;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 10;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 11;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 12;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 13;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 14;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 15;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 16;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 17;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 18;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 19;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 20;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 21;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 22;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 23;
}
}
instance of movieClip 624 {
onClipEvent (load) {
this.l = 24;
}
}
}
movieClip 626 {
frame 1 {
_root.makeSlider(scc, 5, 300);
}
}
movieClip 627 SPLASH SCREEN {
frame 1 {
_root.startSnow(snow);
}
instance of movieClip 594 {
onClipEvent (release) {
getURL('http://minijuegos.com/', '_blank');
}
}
frame 129 {
stop();
}
frame 184 {
stop();
}
frame 230 {
_root.newGame();
stop();
}
}
movieClip 633 {
}
frame 3 {
function menuGo() {
CURRENTLEVEL = 1;
CHEATED = false;
PLAYING = false;
unloadLevel();
gamesound.stop();
gamesound = null;
themesong = playSound('themesong', snd_music, MUSICVOL, true);
attachMovie('SPLASH SCREEN', 'splash', getNextHighestDepth());
attachMovie('TOOLTIPS', 'ttt', getNextHighestDepth(), {'_x': 400, '_y': 500});
splash._x = 400;
splash._y = 300;
}
function spListen() {
keyListener = new Object();
keyListener.onKeyDown = function () {
if (PLAYING && Key.isDown(65)) {
}
if (!PLAYING && splash._currentframe == 129) {
splash.gotoAndPlay(143);
}
};
Key.addListener(keyListener);
}
function tt(n) {
ttt.gotoAndStop(n);
}
function getLevel(n) {
switch (n) {
case 1:
return 'level1';
break;
case 2:
return 'level27';
break;
case 3:
return 'level2';
break;
case 4:
return 'level3';
break;
case 5:
return 'level4';
break;
case 6:
return 'level5';
break;
case 7:
return 'level6';
break;
case 8:
return 'level7';
break;
case 9:
return 'level8';
break;
case 10:
return 'level9';
break;
case 11:
return 'level10';
break;
case 12:
return 'level13';
break;
case 13:
return 'level14';
break;
case 14:
return 'level15';
break;
case 15:
return 'level16';
break;
case 16:
return 'level17';
break;
case 17:
return 'level18';
break;
case 18:
return 'level19';
break;
case 19:
return 'level22';
break;
case 20:
return 'level23';
break;
case 21:
return 'level24';
break;
case 22:
return 'level25';
break;
case 23:
return 'level26';
break;
case 24:
return 'level30';
}
}
function nm() {}
function showScores(score) {
MOCHI.swapDepths(getNextHighestDepth());
if (score) {
mochi.as2.MochiScores.showLeaderboard({'onDisplay': nm, 'onClose': nm, 'boardID': '737dccb2d061c43e', 'score': score});
} else {
mochi.as2.MochiScores.showLeaderboard({'onDisplay': nm, 'onClose': nm, 'boardID': '737dccb2d061c43e'});
}
}
function loadLevel(n) {
if (!PLAYING) {
STIME = getTimer();
}
PLAYING = true;
unloadLevel();
if (CHEATED && n != CHEATED) {
menuGo();
return undefined;
}
if (n == 25) {
attachMovie('ENDBG', 'endbg', getNextHighestDepth());
showScores(getTimer() - STIME);
return undefined;
}
if (!DOL || DOL[0] != n) {
DOL = [n, -1];
}
++DOL[1];
cantMove = getTimer();
presents = [];
CURRENTLEVEL = n;
portals = [];
level = attachMovie(getLevel(n), 'level', getNextHighestDepth());
santa = attachMovie('santa', 'santa', getNextHighestDepth());
GUI = attachMovie('GUI', 'GUI', getNextHighestDepth(), {'_x': 580, '_y': 4});
santa._x = levelspawns[n - 1].x;
santa._y = levelspawns[n - 1].y;
myFuel = 0;
lF = level.floors;
lI = level.ice;
lL = level.ladders;
santaSpeed = 3.5;
santaFriction = 0;
gravity = 0.2;
santa.mode = 'jetpack';
if (level.window) {
level.window.onEnterFrame = makeSnowFlake;
}
if (level.window2) {
level.window2.onEnterFrame = makeSnowFlake;
}
if (level.window3) {
level.window3.onEnterFrame = makeSnowFlake;
}
if (level.window4) {
level.window4.onEnterFrame = makeSnowFlake;
}
if (level.window5) {
level.window5.onEnterFrame = makeSnowFlake;
}
santa.onEnterFrame = goSantaGo;
switch (n) {
case 1:
if (DOL[1] == 0) {
createPopup(0);
}
break;
case 2:
if (DOL[1] == 2) {
createPopup(3);
}
break;
case 3:
if (DOL[1] == 0) {
createPopup(2);
}
break;
case 4:
break;
case 5:
break;
case 6:
}
}
function unloadLevel() {
level.removeMovieClip();
santa.removeMovieClip();
GUI.removeMovieClip();
}
function pres(a) {
presents.push(a);
}
function spike(who) {
who.swapDepths(0);
who.onEnterFrame = function () {
if (santa.hitTest(this)) {
killSanta();
}
};
}
function createPopup(id) {
var v1 = attachMovie('popup', 'p' + getNextHighestDepth(), getNextHighestDepth());
v1._xscale = 0.01;
v1._yscale = 0.01;
v1._x = 400;
v1._y = 300;
var v2;
switch (id) {
case 0:
v2 = 10;
v1.title.text = 'Welcome!';
v1.body.text = 'Use the arrow keys to move.\nCollect all of the presents to win.\nAvoid enemies at all costs!';
v1.bg._height = 70;
break;
case 1:
v2 = 3;
v1.title.text = 'Beware!';
v1.body.text = 'Walking under icicles may cause them to break off!';
v1.bg._height = 55;
break;
case 2:
v2 = 2;
v1.title.text = 'Careful!';
v1.body.text = 'The ice is slippery.';
v1.bg._height = 40;
break;
case 3:
v2 = 5;
v1.title.text = 'Stuck?';
v1.body.text = 'Try going to the left!';
v1.bg._height = 40;
break;
case 4:
v2 = 5;
v1.title.text = 'Penguins';
v1.body.text = 'They\'ll chase you!';
v1.bg._height = 40;
break;
case 5:
v2 = 5;
v1.title.text = 'Teleporters';
v1.body.text = 'Teleporters send you to a different location in the map.';
v1.bg._height = 55;
break;
case 6:
v2 = 5;
v1.title.text = 'Jetpack';
v1.body.text = 'Use SPACE BAR to use your jetpack to get to hard to reach places! You have limited fuel!';
v1.bg._height = 70;
}
com.greensock.TweenLite.to(v1, 1, {'_xscale': 100, '_yscale': 100, 'ease': com.greensock.easing.Back.easeOut});
com.greensock.TweenLite.delayedCall(v2, removePopup, [v1]);
}
function tween(what, how) {
com.greensock.TweenLite.to(what, 0.6, how);
}
function toggleMute(what) {
if (MUSICVOL > 1) {
gamesound.setVolume(0.01);
MUSICVOL = 0.01;
what.gotoAndStop(2);
} else {
gamesound.setVolume(15);
what.gotoAndStop(1);
MUSICVOL = 15;
}
}
function restartLevel() {
loadLevel(CURRENTLEVEL);
}
function removePopup(p) {
com.greensock.TweenLite.to(p, 1, {'_xscale': 0, '_yscale': 0, 'ease': com.greensock.easing.Back.easeIn});
com.greensock.TweenLite.delayedCall(1, function () {
removeMovieClip(p);
});
}
function turretEF() {
if (!this.dist || flash.geom.Point.distance(new flash.geom.Point(this._x, this._y), new flash.geom.Point(santa._x, santa._y)) < this.dist) {
--this.cd;
if (!this.cd) {
this.cd = this.mcd;
var v3 = Math.atan2(this.pt0._y - this.pt1._y, this.pt0._x - this.pt1._x);
var v2 = new flash.geom.Point();
this.pt1.localToGlobal(v2);
createShot(1, v2, v3, 2);
if (this.anim) {
this.play();
}
}
}
}
function createShot(hurtme, coords, angle, speed, fr) {
var v2 = attachMovie('bullet', 'b' + getNextHighestDepth(), getNextHighestDepth());
v2._x = coords.x;
v2._y = coords.y;
v2.ang = angle;
v2.spd = speed;
v2.hurtme = hurtme;
v2.gotoAndStop(fr || 1);
v2.onEnterFrame = function () {
this._x -= Math.cos(this.ang) * this.spd;
this._y -= Math.sin(this.ang) * this.spd;
if (this.hurtme && santa.hitTest(this._x, this._y, true)) {
killSanta();
this.onEnterFrame = null;
removeMovieClip(this);
return undefined;
}
if (lF.hitTest(this._x, this._y, true)) {
this.onEnterFrame = null;
removeMovieClip(this);
return undefined;
}
if (this._x < 0 || this._x > 800 || this._y < 0 || this._y > 600) {
this.onEnterFrame = null;
removeMovieClip(this);
}
};
}
function turretInit(tar, cd, dist, anim) {
tar.cd = cd || 0;
tar.mcd = tar.cd;
tar.dist = dist || 0;
tar.anim = anim;
tar.onEnterFrame = turretEF;
}
function getCenterCoords(b) {
return new flash.geom.Point((b.x || b._x) + (b._width || b.w) / 2, (b.y || b._y) + (b._height || b.h) / 2);
}
function goSantaGo() {
if (cantMove && getTimer() - cantMove > FREEZETIME) {
cantMove = false;
}
if (santa.mode != 'dead') {
if (presents.length == 0) {
gotoNext();
return undefined;
}
i = 0;
while (i < presents.length) {
var v2 = {'x': 0, 'y': 0, 'w': 13, 'h': 16};
presents[i].localToGlobal(v2);
if (flash.geom.Point.distance(new flash.geom.Point(this._x, this._y), getCenterCoords(v2)) < 15) {
playSound('grab', snd_grab, MUSICVOL);
presents[i].swapDepths(99);
presents[i].gotoAndStop(2);
presents.splice(i, 1);
MYSCORE += 10;
}
++i;
}
if (lL.hitTest(this._x, this._y + 12, true)) {
if (!this.flyKey) {
this.vertSpd = 0;
}
this.touchLadder = true;
santaFriction = 0;
} else {
this.touchLadder = false;
this.onLadder = false;
}
if (lI.hitTest(this._x, this._y + 20, true)) {
santaFriction = 0.98;
} else {
if (lF.hitTest(this._x, this._y + 18, true) || this.onLadder && lL.hitTest(this._x, this._y + 14, true) && !lL.hitTest(this._x, this._y + 10, true)) {
santaFriction -= 0.05;
santaFriction = Math.max(santaFriction, 0);
} else {
if (!this.onLadder) {
santaFriction = 0.8;
}
}
}
if (!this.flyKey && !lF.hitTest(this._x, this._y + 18, true) && this.touchLadder) {
this.onLadder = true;
}
if (!this.crouch && !cantMove && Key.isDown(37) && !lF.hitTest(this._x - 12, this._y + 16, true)) {
if (!this.onLadder) {
this.mov = -santaSpeed;
this._xscale = -100;
this.setAnim('walk');
} else {
this.mov = -santaSpeed * 2 / 3;
this._xscale = -100;
this.setAnim('ladderMove');
}
} else {
if (!this.crouch && !cantMove && Key.isDown(39) && !lF.hitTest(this._x + 12, this._y + 16, true)) {
if (!this.onLadder) {
this.mov = santaSpeed;
this._xscale = 100;
this.setAnim('walk');
} else {
this.mov = santaSpeed * 2 / 3;
this._xscale = 100;
this.setAnim('ladderMove');
}
} else {
this.mov *= santaFriction;
if (!this.onLadder) {
this.setAnim('idle');
}
}
}
}
if (!lF.hitTest(this._x, this._y + 18, true) && !this.onLadder && !this.touchLadder || this.mode == 'dead') {
if (this.vertSpd == undefined) {
this.vertSpd = gravity;
}
this.vertSpd += 0.4;
this.vertSpd = Math.min(this.vertSpd, 10);
}
this._x += this.mov;
this._y += this.vertSpd;
if (santa.mode != 'dead') {
if (!cantMove && Key.isDown(32) && this.mode == 'jetpack') {
myFuel -= 0.35;
this.vertSpd -= 1;
santaFriction = 0;
this.vertSpd = Math.max(this.vertSpd, -5);
this.setAnim('fly');
this.flyKey = true;
} else {
this.flyKey = false;
}
if (!cantMove && Key.isDown(38)) {
if (this.touchLadder) {
this.onLadder = true;
this._y -= 2;
this.setAnim('ladderMove');
} else {
if (lF.hitTest(this._x, this._y + 18, true) || lF.hitTest(this._x + 5, this._y + 18, true) || lF.hitTest(this._x - 5, this._y + 18, true) || lL.hitTest(this._x, this._y + 12, true)) {
playSound('jump', snd_jump, MUSICVOL);
this.vertSpd = -6;
this._y -= 6;
}
}
} else {
if (!cantMove && Key.isDown(40)) {
if (this.touchLadder) {
this.onLadder = true;
this._y += 2;
this.setAnim('ladderMove');
} else {
if (!this.flyKey) {
this.crouch = true;
this.setAnim('crouch');
}
}
} else {
this.crouch = false;
if (this.onLadder && !this.mov && !this.flyKey) {
this.setAnim('ladder');
}
}
}
while (lF.hitTest(this._x, this._y + 16, true)) {
--this._y;
this.vertSpd = 0;
}
while (lF.hitTest(this._x, this._y - 16, true)) {
++this._y;
this.vertSpd = 0;
}
for (;;) {
if (!(lF.hitTest(this._x + 10, this._y, true) || lF.hitTest(this._x + 10, this._y - 8, true))) break;
--this._x;
}
for (;;) {
if (!(lF.hitTest(this._x - 10, this._y, true) || lF.hitTest(this._x - 10, this._y - 8, true))) break;
++this._x;
}
if (this._x < 0) {
dissolve1(this);
this._x = 800;
dissolve1(this);
}
if (this._x > 800) {
dissolve1(this);
this._x = 0;
dissolve1(this);
}
}
if (this.mode != 'dead' && myFuel <= 0) {
myFuel = 0;
this.mode = 'normal';
} else {
if (this.mode != 'dead' && myFuel > 0) {
this.mode = 'jetpack';
}
}
if (this._y > 600) {
killSanta(true);
}
GUI.fuelBar.gotoAndStop(Math.floor(myFuel) + 1);
_c = Math.min(_c + 1, MYSCORE);
GUI.score.text = _c < 10 ? '0000' + _c : (_c < 100 ? '000' + _c : (_c < 1000 ? '00' + _c : (_c < 10000 ? '0' + _c : _c)));
CTIME = Math.floor((getTimer() - STIME) / 1000);
GUI.time.text = CTIME < 10 ? '0:0' + CTIME : (CTIME < 60 ? '0:' + CTIME : Math.floor(CTIME / 60) + ':' + (CTIME % 60 < 10 ? '0' + CTIME % 60 : CTIME % 60));
GUI.lives.text = DEATHS + ' DEATHS LEVEL ' + CURRENTLEVEL;
}
function dissolve1(mc) {
var e = new flash.display.BitmapData(mc._width, mc._height, true, 0);
var v3 = createEmptyMovieClip('a' + getNextHighestDepth(), getNextHighestDepth());
v3._x = mc._x - mc._width / 2;
v3._y = mc._y - mc._height / 2;
var v4 = new flash.geom.Matrix();
v4.translate(mc._width / 2, mc._height / 2);
v3.attachBitmap(e, 0);
v3.pxt = mc._width * mc._height;
v3.px = 0;
e.draw(mc, v4);
v3.onEnterFrame = function () {
this.nn = e.pixelDissolve(e, e.rectangle, new flash.geom.Point(0, 0), this.nn, 50, 0);
this.px += 50;
if (this.px >= this.pxt) {
e.dispose();
this.removeMovieClip();
}
};
}
function getPortal(a) {
return portals[portals[a][1]][0];
}
function portal(a, b, c) {
portals[b] = [a, c];
a.i = b;
a.e = c;
a.onEnterFrame = function () {
this.cooldown = Math.max(0, this.cooldown - 1);
if (this.hitTest(santa) && !this.cooldown && this.e != null) {
var v2 = getPortal(this.i);
this.cooldown = 10;
v2.cooldown = 10;
v2.unhit = true;
dissolve1(santa);
santa._x = v2._x + 10;
santa._y = v2._y;
v2.cooldown = 100;
santaFriction = 0;
}
if (!this.cooldown == 1) {
this.unhit = santa.hitTest(this._x + 7, this._y + 7);
}
};
}
function killSanta(go) {
if (santa.mode == 'dead') {
return undefined;
}
++DEATHS;
santa.mode = 'dead';
santa.gotoAndStop('die');
santa.mov = 0;
if (!go) {
santa.vertSpd = -6;
setTimeout(loadLevel, 2000, CURRENTLEVEL);
} else {
setTimeout(loadLevel, 500, CURRENTLEVEL);
}
}
function addFuel(n) {
n.onEnterFrame = function () {
if (this.hitTest(santa)) {
if (!pop_jetpack) {
createPopup(6);
pop_jetpack = true;
}
myFuel += 100;
this.swapDepths(10);
dissolve1(this);
this.removeMovieClip();
}
};
}
function addEnemy(n, o, i) {
if (o == 'gingerBreadDiag') {
n.ang = i;
n.onEnterFrame = function () {
var v3 = this.ang * Math.PI / 180;
var v4 = 4;
while (--v4) {
var v2 = false;
this._x -= Math.cos(v3);
this._y -= Math.sin(v3);
if (lF.hitTest(this._x, this._y, true) && !lF.hitTest(this._x - 5, this._y + 6, true) && !lF.hitTest(this._x + 28, this._y + 6, true)) {
v2 = true;
this.ang = -this.ang;
} else {
if (lF.hitTest(this._x, this._y + 23, true) && !lF.hitTest(this._x - 5, this._y + 17, true) && !lF.hitTest(this._x + 28, this._y + 17, true)) {
this.ang = -this.ang;
v2 = true;
}
}
if (lF.hitTest(this._x - 5, this._y, true) && !lF.hitTest(this._x, this._y - 5, true) && !lF.hitTest(this._x, this._y + 28, true)) {
this.ang = 180 - this.ang;
v2 = true;
} else {
if (lF.hitTest(this._x + 28, this._y, true) && !lF.hitTest(this._x + 23, this._y - 5, true) && !lF.hitTest(this._x + 23, this._y + 28, true)) {
this.ang = 180 - this.ang;
v2 = true;
}
}
if (this._x < 0 || this._x > 800) {
this.ang = 180 - this.ang;
v2 = true;
} else {
if (this._y < 0 || this._y > 600) {
v2 = true;
this.ang = -this.ang;
}
}
while (lF.hitTest(this._x, this._y + 23, true)) {
--this._y;
}
while (lF.hitTest(this._x, this._y, true)) {
++this._y;
}
while (lF.hitTest(this._x + 23, this._y, true)) {
--this._x;
}
if (v2) {
v3 = this.ang * Math.PI / 180;
this._x -= Math.cos(v3) * 2;
this._y -= Math.sin(v3) * 2;
}
}
if (flash.geom.Point.distance(new flash.geom.Point(santa._x, santa._y), getCenterCoords(this)) < 18) {
killSanta();
}
};
} else {
if (o == 'gingerBreadVert') {
n.ang = 90;
n.onEnterFrame = function () {
var v2 = this.ang * Math.PI / 180;
var v4 = 5;
var v3 = false;
this._x -= Math.cos(v2) * 4;
this._y -= Math.sin(v2) * 4;
if (lF.hitTest(this._x, this._y, true)) {
v3 = true;
this.ang = -this.ang;
} else {
if (lF.hitTest(this._x, this._y + 23, true)) {
this.ang = -this.ang;
v3 = true;
}
}
if (v3) {
this._x = this.lx;
this._y = this.ly;
v2 = this.ang * Math.PI / 180;
this._x -= Math.cos(v2) * 2;
this._y -= Math.sin(v2) * 2;
}
if (flash.geom.Point.distance(new flash.geom.Point(santa._x, santa._y), getCenterCoords(this)) < 18) {
killSanta();
}
};
} else {
if (o == 'gingerBreadHor') {
n.ang = 0;
n.onEnterFrame = function () {
var v2 = this.ang * Math.PI / 180;
var v4 = 5;
var v3 = false;
this._x -= Math.cos(v2) * 4;
this._y -= Math.sin(v2) * 4;
if (lF.hitTest(this._x, this._y, true)) {
v3 = true;
this.ang = 180 - this.ang;
} else {
if (lF.hitTest(this._x + 23, this._y, true)) {
this.ang = 180 - this.ang;
v3 = true;
}
}
if (v3) {
this._x = this.lx;
this._y = this.ly;
v2 = this.ang * Math.PI / 180;
this._x -= Math.cos(v2) * 2;
this._y -= Math.sin(v2) * 2;
}
if (flash.geom.Point.distance(new flash.geom.Point(santa._x, santa._y), getCenterCoords(this)) < 18) {
killSanta();
}
};
} else {
if (o == 'penguin') {
n.chargecd = 0;
n.offlimits = [0, 800];
n.onEnterFrame = function () {
var v4 = Math.floor(this._xscale / 100);
if (!this.chargecd && !this.charge || this.charge) {
this._x -= 0.5 * v4 * (this.charge > 0 ? 7 : 1.3);
}
if (this._x <= this.bound[0]) {
this.charge = 0;
this._xscale = -100;
}
if (this._x >= this.bound[1]) {
this.charge = 0;
this._xscale = 100;
}
if (this.chargecd <= 0) {
} else {}
null;
this._x = Math.min(Math.max(this._x, this.bound[0]), this.bound[1]);
var v2 = {'x': 0, 'y': 0};
this.localToGlobal(v2);
var v3 = flash.geom.Point.distance(new flash.geom.Point(v2.x, v2.y), new flash.geom.Point(santa._x, santa._y - 20));
var v5 = flash.geom.Point.distance(new flash.geom.Point(0, v2.y), new flash.geom.Point(0, santa._y - 20));
this.charge = Math.max(this.charge - 1, 0);
if (this.charge) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
if (!this.chargecd && v3 < 200 && v5 < 30 && !this.charge && (santa._x >= this.bound[0] - 5 && santa._x <= this.bound[1] + 5)) {
this.chargecd = 100;
this.charge = 100;
this._xscale = v2.x - santa._x > 0 ? 100 : -100;
}
if (this.hitTest(santa._x + 12, santa._y, true)) {
killSanta();
}
if (!lF.hitTest(this._x - _xscale / 15, this._y + 55, true)) {
if (this._xscale < 0) {
this.offlimits[1] = this._x;
} else {
this.offlimits[0] = this._x;
}
this.charge = 0;
this._x += this._xscale / 10;
this._xscale = -this._xscale;
}
};
} else {
if (o == 'raindeer') {
n.y = 0;
n.oy = n._y;
n.jump = true;
n.force = 0;
n.onEnterFrame = function () {
var v2 = Math.floor(this._xscale / 100);
this._x -= 2.2 * v2;
if (this._x <= this.bound[0]) {
this._xscale = -100;
}
if (this._x >= this.bound[1]) {
this._xscale = 100;
}
if (this.jump) {
this.gotoAndPlay(1);
this.force = 6.8;
this.jump = false;
}
if (this.force) {
this.y += this.force;
this.force -= 0.4;
}
if (this.hitTest(santa._x + 12, santa._y, true)) {
killSanta();
}
this.y = Math.max(0, this.y);
this._y = this.oy - this.y;
if (this.y == 0) {
this.jump = true;
}
this._x = Math.min(Math.max(this._x, this.bound[0]), this.bound[1]);
};
} else {
if (o == 'nutcracker') {
n.onEnterFrame = function () {
var v2 = Math.floor(this._xscale / 100);
this._x -= 1.5 * v2;
if (this._x <= this.bound[0]) {
this._xscale = -100;
}
if (this._x >= this.bound[1]) {
this._xscale = 100;
}
if (this.hitTest(santa._x, santa._y, true)) {
killSanta();
}
};
} else {
if (o == 'snowman') {
n.mcd = 50;
n.cd = 50;
n.jumpcd = 1;
n.y = 0;
n.oy = n._y;
n.onEnterFrame = function () {
if (this.cd) {
--this.cd;
}
if (this.movecd) {
--this.movecd;
}
var v2 = Math.floor(this._xscale / 100);
if (!this.movecd) {
this.gotoAndStop(1);
this._x -= 1.5 * v2 * 0.45;
}
if (this._x <= this.bound[0]) {
this._xscale = -100;
}
if (this._x >= this.bound[1]) {
this._xscale = 100;
}
if (!(--this.jumpcd)) {
this.jumpcd = 40;
this.jump = true;
this.me.gotoAndPlay(1);
}
if (this.jump) {
this.force = 3;
this.jump = false;
}
if (this.force) {
this.y += this.force;
this.force -= 0.4;
}
this.y = Math.max(0, this.y);
this._y = this.oy - this.y;
if (!this.cd && this._y - santa._y - 14 < 50 && this._y - santa._y - 14 > 0 && santa._x > this.bound[0] && santa._x < this.bound[1] && Math.abs(this._x - santa._x) < 390) {
this.jumpcd = 100;
if (santa._x < this._x) {
this._xscale = 100;
} else {
this._xscale = -100;
}
this.gotoAndStop(2);
this.cd = 250;
this.movecd = 100;
setTimeout(eShoot, 100, this);
setTimeout(eShoot, 350, this);
setTimeout(eShoot, 600, this);
}
if (this.hitTest(santa._x + 12, santa._y, true)) {
killSanta();
}
};
}
}
}
}
}
}
}
}
function eShoot(tar) {
var v2 = new flash.geom.Point();
tar.shot.localToGlobal(v2);
var v1 = 0;
if (tar._xscale < 0) {
v1 = Math.PI;
}
createShot(1, v2, v1, 5, 2);
}
function icicle(e, a) {
e.s = a;
e.onEnterFrame = function () {
var v2 = {'x': 0, 'y': 0};
this.localToGlobal(v2);
var v4 = Math.abs(v2.x - santa._x);
var v3 = v2.y - santa._y;
if (v4 < 60 && v3 > -this.s && v3 < 0 && !this.go) {
this.shake = getTimer();
this.go = true;
this.play();
}
if (getTimer() - this.shake > 1000) {
this._y += 10;
}
if (santa.hitTest(this._x + 5, this._y, true)) {
killSanta();
}
if (lF.hitTest(this._x, this._y + 10, true)) {
this.swapDepths(1);
this.removeMovieClip();
playSound('crash', snd_crash, MUSICVOL);
}
};
}
function makeSnowFlake() {
if (random(2)) {
return undefined;
}
var v2 = this.bg.attachMovie('px', 'p' + this.bg.getNextHighestDepth(), this.bg.getNextHighestDepth());
v2._x = random(100);
v2._y = 0;
v2.s = Math.random() * 2 + 0.5;
v2.z = Math.random() * 2 - Math.random() * 2;
v2.onEnterFrame = function () {
this._y += this.s;
this._x += this.z;
if (this._y > 110 || this._x < 0 || this._x > 100) {
this.removeMovieClip();
}
};
}
function gotoNext() {
unloadLevel();
loadLevel(CURRENTLEVEL + 1);
}
function newGame() {
ttt.removeMovieClip();
splash.removeMovieClip();
loadLevel(CURRENTLEVEL);
themesong.stop();
themesong = null;
gamesound = playSound('ingame', snd_music, MUSICVOL, true);
}
function makeSlider(mc, h, h2) {
mc.my = 0;
mc.v = 0;
mc.hei = h2;
mc.flo = h;
mc.onMouseDown = function () {
if (!this.hitTest(_xmouse, _ymouse)) {
return undefined;
}
if (!this.m) {
this.mdp = new flash.geom.Point(_xmouse, _ymouse);
this.ldp = this.mdp;
this.m = true;
this.my = this._y;
}
};
mc.onMouseUp = function () {
this.m = false;
};
mc.onEnterFrame = function () {
movingslow = Math.abs(this.v) < 1;
if (this.m) {
var v4 = new flash.geom.Point(_xmouse, _ymouse);
this._y = this.my + (v4.y - this.mdp.y);
this.v += (v4.y - this.ldp.y) * 0.4;
this.ldp = new flash.geom.Point(_xmouse, _ymouse);
this.v *= 0.5;
} else {
this.v *= 0.9300000000000001;
var v5 = this._height;
var v2 = this._y;
var v3 = 0;
if (v2 > this.flo) {
v3 = (this.flo - v2) * 0.2;
} else {
if (v2 + v5 < this.hei) {
v3 = (this.hei - v5 - v2) * 0.2;
}
}
this._y = v2 + this.v + v3;
}
};
}
MOCHI = createEmptyMovieClip('MOCHI', getNextHighestDepth());
mochi.as2.MochiServices.connect('50caeca8c2f20c94', MOCHI);
levelspawns = [{'x': 52, 'y': 342}, {'x': 60, 'y': 300}, {'x': 387, 'y': 180}, {'x': 398, 'y': 50}, {'x': 35, 'y': 35}, {'x': 255, 'y': 0}, {'x': 48, 'y': 0}, {'x': 769, 'y': 32}, {'x': 415, 'y': 60}, {'x': 18, 'y': 75}, {'x': 75, 'y': 500}, {'x': 80, 'y': 400}, {'x': 90, 'y': 500}, {'x': 10, 'y': 50}, {'x': 18, 'y': 515}, {'x': 25, 'y': 350}, {'x': 375, 'y': 0}, {'x': 140, 'y': 526}, {'x': 19, 'y': 262}, {'x': 20, 'y': 170}, {'x': 27, 'y': 29}, {'x': 27, 'y': 29}, {'x': 40, 'y': 170}, {'x': 415, 'y': 60}, {'x': 80, 'y': 400}, {'x': 415, 'y': 60}, {'x': 354, 'y': 166}];
createEmptyMovieClip('snd_music', getNextHighestDepth());
createEmptyMovieClip('snd_jump', getNextHighestDepth());
createEmptyMovieClip('snd_grab', getNextHighestDepth());
createEmptyMovieClip('snd_crash', getNextHighestDepth());
MUSICVOL = 15;
_c = 0;
MYSCORE = 0;
DEATHS = 0;
CURRENTLEVEL = 1;
FREEZETIME = 400;
PLAYING = false;
stop();
spListen();
game = 'ingame';
musicon = true;
playSound = function (linkage, grp, vol, loop) {
var v1 = vol || 100;
var s = new Sound(grp);
if (linkage == music or linkage == gameMusic) {
bgm = s;
if (!musicon) {
return undefined;
}
}
s.attachSound(linkage);
s.setVolume(v1);
s.start(0, 1);
if (loop) {
s.onSoundComplete = function () {
s.start(0, 1);
};
}
return s;
};
Object.prototype.setAnim = function (a) {
if (this.mode == 'jetpack') {
this.gotoAndStop('jetpack' + a);
} else {
this.gotoAndStop(a);
}
};
Key.addListener(_root);
menuGo();
}