Combined Code
frame 1 {
stop();
this.onEnterFrame = function () {
var v2 = (this.getBytesLoaded() / this.getBytesTotal()) * 100;
loader._xscale = v2;
if (this.getBytesLoaded() == this.getBytesTotal()) {
this.gotoAndPlay(2);
delete this.onEnterFrame;
}
};
}
movieClip 4 {
}
// unknown tag 88 length 78
movieClip 12 {
}
// unknown tag 88 length 65
frame 2 {
function Empty_Check() {
if (Top == 1 && Bottom == 1) {
Top = Math.floor(Math.random() * (Top_Var.length - 1 + 1)) + 1;
Bottom = Math.floor(Math.random() * (Bottom_Var.length - 1 + 1)) + 1;
Empty_Check();
} else {
Tops();
Bottoms();
}
}
function Tops() {
Backs.gotoAndStop(Top);
Top_Status.gotoAndStop(Top);
}
function Bottoms() {
Fronts.gotoAndStop(Bottom);
Bottom_Status.gotoAndStop(Bottom);
}
var Top = 0;
var Bottom = 0;
var B_Fly = 0;
var T_Fly = 0;
BFly.gotoAndStop(1);
TFly.gotoAndStop(1);
B_Butts.gotoAndStop(1);
T_Butts.gotoAndStop(1);
B_Mask.gotoAndStop(1);
T_Mask.gotoAndStop(1);
var Bottom_Var = new Array(B_Butts.Bottom_None, B_Butts.B2, B_Butts.B3, B_Butts.B4, B_Butts.B5, B_Butts.B6, B_Butts.B7, B_Butts.B8, B_Butts.B9, B_Butts.B10, B_Butts.B11, B_Butts.B12, B_Butts.B13, B_Butts.B14, B_Butts.B15, B_Butts.B16, B_Butts.B17, B_Butts.B18, B_Butts.B19, B_Butts.B20, B_Butts.B21, B_Butts.B22, B_Butts.B23, B_Butts.B24, B_Butts.B25, B_Butts.B26, B_Butts.B27, B_Butts.B28, B_Butts.B29, B_Butts.B30, B_Butts.B31, B_Butts.B32, B_Butts.B33);
var Top_Var = new Array(T_Butts.Top_None, T_Butts.T2, T_Butts.T3, T_Butts.T4, T_Butts.T5, T_Butts.T6, T_Butts.T7, T_Butts.T8, T_Butts.T9, T_Butts.T10, T_Butts.T11, T_Butts.T12, T_Butts.T13, T_Butts.T14, T_Butts.T15, T_Butts.T16, T_Butts.T17, T_Butts.T18, T_Butts.T19, T_Butts.T20, T_Butts.T21, T_Butts.T22, T_Butts.T23, T_Butts.T24, T_Butts.T25, T_Butts.T26, T_Butts.T27, T_Butts.T28, T_Butts.T29);
var B_T_initPos = Bottom_Status._y;
var B_B_initPos = B_Butts._y;
var T_T_initPos = Top_Status._y;
var T_B_initPos = T_Butts._y;
var db = 0;
var bTHeight = Bottom_Status._height;
var bMoveT = (bTHeight - 364) / 344;
var bBHeight = B_Butts._height;
var bMoveB = (bBHeight - 364) / 350;
var tTHeight = Top_Status._height;
var tMoveT = (tTHeight - 364) / 344;
var tBHeight = T_Butts._height;
var tMoveB = (tBHeight - 364) / 350;
onEnterFrame = function () {
if (Top == 0 && Bottom == 0) {
Top = Math.floor(Math.random() * (Top_Var.length - 1 + 1)) + 1;
Bottom = Math.floor(Math.random() * (Bottom_Var.length - 1 + 1)) + 1;
Empty_Check();
} else {
delete this.onEnterFrame;
}
};
B_Slider.onPress = function () {
startDrag(this, false, 871, 50.3, 871, 394.3);
this.onMouseMove = function () {
db = Math.abs(50.3 - this._y);
Bottom_Status._y = Math.round(db * -1 * bMoveT + B_T_initPos);
B_Butts._y = Math.round(db * -1 * bMoveB + B_B_initPos);
};
};
B_Slider.onMouseUp = function () {
stopDrag();
delete this.onMouseMove;
};
T_Slider.onPress = function () {
startDrag(this, false, 734, 50.3, 734, 394.3);
this.onMouseMove = function () {
db = Math.abs(50.3 - this._y);
Top_Status._y = Math.round(db * -1 * tMoveT + T_T_initPos);
T_Butts._y = Math.round(db * -1 * tMoveB + T_B_initPos);
};
};
T_Slider.onMouseUp = function () {
stopDrag();
delete this.onMouseMove;
};
Bottom_Butt.onRelease = function () {
if (B_Fly == 0) {
BFly.gotoAndPlay(2);
B_Mask.gotoAndPlay(2);
B_Fly = 1;
} else {
B_Fly = 0;
BFly.gotoAndPlay(9);
B_Mask.gotoAndPlay(9);
}
};
BFly.B_Rand_Togg.Bottom_Toggle.onRelease = function () {
if (B_Fly == 0) {
BFly.gotoAndPlay(2);
B_Mask.gotoAndPlay(2);
B_Fly = 1;
} else {
B_Fly = 0;
BFly.gotoAndPlay(9);
B_Mask.gotoAndPlay(9);
}
};
var mC = 0;
while (mC < Bottom_Var.length) {
var BottomClip = Bottom_Var[mC];
BottomClip.onRelease = function () {
var v2 = 0;
while (v2 < Bottom_Var.length) {
if (Bottom_Var[v2] == this) {
Bottom = v2 + 1;
Bottoms();
}
++v2;
}
};
++mC;
}
BFly.B_Rand_Togg.Bottom_Random.onRelease = function () {
Bottom = Math.floor(Math.random() * (Bottom_Var.length - 1 + 1)) + 1;
Bottoms();
};
Top_Butt.onRelease = function () {
if (T_Fly == 0) {
TFly.gotoAndPlay(2);
T_Mask.gotoAndPlay(2);
T_Fly = 1;
} else {
T_Fly = 0;
TFly.gotoAndPlay(9);
T_Mask.gotoAndPlay(9);
}
};
TFly.T_Rand_Togg.Top_Toggle.onRelease = function () {
if (T_Fly == 0) {
TFly.gotoAndPlay(2);
T_Mask.gotoAndPlay(2);
T_Fly = 1;
} else {
T_Fly = 0;
TFly.gotoAndPlay(9);
T_Mask.gotoAndPlay(9);
}
};
var mC = 0;
while (mC < Top_Var.length) {
var TopClip = Top_Var[mC];
TopClip.onRelease = function () {
var v2 = 0;
while (v2 < Top_Var.length) {
if (Top_Var[v2] == this) {
Top = v2 + 1;
Tops();
}
++v2;
}
};
++mC;
}
TFly.T_Rand_Togg.Top_Random.onRelease = function () {
Top = Math.floor(Math.random() * (Top_Var.length - 1 + 1)) + 1;
Tops();
};
Random_All.onRelease = function () {
Top = Math.floor(Math.random() * (Top_Var.length - 1 + 1)) + 1;
Bottom = Math.floor(Math.random() * (Bottom_Var.length - 1 + 1)) + 1;
Empty_Check();
};
stop();
}
movieClip 75 {
}
movieClip 144 {
}
// unknown tag 88 length 70
movieClip 148 {
}
movieClip 151 {
}
movieClip 154 {
}
movieClip 158 {
}
movieClip 160 {
}
movieClip 162 {
}
movieClip 163 {
}
movieClip 165 {
}
movieClip 166 {
frame 8 {
stop();
}
frame 16 {
this.gotoAndStop(1);
}
}
movieClip 167 {
}
movieClip 168 {
frame 8 {
stop();
}
frame 17 {
this.gotoAndStop(1);
}
}
movieClip 170 {
}
movieClip 171 {
frame 8 {
stop();
}
frame 16 {
this.gotoAndStop(1);
}
}
movieClip 238 {
}
movieClip 239 {
}
movieClip 241 {
}
movieClip 293 {
}
movieClip 294 {
}