Combined Code
movieClip 3 {
}
// unknown tag 88 length 73
movieClip 10 {
}
movieClip 14 {
}
movieClip 20 {
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 37 {
startMovie();
}
}
frame 2 {
stop();
}
movieClip 25 {
}
button 27 {
on (release) {
this.gotoAndStop('menu');
}
}
movieClip 31 {
}
button 33 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/530820', '_blank');
}
}
movieClip 36 {
}
button 38 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/529574', '_blank');
}
}
movieClip 41 {
}
button 43 {
on (release) {
getURL('http://www.newgrounds.com/portal/view/530219', '_blank');
}
}
frame 3 {
stop();
}
movieClip 51 {
}
button 56 {
on (release) {
getURL('http://www.twitter.com/rubberninja', '_blank');
}
}
movieClip 63 {
}
button 67 {
on (release) {
getURL('http://www.youtube.com/rubberross', '_blank');
}
}
movieClip 73 {
}
button 77 {
on (release) {
getURL('http://www.facebook.com/pages/Gamer-Tonight/187702696490?ref=ts', '_blank');
}
}
movieClip 84 {
}
button 88 {
on (release) {
getURL('http://www.gamertonight.net', '_blank');
}
}
movieClip 94 {
}
button 95 {
on (release) {
this.gotoAndPlay('play');
}
}
movieClip 101 {
}
movieClip 106 {
}
movieClip 111 {
}
movieClip 114 {
}
movieClip 115 {
}
movieClip 121 {
}
movieClip 209 {
}
movieClip 211 {
}
movieClip 213 {
}
movieClip 215 {
}
movieClip 217 {
}
movieClip 219 {
}
movieClip 220 {
}
movieClip 221 {
}
movieClip 222 {
}
movieClip 223 {
}
movieClip 228 {
}
movieClip 232 {
}
movieClip 246 {
}
movieClip 248 {
}
movieClip 253 {
}
movieClip 257 {
}
movieClip 278 {
}
movieClip 285 {
}
movieClip 295 {
}
movieClip 297 {
}
movieClip 307 {
}
movieClip 308 {
}
movieClip 315 {
}
movieClip 387 {
}
movieClip 394 {
}
movieClip 440 {
}
movieClip 449 {
}
movieClip 458 {
}
movieClip 466 {
}
movieClip 473 {
}
movieClip 481 {
}
movieClip 489 {
}
movieClip 498 {
}
movieClip 500 {
}
movieClip 502 {
}
movieClip 678 {
}
movieClip 682 {
}
movieClip 686 {
}
movieClip 700 {
}
movieClip 703 {
}
movieClip 704 {
}
movieClip 706 {
}
movieClip 733 {
}
movieClip 744 {
}
movieClip 745 {
}
movieClip 759 {
}
movieClip 767 {
}
movieClip 770 {
}
button 771 {
on (release) {
this.gotoAndPlay('skip');
}
}
movieClip 1065 {
}
movieClip 1067 {
}
movieClip 1069 {
}
movieClip 1071 {
}
movieClip 1078 {
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;
}
this._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;
camControl();
this.onUnload = resetStage;
}
}
movieClip 1121 {
}
movieClip 1244 {
}
movieClip 1538 {
}
movieClip 1905 {
}
movieClip 1907 {
}
movieClip 1909 {
}
movieClip 1911 {
}
movieClip 1913 {
}
movieClip 1915 {
}
movieClip 1918 {
}
movieClip 1922 {
}
movieClip 1924 {
}
movieClip 1929 {
frame 1 {
function camControl() {
rp.x = _x;
rp.y = _y;
var v5 = camH * (_yscale * 0.01);
var v6 = camW * (_xscale * 0.01);
var v3 = sH / v5;
var v4 = sW / v6;
_x2 = (v6 / 2) * v4;
_y2 = (v5 / 2) * v3;
_xscale2 = v4 * 100;
_yscale2 = v3 * 100;
_rotation2 = -_rotation;
_parent.filters = this.filters;
_parent.transform.colorTransform = this.transform.colorTransform;
}
function reset() {
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
_parent._rotation = 0;
_parent._visible = true;
}
function set_x2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x += value - v2.x;
}
function get_x2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.x;
}
function set_y2(value) {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._y += value - v2.y;
}
function get_y2() {
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
return v2.y;
}
function get_xscale2() {
return _parent._xscale;
}
function set_xscale2(value) {
setProperty2('_xscale', value);
}
function get_yscale2() {
return _parent._yscale;
}
function set_yscale2(value) {
setProperty2('_yscale', value);
}
function get_rotation2() {
return parent.rotation;
}
function set_rotation2(value) {
setProperty2('_rotation', value);
}
function setProperty2(prop, n) {
var v3 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v3);
_parent[prop] = n;
var v2 = {'x': rp.x, 'y': rp.y};
_parent.localToGlobal(v2);
_parent._x -= v2.x - v3.x;
_parent._y -= v2.y - v3.y;
}
_visible = false;
addProperty('_x2', get_x2, set_x2);
addProperty('_y2', get_y2, set_y2);
addProperty('_xscale2', get_xscale2, set_xscale2);
addProperty('_yscale2', get_yscale2, set_yscale2);
addProperty('_rotation2', get_rotation2, set_rotation2);
var oldScaleMode = stage.scaleMode;
stage.scaleMode = 'exactFit';
var sW = Stage.width;
var sH = Stage.height;
stage.scaleMode = oldScaleMode;
var bounds_obj = this.getBounds(this);
var camH = Math.abs(bounds_obj.yMax - bounds_obj.yMin);
var camW = Math.abs(bounds_obj.xMax - bounds_obj.xMin);
var rp = {'x': this._x, 'y': this._y};
onEnterFrame = function () {
camControl();
};
this.onUnload = reset;
}
}
movieClip 1990 {
}
movieClip 2223 {
frame 125 {
stop();
}
}
movieClip 2325 {
frame 181 {
stop();
}
}
movieClip 2456 {
frame 71 {
stop();
}
}
movieClip 2460 {
frame 92 {
stop();
}
}
movieClip 2486 {
frame 97 {
stop();
}
}
movieClip 2560 {
frame 103 {
stop();
}
}
movieClip 2600 {
frame 99 {
stop();
}
}
movieClip 2603 {
}
movieClip 2606 {
}
movieClip 2609 {
}
movieClip 2617 {
frame 79 {
stop();
}
}
movieClip 2631 {
frame 127 {
stop();
}
}
movieClip 2653 {
frame 132 {
stop();
}
}
movieClip 2663 {
frame 83 {
stop();
}
}
movieClip 2673 {
}
movieClip 2676 {
}
movieClip 2680 {
}
movieClip 2682 {
}
movieClip 2685 {
}
movieClip 2687 {
}
movieClip 2688 {
frame 17 {
stop();
}
}
movieClip 2694 {
frame 131 {
stop();
}
}