Combined Code
button 4 {
on (release) {
getURL('http://miccool.deviantart.com/', '_blank');
}
}
movieClip 6 {
}
movieClip 8 {
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 {
startMovie();
}
}
movieClip 15 {
}
movieClip 16 {
}
button 22 {
on (release) {
play();
}
}
button 27 {
on (release) {
gotoAndPlay(1637);
}
}
frame 10 {
stop();
}
movieClip 29 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 37 {
}
movieClip 40 {
}
movieClip 43 {
}
movieClip 89 {
}
movieClip 92 {
}
movieClip 111 {
}
movieClip 113 {
}
movieClip 114 {
}
movieClip 119 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 140 {
}
movieClip 142 {
}
movieClip 146 {
}
movieClip 148 {
}
movieClip 149 {
frame 121 {
_root.play();
loadMovie('', this);
}
}
movieClip 151 {
}
movieClip 155 {
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 161 {
}
movieClip 162 {
}
movieClip 163 {
}
movieClip 166 {
}
movieClip 167 {
}
movieClip 170 {
}
movieClip 173 {
}
movieClip 181 {
}
frame 302 {
_quality = 'medium';
}
movieClip 197 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 205 {
}
movieClip 208 {
}
movieClip 212 {
}
movieClip 213 {
}
movieClip 217 {
}
button 223 {
on (press) {
if (_quality == 'HIGH') {
_quality = 'MEDIUM';
} else {
if (_quality == 'MEDIUM') {
_quality = 'LOW';
} else {
if (_quality == 'LOW') {
_quality = 'HIGH';
}
}
}
}
}
button 226 {
on (release) {
_root.gotoAndPlay(150);
}
}
button 227 {
on (release) {
_root.gotoAndPlay(850);
}
}
button 228 {
on (release) {
_root.gotoAndPlay(1230);
}
}
button 229 {
on (release) {
_root.gotoAndPlay(1452);
}
}
button 230 {
on (release) {
_root.gotoAndPlay(1637);
}
}
movieClip 231 {
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 = true;
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 242 {
}
movieClip 284 {
}
movieClip 294 {
}
movieClip 303 {
}
movieClip 312 {
}
movieClip 369 {
}
movieClip 372 {
}
movieClip 377 {
}
movieClip 388 {
}
movieClip 390 {
}
movieClip 394 {
}
movieClip 397 {
}
movieClip 402 {
}
movieClip 405 {
}
movieClip 410 {
}
movieClip 412 {
}
movieClip 414 {
}
movieClip 418 {
}
movieClip 426 {
}
movieClip 429 {
}
movieClip 433 {
}
movieClip 440 {
}
movieClip 444 {
}
movieClip 447 {
}
movieClip 448 {
}
movieClip 553 {
}
movieClip 663 {
}
movieClip 678 {
}
movieClip 686 {
}
movieClip 690 {
}
movieClip 692 {
}
movieClip 694 {
}
movieClip 696 {
}
movieClip 699 {
}
movieClip 705 {
}
movieClip 723 {
}
movieClip 752 {
}
movieClip 763 {
}
movieClip 764 {
}
movieClip 783 {
}
movieClip 804 {
}
movieClip 807 {
}
movieClip 813 {
}
movieClip 818 {
}
movieClip 825 {
}
movieClip 829 {
}
movieClip 833 {
}
movieClip 842 {
}
movieClip 844 {
}
movieClip 850 {
}
movieClip 858 {
}
movieClip 860 {
}
movieClip 962 {
}
movieClip 965 {
}
movieClip 967 {
}
movieClip 969 {
}
movieClip 971 {
}
movieClip 973 {
}
movieClip 975 {
}
movieClip 989 {
}
movieClip 1001 {
}
movieClip 1005 {
}
movieClip 1011 {
}
movieClip 1016 {
}
movieClip 1022 {
}
movieClip 1084 {
}
movieClip 1090 {
}
movieClip 1092 {
}
movieClip 1113 {
}
movieClip 1124 {
}
movieClip 1138 {
}
movieClip 1151 {
}
movieClip 1160 {
}
movieClip 1185 {
}
movieClip 1218 {
}
movieClip 1425 {
}
movieClip 1435 {
}
button 1446 {
on (release) {
gotoAndPlay(150);
}
}
button 1447 {
on (release) {
getURL('http://miccool.deviantart.com/', '_blank');
}
}
frame 2287 {
stop();
}