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('For Doxy\'s Mailmare series', rr);
var newItem3_cmi = new ContextMenuItem('Known Issues: Navigating back to a slower speed will disable the background volume slider.', 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;
}
button 4 {
on (release) {
getURL('http://www.zonkpunch.com', '_blank');
}
}
movieClip 7 {
}
movieClip 9 {
}
movieClip 11 {
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();
}
}
frame 45 {
bgSound = new Sound(this);
bgSound.attachSound('sound1');
bgSound.start(0, 99);
playB.enabled = false;
slider.slideBar._y = -65;
slider.slideBar.onEnterFrame = function () {
bgSound.setVolume(-this._y);
};
slider.slideBar.onPress = function () {
startDrag(this, false, this._x, -65, this._x, 0);
};
slider.slideBar.onReleaseOutside = function () {
stopDrag();
};
slider.slideBar.onRelease = slider.slideBar.onReleaseOutside;
stopB.onRelease = function () {
bgSound.stop();
playB.enabled = true;
stopB.enabled = false;
};
playB.onRelease = function () {
bgSound.start(0, 99);
playB.enabled = false;
stopB.enabled = true;
};
}
movieClip 14 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
// unknown tag 88 length 66
movieClip 33 {
}
button 34 {
on (release) {
gotoAndPlay('control_slow');
}
}
button 37 {
on (release) {
gotoAndPlay('control_fast');
}
}
movieClip 40 {
}
button 42 {
on (release) {
gotoAndPlay('control_cum');
}
}
movieClip 43 {
frame 1 {
stop();
}
frame 11 {
_root.gotoAndPlay('idle');
}
frame 21 {
stop();
}
frame 31 {
_root.gotoAndPlay('slow');
}
frame 41 {
gotoAndStop(1);
}
frame 51 {
_root.gotoAndPlay('fast');
}
frame 61 {
gotoAndStop(1);
}
frame 71 {
_root.gotoAndPlay('cum');
}
frame 81 {
gotoAndStop(1);
}
}
movieClip 47 {
}
movieClip 48 {
}
movieClip 51 {
}
movieClip 52 {
}
movieClip 55 {
frame 1 {
bgSound = new Sound(this);
bgSound.attachSound('sound1');
bgSound.start(0, 99);
playB.enabled = false;
slider.slideBar._y = -65;
slider.slideBar.onEnterFrame = function () {
bgSound.setVolume(-this._y);
};
slider.slideBar.onPress = function () {
startDrag(this, false, this._x, -65, this._x, 0);
};
slider.slideBar.onReleaseOutside = function () {
stopDrag();
};
slider.slideBar.onRelease = slider.slideBar.onReleaseOutside;
stopB.onRelease = function () {
bgSound.stop();
playB.enabled = true;
stopB.enabled = false;
};
playB.onRelease = function () {
bgSound.start(0, 99);
playB.enabled = false;
stopB.enabled = true;
};
}
}
frame 62 {
stop();
}
frame 63 {
stop();
}
frame 64 {
stop();
}
movieClip 62 {
}
frame 65 {
stop();
}
movieClip 72 {
}
movieClip 73 {
frame 16 {
_root.gotoAndPlay('end');
}
}
movieClip 74 {
instance of movieClip 73 {
onClipEvent (load) {
gotoAndStop(1);
}
onClipEvent (release) {
stopAllSounds();
}
onClipEvent (rollOver) {
gotoAndStop(2);
}
onClipEvent (rollOut) {
gotoAndStop(1);
}
onClipEvent (release) {
gotoAndPlay('ag');
}
}
frame 58 {
stop();
}
}
movieClip 75 {
frame 245 {
stop();
_root.gotoAndPlay('uia');
}
}
frame 75 {
stop();
}
frame 86 {
gotoAndPlay('start');
}