Combined Code
frame 1 {
NewgroundsAPI.connectMovie(6921);
NewgroundsAPI.loadNewgrounds();
}
movieClip 4 {
}
movieClip 7 {
}
movieClip 18 {
}
movieClip 20 {
frame 40 {
stop();
}
}
movieClip 32 {
}
button 33 {
on (release) {
startMovie();
}
}
movieClip 36 {
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();
}
}
button 43 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
button 49 {
on (release) {
NewgroundsAPI.loadNewgrounds();
}
}
movieClip 50 {
}
movieClip 51 {
frame 1 {
function startAd(ngad_url) {
trace('opening ' + ngad_url);
System.security.allowDomain('70.87.128.99');
System.security.allowInsecureDomain('70.87.128.99');
System.security.allowDomain('ads.shizmoo.com');
System.security.allowInsecureDomain('ads.shizmoo.com');
System.security.allowDomain('www.cpmstar.com');
System.security.allowInsecureDomain('www.cpmstar.com');
System.security.allowDomain('server.cpmstar.com');
System.security.allowInsecureDomain('server.cpmstar.com');
var ngads_redirect = new XML();
ngads_redirect.ignoreWhite = true;
ngads_redirect.onLoad = function (success) {
trace('[NEWGROUNDS FLASH ADS] :: You may get a \'Security Sandbox Violation\' ... this is normal, do not freak out!');
if (success) {
ng_ad.loadMovie(ngads_redirect.toString(), 'GET');
} else {}
};
ngads_redirect.load(ngad_url);
}
if (NewgroundsAPI.getAdURL()) {
startAd(NewgroundsAPI.getAdURL());
}
NewgroundsAPI.onAdsApproved = function (ad_url) {
startAd(ad_url);
};
stop();
}
}
frame 2 {
play();
}
movieClip 56 {
}
movieClip 57 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 73 {
}
movieClip 79 {
}
movieClip 85 {
}
movieClip 91 {
}
movieClip 95 {
}
movieClip 99 {
}
movieClip 107 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 115 {
}
movieClip 122 {
}
movieClip 141 {
}
movieClip 143 {
}
movieClip 148 {
}
movieClip 156 {
}
movieClip 193 {
}
movieClip 194 {
frame 300 {
stop();
}
}
movieClip 198 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 204 {
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 214 {
}
movieClip 216 {
}
movieClip 218 {
}
movieClip 220 {
}
movieClip 222 {
}
movieClip 224 {
}
movieClip 226 {
}
movieClip 228 {
}
movieClip 230 {
}
movieClip 232 {
}
movieClip 234 {
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 240 {
}
movieClip 242 {
}
movieClip 244 {
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 250 {
}
movieClip 252 {
}
movieClip 254 {
}
movieClip 256 {
}
movieClip 258 {
}
movieClip 260 {
}
movieClip 262 {
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 267 {
}
movieClip 269 {
}
movieClip 270 {
}
movieClip 272 {
}
movieClip 274 {
}
movieClip 276 {
}
movieClip 278 {
}
movieClip 280 {
}
movieClip 282 {
}
movieClip 284 {
}
movieClip 286 {
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 291 {
}
movieClip 293 {
}
movieClip 295 {
}
movieClip 297 {
}
movieClip 299 {
}
movieClip 301 {
}
movieClip 303 {
}
movieClip 304 {
}
movieClip 305 {
}
movieClip 306 {
}
movieClip 307 {
}
movieClip 308 {
}
movieClip 309 {
}
movieClip 311 {
}
movieClip 312 {
}
movieClip 314 {
}
movieClip 315 {
}
movieClip 316 {
}
movieClip 319 {
}
movieClip 329 {
}
movieClip 332 {
}
movieClip 341 {
}
movieClip 344 {
}
movieClip 355 {
}
movieClip 362 {
}
movieClip 372 {
}
movieClip 376 {
}
movieClip 387 {
}
movieClip 389 {
}
movieClip 391 {
}
movieClip 392 {
frame 66 {
stop();
}
}
movieClip 394 {
}
movieClip 395 {
frame 15 {
}
}
movieClip 399 {
}
movieClip 411 {
}
movieClip 415 {
}
movieClip 420 {
}
movieClip 424 {
}
movieClip 435 {
}
movieClip 449 {
frame 8 {
stop();
}
}
movieClip 456 {
}
movieClip 462 {
}
movieClip 471 {
}
movieClip 480 {
}
movieClip 482 {
}
frame 2453 {
stopAllSounds();
play();
}
frame 2454 {
play();
}
movieClip 515 {
}
movieClip 521 {
}
movieClip 523 {
}
movieClip 529 {
}
movieClip 538 {
}
movieClip 547 {
}
movieClip 556 {
}
movieClip 565 {
}
movieClip 570 {
}
movieClip 589 {
}
movieClip 597 {
}
movieClip 610 {
}
frame 3098 {
stopAllSounds();
gotoAndStop(3099);
}
movieClip 615 {
}
frame 3099 {
play();
}
movieClip 652 {
}
movieClip 656 {
}
movieClip 659 {
}
movieClip 669 {
}
movieClip 679 {
}
movieClip 686 {
}
movieClip 693 {
}
movieClip 697 {
}
movieClip 704 {
}
movieClip 709 {
}
frame 3534 {
play();
}
movieClip 712 {
}
movieClip 721 {
}
movieClip 730 {
}
movieClip 754 {
}
movieClip 756 {
}
movieClip 763 {
}
movieClip 780 {
}
movieClip 787 {
}
movieClip 788 {
}
movieClip 800 {
}
movieClip 807 {
}
movieClip 808 {
}
movieClip 809 {
}
movieClip 813 {
}
movieClip 814 {
}
movieClip 816 {
}
movieClip 817 {
}
movieClip 818 {
}
movieClip 823 {
}
movieClip 827 {
}
movieClip 835 {
}
movieClip 839 {
}
movieClip 840 {
}
movieClip 852 {
}
movieClip 861 {
}
movieClip 872 {
}
movieClip 877 {
}
movieClip 882 {
}
movieClip 887 {
}
movieClip 895 {
}
movieClip 898 {
}
movieClip 901 {
}
movieClip 908 {
frame 10 {
stop();
}
frame 10 {
stop();
}
frame 10 {
stop();
}
frame 10 {
stop();
}
}
movieClip 913 {
}
movieClip 915 {
}
movieClip 917 {
}
movieClip 919 {
}
movieClip 924 {
}
movieClip 928 {
}
movieClip 931 {
}
movieClip 933 {
}
movieClip 935 {
}
movieClip 951 {
}
movieClip 968 {
}
movieClip 998 {
}
movieClip 1000 {
}
movieClip 1003 {
}
movieClip 1005 {
}
movieClip 1013 {
}
movieClip 1015 {
}
movieClip 1019 {
}
movieClip 1022 {
}
movieClip 1023 {
}
movieClip 1024 {
}
movieClip 1033 {
}
movieClip 1039 {
}
movieClip 1043 {
}
movieClip 1048 {
}
movieClip 1063 {
}
movieClip 1064 {
}
movieClip 1065 {
}
movieClip 1072 {
}
frame 5509 {
}
frame 5509 {
}
movieClip 1080 {
}
movieClip 1082 {
frame 10 {
stop();
}
frame 10 {
stop();
}
frame 10 {
stop();
}
frame 10 {
stop();
}
}
movieClip 1084 {
}
movieClip 1087 {
}
movieClip 1089 {
}
movieClip 1094 {
}
movieClip 1099 {
}
movieClip 1100 {
}
movieClip 1188 {
}
frame 5940 {
stopAllSounds();
play();
}
movieClip 1198 {
}
movieClip 1203 {
}
movieClip 1236 {
}
movieClip 1241 {
}
movieClip 1243 {
}
frame 6856 {
stopAllSounds();
play();
}