Combined Code
frame 1 {
function watermark() {
getURL('http://zonkpunch.com', '_blank');
}
function rr() {
getURL('http://www.youtube.com/watch?v=k2nf1LUy_eg', '_blank');
}
function ir() {
gotoAndStop(2);
}
var myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
var newItem1_cmi = new ContextMenuItem('Copyright ゥ ZONKPUNCH 2014', watermark);
var newItem2_cmi = new ContextMenuItem('Magic Effects Source', rr);
var newItem3_cmi = new ContextMenuItem('', ir);
newItem2_cmi.enabled = true;
newItem2_cmi.separatorBefore = true;
myMenu_cm.customItems.push(newItem1_cmi, newItem2_cmi, newItem3_cmi);
_root.menu = myMenu_cm;
}
button 3 {
on (release) {
getURL('http://www.zonkpunch.com', '_blank');
}
}
movieClip 9 {
}
movieClip 12 {
}
movieClip 7 {
frame 1 {
function timerHandler() {
if (!loadingComplete) {
var _loc4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _loc4;
if (_loc4 == 1) {
loadingComplete = true;
if (!AUTO_PLAY) {
gotoAndStop('loaded');
} else {
startMovie();
}
return undefined;
}
}
dt = getTimer() - time;
time += dt;
frameAccum += dt;
var _loc3 = 0;
for (;;) {
if (!(frameAccum >= FRAME_TIME && _loc3 < 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;
++_loc3;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return undefined;
}
clip.stop();
if (clip._currentframe != clip._totalframes) {
clip.nextFrame();
} else {
if (loop) {
clip.gotoAndStop(1);
}
}
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.33333206176758;
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();
}
}
movieClip 16 {
}
frame 2 {
function watermark() {
getURL('http://zonkpunch.com', '_blank');
}
function rr() {
getURL('http://www.youtube.com/watch?v=k2nf1LUy_eg', '_blank');
}
function ir() {
gotoAndStop(2);
}
var myMenu_cm = new ContextMenu();
myMenu_cm.hideBuiltInItems();
var newItem1_cmi = new ContextMenuItem('Copyright ゥ ZONKPUNCH 2014', watermark);
var newItem2_cmi = new ContextMenuItem('Magic Effects Source', rr);
var newItem3_cmi = new ContextMenuItem('', ir);
newItem2_cmi.enabled = true;
newItem2_cmi.separatorBefore = true;
myMenu_cm.customItems.push(newItem1_cmi, newItem2_cmi, newItem3_cmi);
_root.menu = myMenu_cm;
}
frame 35 {
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 20 {
}
movieClip 19 {
}
movieClip 28 {
}
movieClip 26 {
}
button 31 {
on (release) {
getURL('http://www.zonkpunch.com', '_blank');
}
}
movieClip 32 {
}
movieClip 36 {
}
button 38 {
on (release) {
gotoAndPlay('control_idle');
}
}
button 44 {
on (release) {
gotoAndPlay('control_slow');
}
}
button 48 {
on (release) {
gotoAndPlay('control_fast');
}
}
movieClip 54 {
}
button 51 {
on (release) {
gotoAndPlay('control_cum');
}
}
movieClip 35 {
frame 1 {
stop();
}
frame 11 {
_root.gotoAndPlay('idle');
}
frame 21 {
stop();
}
frame 31 {
_root.gotoAndStop('slow');
}
frame 41 {
stop();
}
frame 51 {
_root.gotoAndStop('fast');
}
frame 61 {
stop();
}
frame 71 {
_root.gotoAndStop('cum');
}
frame 81 {
stop();
}
}
frame 51 {
stop();
}
frame 52 {
stop();
}
movieClip 57 {
}
frame 53 {
stop();
}
movieClip 61 {
}
frame 54 {
stop();
}
movieClip 69 {
frame 282 {
_root.gotoAndStop('cumidle');
}
}
frame 55 {
stop();
}
movieClip 80 {
}