Combined Code
frame 1 {
function watermark() {
getURL('http://zonkpunch.com', '_blank');
}
function rr() {
getURL('http://darkdoxy.tumblr.com/', '_blank');
}
function ir() {
gotoAndPlay(2);
}
var myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
var newItem1_cmi = new ContextMenuItem('© ZONKPUNCH 2014', watermark);
var newItem2_cmi = new ContextMenuItem('', rr);
var newItem3_cmi = new ContextMenuItem('Blank', ir);
newItem2_cmi.enabled = true;
newItem2_cmi.separatorBefore = true;
newItem3_cmi.enabled = false;
newItem3_cmi.separatorBefore = true;
myMenu_cm.customItems.push(newItem1_cmi, newItem2_cmi, newItem3_cmi);
_root.menu = myMenu_cm;
}
movieClip 4 {
}
movieClip 7 {
}
movieClip 8 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var v4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * v4;
if (v4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop('loaded');
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var v3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && v3 < MAX_FRAME_SKIP)) break;
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
frameAccum -= FRAME_TIME;
v3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof clip[childName] == 'movieclip') {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.33333333333334;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, 'timerHandler', FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
}
frame 3 {
startMovie();
}
}
button 12 {
on (release) {
getURL('http://www.zonkpunch.com', '_blank');
}
}
movieClip 13 {
}
movieClip 17 {
}
movieClip 19 {
}
frame 35 {
stop();
}