Frame 1
function itemHandler0(obj, item) {
_root.play();
myMenu.customItems[0].enabled = false;
myMenu.customItems[1].enabled = true;
}
function itemHandler1(obj, item) {
_root.play();
myMenu.customItems[0].enabled = true;
myMenu.customItems[1].enabled = false;
}
function itemHandler2(obj, item) {
_quality = "LOW";
myMenu.customItems[0].enabled = true;
myMenu.customItems[1].enabled = false;
}
function itemHandler3(obj, item) {
_quality = "MEDIUM";
myMenu.customItems[0].enabled = true;
myMenu.customItems[1].enabled = false;
}
function itemHandler4(obj, item) {
_quality = "HIGH";
myMenu.customItems[0].enabled = true;
myMenu.customItems[1].enabled = false;
}
function itemHandler5(obj, item) {
_quality = "BEST";
myMenu.customItems[0].enabled = true;
myMenu.customItems[1].enabled = false;
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("ITS A TRAP!", itemHandler0));
myMenu.customItems.push(new ContextMenuItem("Play!", itemHandler1));
myMenu.customItems.push(new ContextMenuItem("Quailty Low", itemHandler2));
myMenu.customItems.push(new ContextMenuItem("Quailty Medium", itemHandler3));
myMenu.customItems.push(new ContextMenuItem("Quailty High", itemHandler4));
myMenu.customItems.push(new ContextMenuItem("Quailty Best", itemHandler5));
myMenu.customItems[1].separatorBefore = true;
_root.menu = myMenu;
Frame 2
time = 150;
onEnterFrame = function () {
if ((--time) == 0) {
gotoAndStop (121);
}
};
Frame 120
gotoAndPlay (2);
Frame 121
stop();
Symbol 47 MovieClip Frame 20
stop();
Symbol 49 Button
on (release) {
_root.play();
}
Symbol 56 MovieClip Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("d92ba052", this, 10301, true);
_root.stop();
onEnterFrame = function () {
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_currentframe < percent) {
nextFrame();
}
pert = _currentframe + "%";
onMouseDown = function () {
if (percent > 99) {
gotoAndPlay (100);
}
};
};
Symbol 56 MovieClip Frame 100
stop();
Symbol 56 MovieClip Frame 134
_root.play();
Symbol 72 Button
on (release) {
_root.stop();
}
Symbol 76 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;