Combined Code
frame 1 {
var rollover_btn = this.main_rollover;
rollover_btn.onRollOver = function () {
var v2 = this.overlayed_img._alpha;
var v3 = new mx.transitions.Tween(this.overlayed_img, '_alpha', mx.transitions.easing.Strong.easeOut, v2, 0, 0.5, true);
};
rollover_btn.onRollOut = function () {
var v2 = this.overlayed_img._alpha;
var v3 = new mx.transitions.Tween(this.overlayed_img, '_alpha', mx.transitions.easing.Regular.easeIn, v2, 100, 0.5, true);
};
}
movieClip 5 {
}
movieClip 6 {
}
movieClip 7 __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 8 __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 9 __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
}
movieClip 10 __Packages.mx.transitions.easing.Strong {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.easing) {
_global.mx.transitions.easing = new Object();
}
if (!_global.mx.transitions.easing.Strong) {
var v1 = function () {};
mx.transitions.easing.Strong = v1;
var v2 = v1.prototype;
v1.easeIn = function (t, b, c, d) {
t /= d;
return c * t * t * t * t * t + b;
};
v1.easeOut = function (t, b, c, d) {
t = t / d - 1;
return c * (t * t * t * t * t + 1) + b;
};
v1.easeInOut = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * t * t * t * t * t + b;
}
t -= 2;
return (c / 2) * (t * t * t * t * t + 2) + b;
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.easing.Strong.prototype, null, 1);
}
#endinitclip
}
movieClip 11 __Packages.mx.transitions.easing.Regular {
#initclip
if (!_global.mx) {
_global.mx = new Object();
}
if (!_global.mx.transitions) {
_global.mx.transitions = new Object();
}
if (!_global.mx.transitions.easing) {
_global.mx.transitions.easing = new Object();
}
if (!_global.mx.transitions.easing.Regular) {
var v1 = function () {};
mx.transitions.easing.Regular = v1;
var v2 = v1.prototype;
v1.easeIn = function (t, b, c, d) {
t /= d;
return c * t * t + b;
};
v1.easeOut = function (t, b, c, d) {
t /= d;
return -c * t * (t - 2) + b;
};
v1.easeInOut = function (t, b, c, d) {
t /= d / 2;
if (t < 1) {
return (c / 2) * t * t + b;
}
return (-c / 2) * (--t * (t - 2) - 1) + b;
};
v1.version = '1.1.0.52';
ASSetPropFlags(mx.transitions.easing.Regular.prototype, null, 1);
}
#endinitclip
}