Combined Code
frame 1 {
var amountLoaded = _root.getBytesLoaded() / _root.getBytesTotal();
preloader._width = amountLoaded * 784;
loadText.text = Math.round(amountLoaded * 100) + '%';
}
// unknown tag 88 length 67
movieClip 6 {
}
movieClip 8 {
}
frame 2 {
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
gotoAndPlay(3);
} else {
gotoAndPlay(1);
}
}
// unknown tag 88 length 126
frame 25 {
stop();
}
button 33 {
on (release) {
gotoAndPlay(46);
}
}
button 34 {
on (release) {
gotoAndPlay(26);
}
}
button 35 {
on (press) {
getURL('http://www.xtended.ucoz.com/', '');
}
}
frame 45 {
stop();
}
button 63 {
on (press) {
_quality = 'HIGH';
}
}
button 64 {
on (press) {
_quality = 'MEDIUM';
}
}
button 65 {
on (press) {
_quality = 'LOW';
}
}
button 66 {
on (release) {
gotoAndPlay(25);
}
}
movieClip 71 {
}
// unknown tag 88 length 178
movieClip 79 {
}
movieClip 81 {
}
movieClip 84 {
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 145 {
}
movieClip 315 {
}
movieClip 355 {
}
movieClip 397 {
}
movieClip 514 {
}
movieClip 516 {
}
movieClip 746 {
}
movieClip 748 {
}
movieClip 893 {
}
movieClip 895 {
}
movieClip 907 {
}
movieClip 987 {
}
movieClip 1006 {
}
movieClip 1160 {
}
movieClip 1187 {
}
movieClip 1189 {
}
movieClip 1191 {
}
// unknown tag 88 length 79
movieClip 1246 {
}
movieClip 1278 {
}
movieClip 1281 {
}
movieClip 1282 {
frame 1 {
function getPosNow() {
var v1 = {'x': 0, 'y': 0};
var v2 = {'x': 0, 'y': 0};
localToGlobal(v1);
lineMC.localToGlobal(v2);
return {'p1': v1, 'p2': v2};
}
if (rgb == null) {
rgb = 16777215;
}
if (alpha == null) {
alpha = 100;
}
createEmptyMovieClip('shadowMC', 0);
if (shadowMC.shaQueue == null) {
shadowMC.shaQueue = new Array();
shadowMC.queueLen = Math.abs(int(queueLen));
if (shadowMC.queueLen == 0) {
shadowMC.queueLen = 10;
}
var p = getPosNow();
var i = 0;
while (i < shadowMC.queueLen) {
shadowMC.shaQueue.push(p);
++i;
}
}
onEnterFrameFunc = function () {
shadowMC.pushPos();
shadowMC.render();
};
shadowMC.pushPos = function () {
this.shaQueue.shift();
this.shaQueue.push(getPosNow());
};
shadowMC.render = function () {
this.clear();
var v7 = alpha;
var v15 = v7 / this.queueLen;
var v5 = [];
for (var v3 in this.shaQueue) {
var v2 = this.shaQueue[v3].p1;
var v4 = this.shaQueue[v3].p2;
var v10 = {'x': v2.x, 'y': v2.y};
var v8 = {'x': v4.x, 'y': v4.y};
this.globalToLocal(v10);
this.globalToLocal(v8);
v5[v3] = {'p1': v10, 'p2': v8};
}
v3 = v5.length - 1;
while (v3 > 0) {
v2 = v5[v3].p1;
v4 = v5[v3].p2;
var v6 = v5[v3 - 1].p2;
var v9 = v5[v3 - 1].p1;
this.beginFill(rgb, v7);
this.moveTo(v2.x, v2.y);
this.lineTo(v4.x, v4.y);
this.lineTo(v6.x, v6.y);
this.endFill();
this.beginFill(rgb, v7);
this.moveTo(v6.x, v6.y);
this.lineTo(v9.x, v9.y);
this.lineTo(v2.x, v2.y);
this.endFill();
v7 -= v15;
--v3;
}
};
}
}
movieClip 1283 {
frame 1 {
function onEnterFrame() {
sword.onEnterFrameFunc();
}
sword.alpha = 50;
sword.rgb = 564564;
sword.lineMC._visible = false;
sword.queueLen = 3;
}
}
movieClip 1291 {
}
movieClip 1292 {
frame 1 {
function getPosNow() {
var v1 = {'x': 0, 'y': 0};
var v2 = {'x': 0, 'y': 0};
localToGlobal(v1);
lineMC.localToGlobal(v2);
return {'p1': v1, 'p2': v2};
}
if (rgb == null) {
rgb = 16777215;
}
if (alpha == null) {
alpha = 100;
}
createEmptyMovieClip('shadowMC', 0);
if (shadowMC.shaQueue == null) {
shadowMC.shaQueue = new Array();
shadowMC.queueLen = Math.abs(int(queueLen));
if (shadowMC.queueLen == 0) {
shadowMC.queueLen = 10;
}
var p = getPosNow();
var i = 0;
while (i < shadowMC.queueLen) {
shadowMC.shaQueue.push(p);
++i;
}
}
onEnterFrameFunc = function () {
shadowMC.pushPos();
shadowMC.render();
};
shadowMC.pushPos = function () {
this.shaQueue.shift();
this.shaQueue.push(getPosNow());
};
shadowMC.render = function () {
this.clear();
var v7 = alpha;
var v15 = v7 / this.queueLen;
var v5 = [];
for (var v3 in this.shaQueue) {
var v2 = this.shaQueue[v3].p1;
var v4 = this.shaQueue[v3].p2;
var v10 = {'x': v2.x, 'y': v2.y};
var v8 = {'x': v4.x, 'y': v4.y};
this.globalToLocal(v10);
this.globalToLocal(v8);
v5[v3] = {'p1': v10, 'p2': v8};
}
v3 = v5.length - 1;
while (v3 > 0) {
v2 = v5[v3].p1;
v4 = v5[v3].p2;
var v6 = v5[v3 - 1].p2;
var v9 = v5[v3 - 1].p1;
this.beginFill(rgb, v7);
this.moveTo(v2.x, v2.y);
this.lineTo(v4.x, v4.y);
this.lineTo(v6.x, v6.y);
this.endFill();
this.beginFill(rgb, v7);
this.moveTo(v6.x, v6.y);
this.lineTo(v9.x, v9.y);
this.lineTo(v2.x, v2.y);
this.endFill();
v7 -= v15;
--v3;
}
};
}
}
movieClip 1293 {
frame 1 {
function onEnterFrame() {
sword.onEnterFrameFunc();
}
sword.alpha = 60;
sword.rgb = 16777215;
sword.lineMC._visible = false;
sword.queueLen = 3;
}
}
movieClip 1376 {
}
movieClip 1706 {
}
movieClip 1708 {
}
// unknown tag 88 length 197
movieClip 2197 {
}
movieClip 2206 {
}
movieClip 2625 {
}
movieClip 2627 {
}
movieClip 2675 {
}
movieClip 2677 {
}
movieClip 2814 {
}
movieClip 2957 {
}
movieClip 2973 {
}
movieClip 2980 {
}
movieClip 2984 {
}
movieClip 3006 {
}
// unknown tag 88 length 134