Combined Code
frame 1 {
tentacle1.enabled = false;
tentacle1._visible = false;
showoptions1._alpha = 50;
showopyions1._enabled = false;
hideoptions1.onRelease = function () {
new mx.transitions.Tween(menuholder, '_x', undefined, menuholder._x, -60, 7);
hideoptions1._alpha = 50;
hideoptions1.enabled = false;
showoptions1._alpha = 100;
showoptions1.enabled = true;
new mx.transitions.Tween(menuholder, '_alpha', undefined, menuholder._alpha, 0, 7);
menuholder.removesuit.enabled = false;
menuholder.removesuit2.enabled = false;
menuholder.removesuit3.enabled = false;
menuholder.removesuit4.enabled = false;
menuholder.removesuit5.enabled = false;
};
showoptions1.onRelease = function () {
new mx.transitions.Tween(menuholder, '_x', undefined, menuholder._x, 53.4, 7);
showoptions1.enabled = false;
showoptions1._alpha = 50;
hideoptions1.enabled = true;
hideoptions1._alpha = 100;
new mx.transitions.Tween(menuholder, '_alpha', undefined, menuholder._alpha, 100, 7);
menuholder.removesuit.enabled = true;
menuholder.removesuit2.enabled = true;
menuholder.removesuit3.enabled = true;
menuholder.removesuit4.enabled = true;
menuholder.removesuit5.enabled = true;
};
menuholder.removesuit.onRelease = function () {
if (Fiox.SuitChest1._visible) {
Fiox.SuitChest1._visible = false;
} else {
if (!Fiox.SuitChest1._visible) {
Fiox.SuitChest1._visible = true;
}
}
};
menuholder.removesuit2.onRelease = function () {
if (Fiox.SuitPants1._visible || Fiox.suitleg1._visible || Fiox.suitleg2._visible) {
Fiox.SuitPants1._visible = false;
Fiox.suitleg1._visible = false;
Fiox.suitleg2._visible = false;
tentacle1._visible = true;
tentacle1.enabled = true;
} else {
if (!Fiox.SuitPants1._visible || !Fiox.suitleg1._visible || !Fiox.suitleg2._visible) {
Fiox.SuitPants1._visible = true;
Fiox.suitleg1._visible = true;
Fiox.suitleg2._visible = true;
tentacle1.enabled = false;
tentacle1._visible = false;
}
}
};
menuholder.removesuit3.onRelease = function () {
if (Fiox.EyeGlass._visible) {
Fiox.EyeGlass._visible = false;
} else {
if (!Fiox.EyeGlass._visible) {
Fiox.EyeGlass._visible = true;
}
}
};
menuholder.removesuit4.onRelease = function () {
if (Fiox.Boots._visible || Fiox.Boots2._visible) {
Fiox.Boots._visible = false;
Fiox.Boots2._visible = false;
} else {
if (!Fiox.Boots._visible || Fiox.Boots2._visible) {
Fiox.Boots._visible = true;
Fiox.Boots2._visible = true;
}
}
};
menuholder.removesuit5.onRelease = function () {
if (Fiox.SuitArms._visible || Fiox.SuitArms2._visible) {
Fiox.SuitArms._visible = false;
Fiox.SuitArms2._visible = false;
} else {
if (!Fiox.SuitArms._visible || !Fiox.SuitArms2._visible) {
Fiox.SuitArms._visible = true;
Fiox.SuitArms2._visible = true;
}
}
};
}
movieClip 2 {
}
movieClip 4 {
}
movieClip 6 {
}
movieClip 8 {
}
movieClip 10 {
}
movieClip 12 {
}
movieClip 14 {
}
movieClip 16 {
}
movieClip 18 {
}
movieClip 20 {
}
movieClip 22 {
}
movieClip 24 {
}
movieClip 26 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 32 {
}
movieClip 34 {
}
movieClip 36 {
}
movieClip 38 {
}
movieClip 40 {
}
movieClip 42 {
}
movieClip 44 {
}
movieClip 46 {
}
movieClip 48 {
}
movieClip 50 {
}
movieClip 52 {
}
movieClip 54 {
}
movieClip 56 {
}
movieClip 58 {
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 70 {
}
movieClip 72 {
}
movieClip 74 {
}
movieClip 77 {
}
movieClip 78 {
}
movieClip 87 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 95 {
}
movieClip 97 {
}
movieClip 98 {
frame 155 {
gotoAndPlay(1);
}
}
movieClip 113 {
}
// unknown tag 88 length 67
movieClip 147 {
frame 34 {
gotoAndPlay(24);
}
}
// unknown tag 88 length 87
movieClip 186 {
frame 10 {
gotoAndPlay(3);
}
}
movieClip 199 {
frame 10 {
gotoAndPlay(3);
}
}
movieClip 209 {
frame 10 {
gotoAndPlay(3);
}
}
movieClip 221 {
frame 10 {
gotoAndPlay(3);
}
}
movieClip 232 {
frame 10 {
gotoAndPlay(3);
}
}
movieClip 236 {
}
movieClip 238 {
}
movieClip 239 __Packages.mx.transitions.OnEnterFrameBeacon {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.OnEnterFrameBeacon) {
var v1 = function () {};
mx.transitions.OnEnterFrameBeacon = v1;
var v2 = v1.prototype;
v1.init = function () {
var v4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(v4);
var v3 = _root.createEmptyMovieClip('__OnEnterFrameBeacon', 9876);
v3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage('onEnterFrame');
};
}
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.OnEnterFrameBeacon.prototype, null, 1);
}
#endinitclip
}
movieClip 240 __Packages.mx.transitions.BroadcasterMX {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.BroadcasterMX) {
var v1 = function () {};
mx.transitions.BroadcasterMX = v1;
var v2 = v1.prototype;
v1.initialize = function (o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
};
v2.addListener = function (o) {
this.removeListener(o);
if (this.broadcastMessage == undefined) {
this.broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return this._listeners.push(o);
};
v2.removeListener = function (o) {
var v2 = this._listeners;
var v3 = v2.length;
while (v3--) {
if (v2[v3] == o) {
v2.splice(v3, 1);
if (!v2.length) {
this.broadcastMessage = undefined;
}
return true;
}
}
return false;
};
v2.broadcastMessage = function () {
var v5 = String(arguments.shift());
var v4 = this._listeners.concat();
var v6 = v4.length;
var v3 = 0;
while (v3 < v6) {
v4[v3][v5].apply(v4[v3], arguments);
++v3;
}
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.BroadcasterMX.prototype, null, 1);
}
#endinitclip
}
movieClip 241 __Packages.mx.transitions.Tween {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.Tween) {
var v1 = function (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return undefined;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
this.__set__position(begin);
this.__set__duration(duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.__set__finish(finish);
this._listeners = [];
this.addListener(this);
this.start();
};
mx.transitions.Tween = v1;
var v2 = v1.prototype;
v2.__set__time = function (t) {
this.prevTime = this._time;
if (t > this.__get__duration()) {
if (this.looping) {
this.rewind(t - this._duration);
this.update();
this.broadcastMessage('onMotionLooped', this);
} else {
if (this.useSeconds) {
this._time = this._duration;
this.update();
}
this.stop();
this.broadcastMessage('onMotionFinished', this);
}
} else {
if (t < 0) {
this.rewind();
this.update();
} else {
this._time = t;
this.update();
}
}
return this.__get__time();
};
v2.__get__time = function () {
return this._time;
};
v2.__set__duration = function (d) {
this._duration = (d == null || d <= 0) ? _global.Infinity : d;
return this.__get__duration();
};
v2.__get__duration = function () {
return this._duration;
};
v2.__set__FPS = function (fps) {
var v2 = this.isPlaying;
this.stopEnterFrame();
this._fps = fps;
if (v2) {
this.startEnterFrame();
}
return this.__get__FPS();
};
v2.__get__FPS = function () {
return this._fps;
};
v2.__set__position = function (p) {
this.setPosition(p);
return this.__get__position();
};
v2.setPosition = function (p) {
this.prevPos = this._pos;
this._pos = p;
this.obj[this.prop] = this._pos;
this.broadcastMessage('onMotionChanged', this, this._pos);
updateAfterEvent();
};
v2.__get__position = function () {
return this.getPosition();
};
v2.getPosition = function (t) {
if (t == undefined) {
t = this._time;
}
return this.func(t, this.begin, this.change, this._duration);
};
v2.__set__finish = function (f) {
this.change = f - this.begin;
return this.__get__finish();
};
v2.__get__finish = function () {
return this.begin + this.change;
};
v2.continueTo = function (finish, duration) {
this.begin = this.position;
this.__set__finish(finish);
if (duration != undefined) {
this.__set__duration(duration);
}
this.start();
};
v2.yoyo = function () {
this.continueTo(this.begin, this.__get__time());
};
v2.startEnterFrame = function () {
if (this._fps == undefined) {
_global.MovieClip.addListener(this);
} else {
this._intervalID = setInterval(this, 'onEnterFrame', 1000 / this._fps);
}
this.isPlaying = true;
};
v2.stopEnterFrame = function () {
if (this._fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(this._intervalID);
}
this.isPlaying = false;
};
v2.start = function () {
this.rewind();
this.startEnterFrame();
this.broadcastMessage('onMotionStarted', this);
};
v2.stop = function () {
this.stopEnterFrame();
this.broadcastMessage('onMotionStopped', this);
};
v2.resume = function () {
this.fixTime();
this.startEnterFrame();
this.broadcastMessage('onMotionResumed', this);
};
v2.rewind = function (t) {
this._time = (t == undefined) ? 0 : t;
this.fixTime();
this.update();
};
v2.fforward = function () {
this.__set__time(this._duration);
this.fixTime();
};
v2.nextFrame = function () {
if (this.useSeconds) {
this.__set__time((getTimer() - this._startTime) / 1000);
} else {
this.__set__time(this._time + 1);
}
};
v2.onEnterFrame = function () {
this.nextFrame();
};
v2.prevFrame = function () {
if (!this.useSeconds) {
this.__set__time(this._time - 1);
}
};
v2.toString = function () {
return '[Tween]';
};
v2.fixTime = function () {
if (this.useSeconds) {
this._startTime = getTimer() - this._time * 1000;
}
};
v2.update = function () {
this.__set__position(this.getPosition(this._time));
};
v1.version = '1.1.0.52';
v1.__initBeacon = mx.transitions.OnEnterFrameBeacon.init();
v1.__initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
v2.func = function (t, b, c, d) {
return c * t / d + b;
};
v2.addProperty('FPS', v2.__get__FPS, v2.__set__FPS);
v2.addProperty('duration', v2.__get__duration, v2.__set__duration);
v2.addProperty('finish', v2.__get__finish, v2.__set__finish);
v2.addProperty('position', v2.__get__position, v2.__set__position);
v2.addProperty('time', v2.__get__time, v2.__set__time);
ASSetPropFlags(mx.transitions.Tween.prototype, null, 1);
}
#endinitclip
}