Combined Code
movieClip 4 {
}
movieClip 9 {
}
button 15 {
on (release) {
startMovie();
}
}
movieClip 16 {
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 2 {
stop();
}
}
movieClip 18 {
}
movieClip 21 {
}
frame 2 {
if (_global.musicMC == undefined) {
_global.musicMC = _root.createEmptyMovieClip('musiccontainer', _root.getNextHighestDepth());
}
if (_global.musicSound == undefined) {
_global.musicSound = new Sound('musiccontainer');
_global.musicSound.attachSound('musicloop');
_global.musicSound.start(0, 999999);
}
if (_global.musicMC2 == undefined) {
_global.musicMC2 = _root.createEmptyMovieClip('humcontainer', _root.getNextHighestDepth());
}
if (_global.musicSound2 == undefined) {
_global.musicSound2 = new Sound('humcontainer');
_global.musicSound2.attachSound('hum');
_global.musicSound2.start(0, 999999);
}
}
movieClip 25 {
}
movieClip 29 {
}
button 31 {
on (release) {
gotoAndPlay('f2');
}
}
frame 103 {
gotoAndPlay('f1');
}
button 93 {
on (release) {
gotoAndPlay('f3');
}
}
movieClip 95 {
}
button 96 {
on (release) {
gotoAndPlay('f1');
}
}
frame 211 {
gotoAndPlay('f2');
}
movieClip 175 {
}
button 185 {
on (release) {
getURL('https://www.pixiv.net/member.php?id=13175293', '_blank');
}
}
button 190 {
on (release) {
getURL('http://derpixon.tumblr.com/', '_blank');
}
}
button 195 {
on (release) {
getURL('https://www.twitch.tv/derpixontwitch', '_blank');
}
}
button 200 {
on (release) {
getURL('https://twitter.com/derpixon', '_blank');
}
}
button 205 {
on (release) {
getURL('https://picarto.tv/derpixon', '_blank');
}
}
button 210 {
on (release) {
getURL('https://www.patreon.com/derpixon', '_blank');
}
}
button 215 {
on (release) {
getURL('https://derpixon.newgrounds.com/', '_blank');
}
}
button 220 {
on (release) {
getURL('http://www.hentai-foundry.com/user/Derpixon/profile', '_blank');
}
}
button 226 {
on (release) {
gotoAndPlay('f5');
}
}
frame 317 {
stop();
}
frame 330 {
gotoAndPlay('f1');
}