Combined Code
movieClip 6 {
}
movieClip 9 {
}
movieClip 19 {
}
movieClip 26 {
}
movieClip 29 {
}
movieClip 31 {
}
movieClip 36 {
}
movieClip 40 {
}
movieClip 41 {
}
movieClip 44 {
}
movieClip 48 {
}
movieClip 51 {
}
movieClip 52 {
}
movieClip 54 {
}
movieClip 55 {
}
movieClip 56 {
}
movieClip 57 {
}
movieClip 59 {
}
movieClip 61 {
}
movieClip 63 {
}
movieClip 64 {
}
movieClip 65 {
}
movieClip 66 {
}
movieClip 68 {
frame 40 {
stop();
}
}
movieClip 80 {
}
button 82 {
on (press) {
_root.play();
}
}
movieClip 83 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var percentLoaded = _root.getBytesLoaded() / _root.getBytesTotal();
if (percentLoaded >= 1) {
if (firstframe) {
gotoAndStop(53);
} else {
play();
bar._x = initX;
}
loaded = true;
} else {
bar._x = initX + (percentLoaded - 1) * bar._width;
}
}
var dt = getTimer() - time;
timeAccum += dt;
while (timeAccum >= FRAME_TIME) {
var i = 0;
while (i < timeClips.length) {
if (timeClips[i]._currentframe < timeClips[i]._totalframes) {
timeClips[i].nextFrame();
} else {
timeClips[i].gotoAndStop(1);
}
++i;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += dt;
firstframe = false;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
var firstframe = true;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
++i;
}
}
frame 53 {
}
}
movieClip 289 {
}
frame 5262 {
stop();
}
button 885 {
on (release) {
gotoAndPlay(156);
}
}
button 890 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/355595', '_blank');
}
}
button 894 {
on (release) {
getURL('http://www.newgrounds.com/collection/christmas2006.html', '_blank');
}
}
frame 5263 {
gotoAndStop(5262);
}