Combined Code
movieClip 2 snowflake {
}
frame 1 {
stopAllSounds();
}
frame 1 {
stop();
}
movieClip 5 {
}
movieClip 8 {
}
instance of movieClip 8 {
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
percent = int((loaded / total) * 100);
percen101 = '' + percent + '%';
gotoAndStop(percent);
if (loaded == total) {
_root.gotoAndPlay(2);
}
}
}
movieClip 10 {
}
movieClip 11 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this.screen._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
this.onUnload = resetStage;
}
}
instance vcam of movieClip 11 {
onClipEvent (enterFrame) {
_y = _y + (_root.screen_._y - _y) / 1;
_x = _x + (_root.screen_._x - _x) / 1;
this.score = 0;
}
}
frame 19 {
stop();
}
movieClip 16 {
}
movieClip 19 {
}
movieClip 30 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 41 {
}
movieClip 45 {
}
movieClip 46 {
}
movieClip 49 {
}
movieClip 53 {
}
movieClip 56 {
}
movieClip 57 {
}
movieClip 59 {
}
movieClip 60 {
}
movieClip 61 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 69 {
}
movieClip 70 {
}
movieClip 71 {
}
button 74 {
on (release) {
getURL('http://www.newgrounds.com', '_blank');
}
}
movieClip 76 {
frame 40 {
stop();
}
}
movieClip 86 {
}
button 87 {
on (release) {
_root.play();
}
}
movieClip 88 {
frame 1 {
function onEnterFrame() {
if (!loaded) {
var v3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (v3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + (v3 - 1) * bar._width;
}
}
var v4 = getTimer() - time;
timeAccum += v4;
while (timeAccum >= FRAME_TIME) {
var v2 = 0;
while (v2 < timeClips.length) {
if (timeClips[v2]._currentframe < timeClips[v2]._totalframes) {
timeClips[v2].nextFrame();
} else {
timeClips[v2].gotoAndStop(1);
}
++v2;
}
if (loaded && _currentframe < _totalframes) {
nextFrame();
}
timeAccum -= FRAME_TIME;
}
time += v4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.33333333333334;
var timeAccum = 0;
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 51 {
}
}
movieClip 94 {
}
movieClip 105 {
}
movieClip 108 {
}
movieClip 114 {
}
button 116 {
on (release) {
getURL('http://www.newgrounds.com/collection/christmas2008.html', '_parent');
}
}
movieClip 118 {
frame 152 {
stop();
}
}
frame 20 {
stopAllSounds();
}
frame 20 {
width = Stage.width * 2.5;
snowStop = false;
i = 0;
while (i < 200) {
duplicateMovieClip(snowflake, 'sf' + i, 10 + i);
_root['sf' + i]._x = random(Stage.width);
_root['sf' + i]._y = random(Stage.height);
_root['sf' + i].speed = random(5) + random(5) + 2;
_root['sf' + i]._alpha = random(80) + 20;
++i;
}
onEnterFrame = function () {
i = 0;
while (i < 200) {
_root['sf' + i]._y += _root['sf' + i].speed;
_root['sf' + i]._x += _root['sf' + i].speed / 3;
if (snowStop == true) {
_root['sf' + i].removeMovieClip();
} else {
if (_root['sf' + i]._x > Stage.width) {
_root['sf' + i]._x = random(width) - Stage.width / 2;
_root['sf' + i]._y = 0;
}
if (_root['sf' + i]._y > Stage.height) {
_root['sf' + i]._y = 0;
_root['sf' + i]._x = random(width) - Stage.width / 2;
}
}
++i;
}
};
}
movieClip 119 {
frame 36 {
stop();
}
}
movieClip 122 {
frame 41 {
stop();
}
}
movieClip 124 {
frame 44 {
stop();
}
}
movieClip 125 {
frame 48 {
stop();
}
}
movieClip 126 {
frame 54 {
stop();
}
}
movieClip 127 {
frame 59 {
stop();
}
}
movieClip 166 {
}
movieClip 201 {
frame 22 {
stop();
}
}
movieClip 209 {
}
movieClip 211 {
}
movieClip 259 {
frame 250 {
stop();
}
}
movieClip 280 {
}
movieClip 298 {
}
movieClip 299 {
}
movieClip 301 {
}
movieClip 305 {
}
movieClip 308 {
}
movieClip 309 {
}
movieClip 311 {
}
movieClip 325 {
}
movieClip 326 {
}
movieClip 342 {
}
// unknown tag 88 length 75
movieClip 354 {
}
frame 1234 {
width = Stage.width * 2.5;
snowStop = false;
i = 0;
while (i < 200) {
duplicateMovieClip(snowflake, 'sf' + i, 10 + i);
_root['sf' + i]._x = random(Stage.width);
_root['sf' + i]._y = random(Stage.height);
_root['sf' + i].speed = random(5) + random(5) + 2;
_root['sf' + i]._alpha = random(80) + 20;
++i;
}
onEnterFrame = function () {
i = 0;
while (i < 200) {
_root['sf' + i]._y += _root['sf' + i].speed;
_root['sf' + i]._x += _root['sf' + i].speed / 3;
if (snowStop == true) {
_root['sf' + i].removeMovieClip();
} else {
if (_root['sf' + i]._x > Stage.width) {
_root['sf' + i]._x = random(width) - Stage.width / 2;
_root['sf' + i]._y = 0;
}
if (_root['sf' + i]._y > Stage.height) {
_root['sf' + i]._y = 0;
_root['sf' + i]._x = random(width) - Stage.width / 2;
}
}
++i;
}
};
}
movieClip 368 {
}
movieClip 377 {
}
movieClip 380 {
}
frame 1375 {
snowStop = true;
}
movieClip 393 {
}
movieClip 396 {
}
movieClip 399 {
}
frame 1815 {
width = Stage.width * 2.5;
snowStop = false;
i = 0;
while (i < 200) {
duplicateMovieClip(snowflake, 'sf' + i, 10 + i);
_root['sf' + i]._x = random(Stage.width);
_root['sf' + i]._y = random(Stage.height);
_root['sf' + i].speed = random(5) + random(5) + 2;
_root['sf' + i]._alpha = random(80) + 20;
++i;
}
onEnterFrame = function () {
i = 0;
while (i < 200) {
_root['sf' + i]._y += _root['sf' + i].speed;
_root['sf' + i]._x += _root['sf' + i].speed / 3;
if (snowStop == true) {
_root['sf' + i].removeMovieClip();
} else {
if (_root['sf' + i]._x > Stage.width) {
_root['sf' + i]._x = random(width) - Stage.width / 2;
_root['sf' + i]._y = 0;
}
if (_root['sf' + i]._y > Stage.height) {
_root['sf' + i]._y = 0;
_root['sf' + i]._x = random(width) - Stage.width / 2;
}
}
++i;
}
};
}
movieClip 492 {
}
movieClip 553 {
}
movieClip 556 {
}
movieClip 657 {
}
movieClip 672 {
}
movieClip 708 {
}
movieClip 711 {
}
movieClip 715 {
}
movieClip 736 {
}
movieClip 746 {
}
movieClip 770 {
}
movieClip 776 {
}
movieClip 799 {
}
movieClip 801 {
}
movieClip 808 {
}
movieClip 809 {
}
movieClip 812 {
}
movieClip 829 {
}
movieClip 831 {
}
movieClip 835 {
}
movieClip 837 {
}
movieClip 839 {
}
movieClip 850 {
}
movieClip 851 {
}
movieClip 861 {
}
movieClip 863 {
}
movieClip 872 {
}
movieClip 916 {
}
movieClip 925 {
}
movieClip 937 {
}
movieClip 952 {
}
movieClip 959 {
}
movieClip 960 {
}
movieClip 966 {
}
movieClip 995 {
}
movieClip 1022 {
}
movieClip 1029 {
}
movieClip 1032 {
}
movieClip 1035 {
}
movieClip 1036 {
}
movieClip 1037 {
}
movieClip 1042 {
}
movieClip 1111 {
}
movieClip 1201 {
}
movieClip 1204 {
}
movieClip 1219 {
}
movieClip 1268 {
}
movieClip 1338 {
}
movieClip 1340 {
}
movieClip 1459 {
}
movieClip 1540 {
}
movieClip 1564 {
}
movieClip 1594 {
}
movieClip 1596 {
}
movieClip 1632 {
}
movieClip 1646 {
}
movieClip 1689 {
}
movieClip 1704 {
}
movieClip 1706 {
}
movieClip 1770 {
}
movieClip 1772 {
}
movieClip 1783 {
}
movieClip 1788 {
}
movieClip 1890 {
}
movieClip 1893 {
}
movieClip 1947 {
}
movieClip 1955 {
}
movieClip 1990 {
}
movieClip 1992 {
}
movieClip 1994 {
}
movieClip 1995 {
}
movieClip 2001 {
}
movieClip 2003 {
}
movieClip 2013 {
}
movieClip 2019 {
}
movieClip 2075 {
}
movieClip 2122 {
}
movieClip 2124 {
}
movieClip 2133 {
}
movieClip 2245 {
}
movieClip 2495 {
}
movieClip 2498 {
}
movieClip 2500 {
}
movieClip 2525 {
}
movieClip 2561 {
}
movieClip 2562 {
}
movieClip 2564 {
}
movieClip 2571 {
frame 92 {
stop();
}
}
movieClip 2576 {
}
movieClip 2617 {
}
movieClip 2625 {
}
movieClip 2626 {
frame 1 {
stop();
}
}
movieClip 2627 {
}
frame 7228 {
snowStop = true;
}
movieClip 2641 {
}
movieClip 2644 {
}
movieClip 2668 {
}
movieClip 2683 {
}
movieClip 2728 {
}
// unknown tag 88 length 52
movieClip 2741 {
}
movieClip 2742 {
}
button 2743 {
on (release) {
this.gotoAndPlay('easter egg 1');
}
}
button 2768 {
on (release) {
this.gotoAndPlay('easter egg 2');
}
}
movieClip 2769 {
}
button 2772 {
on (release) {
stopAllSounds();
this.gotoAndPlay('beginning');
}
}
frame 9158 {
stop();
}
frame 9159 {
stop();
}
button 2775 {
on (release) {
this.gotoAndPlay('credits');
}
}
frame 9160 {
stop();
}