Frame 1
stop();
this.soundToggle = true;
onEnterFrame = function () {
var _local3 = this.getBytesTotal();
if (_local3 > 4) {
var _local4 = this.getBytesLoaded();
var _local2 = Math.round((100 * _local4) / _local3);
preloader_mc.loadingbar_mc.gotoAndStop(_local2);
preloader_mc.loadingbar_mc.loading_txt.text = ("Loading " + _local2) + "%";
if (_local2 >= 100) {
preloader_mc.loadingbar_mc.gotoAndStop(100);
preloader_mc.loadingbar_mc.loading_txt.text = "Loading 100%";
preloader_mc.gotoAndPlay("hide");
delete onEnterFrame;
}
}
};
Frame 2
com.fuelindustries.ProjectGlobals.init();
var audioManager = com.fuelindustries.media.sound.AudioManager.createChannel("music", sound_mc);
startLoop = function () {
audioManager.playSound("Loop_Opt2", 0, 9999);
};
audioManager.playSound("Pot_Opening_Sting", 0, 1, startLoop, this);
Symbol 29 MovieClip Frame 14
stop();
Symbol 29 MovieClip Frame 29
_parent.gotoAndStop("splash");
Symbol 32 MovieClip [sparkleani_mc] Frame 86
stop();
Symbol 33 MovieClip [sparkleRain_mc] Frame 1
#initclip 57
Object.registerClass("sparkleRain_mc", com.winx.controls.SparkleRain);
#endinitclip
Symbol 33 MovieClip [sparkleRain_mc] Frame 28
this.newWave();
Symbol 42 MovieClip Frame 1
if (_parent._parent.soundToggle) {
gotoAndStop ("soundon");
} else {
gotoAndPlay ("soundoff");
}
stop();
Symbol 42 MovieClip Frame 10
stop();
Symbol 42 MovieClip Frame 19
stop();
Symbol 71 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 15
stop();
Symbol 71 MovieClip Frame 29
stop();
Instance of Symbol 42 MovieClip in Symbol 75 MovieClip Frame 1
on (release) {
if (_parent._parent.soundToggle) {
gotoAndPlay ("toggleoff");
} else {
gotoAndPlay ("toggleon");
}
_parent._parent.soundToggle = !_parent._parent.soundToggle;
com.fuelindustries.media.sound.AudioManager.createChannel("music").toggleSound();
}
Instance of Symbol 71 MovieClip in Symbol 75 MovieClip Frame 58
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent.instrutions_mc.gotoAndPlay("show");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
}
Symbol 75 MovieClip Frame 70
stop();
Symbol 77 MovieClip [gradpop_mc] Frame 1
#initclip 56
Object.registerClass("gradpop_mc", com.fuelindustries.containers.ModalWindow);
#endinitclip
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 15
stop();
Symbol 92 MovieClip Frame 29
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 53
stop();
Instance of Symbol 92 MovieClip "continue_mc" in Symbol 96 MovieClip Frame 53
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
var audioManager = com.fuelindustries.media.sound.AudioManager.createChannel("music");
if (_parent._parent._currentframe == 2) {
audioManager.playSound("Transition_Sound");
audioManager.stopSound("Loop_Opt2");
audioManager.stopSound("Pot_Opening_Sting");
audioManager.playSound("Loop_Opt1", 0, 9999);
_parent._parent.gotoAndStop("game");
} else if (_parent._parent._currentframe == 9) {
audioManager.playSound("Transition_Sound");
}
_parent.gotoAndPlay("hide");
}
Symbol 96 MovieClip Frame 61
gotoAndStop ("idle");
Symbol 858 MovieClip [__Packages.com.fuelindustries.media.sound.AudioManager] Frame 0
class com.fuelindustries.media.sound.AudioManager
{
static var __increment, __fadeChannels, __panChannels;
var __sounds, __container, __count, __toggle, __volume, __fadeToggle, __fades, __name, __pans, __easeFunctions, __timeLast, __timeDif;
function AudioManager () {
}
static function createChannel(name, container) {
if (__channels == null) {
__channels = {};
__increment = 0;
__fadeChannels = {};
__panChannels = {};
}
name = ((name == undefined) ? ("channel" + (__increment++)) : (name));
if (__channels[name] == undefined) {
container = ((container == undefined) ? (_level0) : (container));
__channels[name] = new com.fuelindustries.media.sound.AudioManager();
__channels[name].init(name, container);
}
return(__channels[name]);
}
static function deleteChannel(channel) {
__channels[channel].stopAll();
delete __channels[channel];
}
static function getChannels() {
return(__channels);
}
static function get fadeChannels() {
return(__fadeChannels);
}
static function set fadeChannels(fade) {
if (fade != undefined) {
__fadeChannels = fade;
}
//return(fadeChannels);
}
static function get panChannels() {
return(__panChannels);
}
static function set panChannels(pan) {
if (pan != undefined) {
__panChannels = pan;
}
//return(panChannels);
}
function playSound(linkage, offset, repeat, func, scope) {
if (linkage != undefined) {
var _local4;
var _local11;
if (__sounds[linkage] == undefined) {
__sounds[linkage] = {};
var _local5 = __container.createEmptyMovieClip(linkage, __count++);
_local4 = new Sound(_local5);
_local4.attachSound(linkage);
if (_local4.duration == undefined) {
return(undefined);
}
__sounds[linkage].sound = _local4;
} else {
_local4 = __sounds[linkage].sound;
}
__sounds[linkage].params = {};
__sounds[linkage].params.playing = __toggle;
__sounds[linkage].params.repeat = repeat;
__sounds[linkage].params.offset = offset;
_local4.setVolume((__toggle ? (__volume) : 0));
_local4.start(offset, repeat);
if ((func != undefined) && (scope != undefined)) {
var _local6 = ((arguments.length > 5) ? (arguments.slice(5)) : undefined);
__sounds[linkage].params.callback = func;
__sounds[linkage].params.scope = scope;
__sounds[linkage].params.args = _local6;
}
_local4.onSoundComplete = getDelegate(this, soundDone, [__sounds[linkage]]);
_local4.onID3 = getDelegate(this, setID3, __sounds[linkage]);
}
}
function streamSound(file, offset, func, scope) {
if (file != undefined) {
var _local4;
var _local9;
if (__sounds[file] == undefined) {
__sounds[file] = {};
var _local5 = __container.createEmptyMovieClip(file, __count++);
_local4 = new Sound(_local5);
__sounds[file].sound = _local4;
} else {
_local4 = __sounds[file].sound;
}
__sounds[file].params = {};
__sounds[file].params.playing = __toggle;
_local4.setVolume((__toggle ? (__volume) : 0));
_local4.loadSound(file, true);
if ((func != undefined) && (scope != undefined)) {
var _local6 = ((arguments.length > 4) ? (arguments.slice(4)) : undefined);
__sounds[file].params.callback = func;
__sounds[file].params.scope = scope;
__sounds[file].params.args = _local6;
}
_local4.onSoundComplete = getDelegate(this, soundDone, [__sounds[file]]);
_local4.onID3 = getDelegate(this, setID3, __sounds[file]);
}
}
function playExternalSound(file, offset, repeat, func, scope) {
if (file != undefined) {
var _local4;
var _local6;
if (__sounds[file] == undefined) {
__sounds[file] = {};
var _local5 = __container.createEmptyMovieClip(file, __count++);
_local4 = new Sound(_local5);
__sounds[file].sound = _local4;
} else {
_local4 = __sounds[file].sound;
}
_local4.loadSound(file, false);
_local4.onLoad = getDelegate(this, playSound, arguments);
}
}
function getBytesTotal(sound) {
return(__sounds[sound].sound.getBytesTotal());
}
function getBytesLoaded(sound) {
return(__sounds[sound].sound.getBytesLoaded());
}
function stopSound(sound) {
var _local2 = __sounds[sound].sound;
__sounds[sound].params.stoppedAt = _local2.position;
_local2.stop();
}
function stopAll(allChannels) {
if (allChannels) {
var _local2 = getChannels();
for (var _local3 in _local2) {
_local2[_local3].stopAll();
}
}
for (var _local3 in __sounds) {
stopSound(_local3);
}
}
function resumeSound(sound) {
if (__sounds[sound].params.playing) {
var _local3 = __sounds[sound].sound;
if (__sounds[sound].params.repeat) {
_local3.start(__sounds[sound].params.offset, __sounds[sound].params.repeat);
} else {
_local3.start(__sounds[sound].params.stoppedAt / 1000);
}
__sounds[sound].params.stoppedAt = __sounds[sound].params.offset;
}
}
function resumeAll(allChannels) {
if (allChannels) {
var _local2 = getChannels();
for (var _local3 in _local2) {
_local2[_local3].resumeAll();
}
}
for (var _local3 in __sounds) {
resumeSound(_local3);
}
}
function getID3(sound) {
if (__sounds[sound].params.ID3) {
return(__sounds[sound].params.ID3data);
}
return(false);
}
function toggleSound(val, allChannels) {
__toggle = ((val == undefined) ? (!__toggle) : (val));
allChannels = ((allChannels == undefined) ? false : (allChannels));
var _local3 = (__toggle ? (__volume) : 0);
if (__toggle) {
__fadeToggle = __toggle;
}
fadeAllTo(_local3, 300, allChannels, "Regular.easeOut");
__fadeToggle = __toggle;
}
function getVolume(sound) {
if (sound == undefined) {
return(__volume);
}
return(__sounds[sound].sound.getVolume());
}
function setVolume(vol, sound) {
if (!isNaN(vol)) {
sound = ((sound == undefined) ? "all" : (sound));
switch (sound) {
case "allChannels" :
var _local3 = getChannels();
for (var _local4 in _local3) {
_local3[_local4].setVolume(vol, "all");
}
break;
case "all" :
__volume = vol;
__fades = {};
for (var _local4 in __sounds) {
setVolume(vol, _local4);
}
break;
default :
var _local6 = __sounds[sound].sound;
removeFromFades(sound);
_local6.setVolume((__toggle ? (vol) : 0));
}
}
}
function getPan(sound) {
return(__sounds[sound].sound.getPan());
}
function setPan(sound, pan) {
pan = ((pan == undefined) ? 0 : (pan));
removeFromPans(sound);
__sounds[sound].sound.setPan(pan);
}
function stopFade(sound) {
switch (sound) {
case "allChannels" :
var _local2 = getChannels();
for (var _local3 in _local2) {
_local2[_local3].stopFade("all");
}
break;
case "all" :
for (var _local3 in __sounds) {
stopFade(_local3);
}
break;
default :
if (!__fadeToggle) {
break;
}
removeFromFades(sound);
}
}
function fadeTo(sound, vol, duration, ease, func, scope) {
if (__fadeToggle) {
ease = ((ease == undefined) ? "none" : (ease));
if (((sound != undefined) && (!isNaN(vol))) && (!isNaN(duration))) {
vol = Math.min(__volume, vol);
var _local3 = __sounds[sound].sound;
if (_local3 == undefined) {
return(undefined);
}
var _local12 = arguments.slice(6);
var _local7 = getTimer();
var _local9 = _local3.getVolume();
var _local11 = vol - _local9;
var _local6 = {sound:_local3, begin:_local9, diff:_local11, start:_local7, duration:duration, ease:ease, func:func, scope:scope, args:_local12};
addToFades(sound, _local6);
}
}
}
function fadeAllTo(vol, duration, allChannels, ease, func, scope) {
ease = ((ease == undefined) ? "none" : (ease));
if (allChannels) {
var _local4 = getChannels();
var _local3 = arguments.slice(0);
_local3[2] = false;
var _local6 = _local3.splice(4);
fadeChannels.doCallback = true;
fadeChannels.callback = {};
fadeChannels.callback.func = _local6[0];
fadeChannels.callback.scope = _local6[1];
fadeChannels.callback.args = _local6.slice(2);
for (var _local5 in _local4) {
_local4[_local5].fadeAllTo.apply(_local4[_local5], _local3);
}
return(undefined);
}
if (func != undefined) {
fadeChannels.doCallback = true;
var _local6 = _local3.splice(4);
fadeChannels.callback = {};
fadeChannels.callback.func = _local6[0];
fadeChannels.callback.scope = _local6[1];
fadeChannels.callback.args = _local6.slice(2);
}
stopFade("all");
for (var _local5 in __sounds) {
var _local3 = arguments.slice(0);
_local3.splice(4, 1);
_local3.unshift(_local5);
fadeTo.apply(this, _local3);
}
}
function stopPan(sound) {
switch (sound) {
case "allChannels" :
var _local2 = getChannels();
for (var _local3 in _local2) {
_local2[_local3].stopPan("all");
}
break;
case "all" :
for (var _local3 in __sounds) {
stopPan(_local3);
}
break;
default :
removeFromPans(sound);
}
}
function panTo(sound, pan, duration, ease, func, scope) {
ease = ((ease == undefined) ? "none" : (ease));
if (((sound != undefined) && (!isNaN(pan))) && (!isNaN(duration))) {
var _local3 = __sounds[sound].sound;
if (_local3 == undefined) {
return(undefined);
}
var _local11 = arguments.slice(6);
var _local6 = getTimer();
var _local8 = _local3.getPan();
var _local10 = pan - _local8;
var _local4 = {sound:_local3, begin:_local8, diff:_local10, start:_local6, duration:duration, ease:ease, func:func, scope:scope, args:_local11};
addToPans(sound, _local4);
}
}
function panAllTo(pan, duration, allChannels, ease, func, scope) {
ease = ((ease == undefined) ? "none" : (ease));
if (allChannels) {
var _local4 = getChannels();
var _local3 = arguments.slice(0);
_local3[2] = false;
var _local6 = _local3.splice(4);
panChannels.doCallback = true;
panChannels.callback = {};
panChannels.callback.func = _local6[0];
panChannels.callback.scope = _local6[1];
panChannels.callback.args = _local6.slice(2);
for (var _local5 in _local4) {
_local4[_local5].panAllTo.apply(_local4[_local5], _local3);
}
return(undefined);
}
if (func != undefined) {
panChannels.doCallback = true;
var _local6 = _local3.splice(4);
panChannels.callback = {};
panChannels.callback.func = _local6[0];
panChannels.callback.scope = _local6[1];
panChannels.callback.args = _local6.slice(2);
}
for (var _local5 in __sounds) {
var _local3 = arguments.slice(0);
_local3.splice(4, 1);
_local3.unshift(_local5);
panTo.apply(this, _local3);
}
}
function get name() {
return(__name);
}
function toString() {
return(("[ AudioManager, channel: " + __name) + " ]");
}
function init(name, container) {
if ((__name == undefined) || (__container == undefined)) {
if ((name != undefined) && (container != undefined)) {
__name = name;
__container = container;
__count = 0;
__sounds = {};
__fades = {};
__fades.___length___ = 0;
__pans = {};
__pans.___length___ = 0;
__toggle = true;
__fadeToggle = true;
__volume = 100;
__easeFunctions = {};
__easeFunctions.none = easeNone;
__easeFunctions["Regular.easeOut"] = mx.transitions.easing.Regular.easeOut;
__easeFunctions["Regular.easeIn"] = mx.transitions.easing.Regular.easeIn;
__easeFunctions["Regular.easeInOut"] = mx.transitions.easing.Regular.easeInOut;
__easeFunctions["Strong.easeOut"] = mx.transitions.easing.Strong.easeOut;
__easeFunctions["Strong.easeIn"] = mx.transitions.easing.Strong.easeIn;
__easeFunctions["Strong.easeInOut"] = mx.transitions.easing.Strong.easeInOut;
__easeFunctions["Elastic.easeOut"] = mx.transitions.easing.Elastic.easeOut;
__easeFunctions["Elastic.easeIn"] = mx.transitions.easing.Elastic.easeIn;
__easeFunctions["Elastic.easeInOut"] = mx.transitions.easing.Elastic.easeInOut;
__easeFunctions["Bounce.easeOut"] = mx.transitions.easing.Bounce.easeOut;
__easeFunctions["Bounce.easeIn"] = mx.transitions.easing.Bounce.easeIn;
__easeFunctions["Bounce.easeInOut"] = mx.transitions.easing.Bounce.easeInOut;
if (!com.fuelindustries.tween.TweenEnterFrame.exists) {
com.fuelindustries.tween.TweenEnterFrame.init();
}
com.fuelindustries.tween.TweenEnterFrame.addListener(this);
__timeLast = getTimer();
}
}
}
function onEnterFrame() {
var _local2 = getTimer();
__timeDif = _local2 - __timeLast;
if (__fades.___length___) {
fade(_local2);
} else if (fadeChannels.doCallback) {
var _local3 = fadeChannels.callback;
_local3.func.apply(_local3.scope, _local3.args);
fadeChannels = ({});
}
if (__pans.___length___) {
pan(_local2);
} else if (panChannels.doCallback) {
var _local3 = panChannels.callback;
_local3.func.apply(_local3.scope, _local3.args);
panChannels = ({});
}
__timeLast = _local2;
}
function fade(curTime) {
for (var _local8 in __fades) {
if (_local8 != "___length___") {
var _local2 = __fades[_local8];
var _local4 = _local2.sound;
var _local3 = curTime - _local2.start;
var _local7 = ((__easeFunctions[_local2.ease] == undefined) ? (__easeFunctions.none) : (__easeFunctions[_local2.ease]));
var _local5 = _local7(_local3 / 1000, _local2.begin, _local2.diff, _local2.duration / 1000);
_local4.setVolume(_local5);
if (_local3 >= _local2.duration) {
var _local6 = _local3 - _local2.duration;
_local4.setVolume(_local2.begin + _local2.diff);
_local2.args.push(_local6);
removeFromFades(_local8);
_local2.func.apply(_local2.scope, _local2.args);
}
}
}
}
function pan(curTime) {
for (var _local8 in __pans) {
if (_local8 != "___length___") {
var _local2 = __pans[_local8];
var _local4 = _local2.sound;
var _local3 = curTime - _local2.start;
var _local6 = ((__easeFunctions[_local2.ease] == undefined) ? (__easeFunctions.none) : (__easeFunctions[_local2.ease]));
var _local7 = _local6(_local3 / 1000, _local2.begin, _local2.diff, _local2.duration / 1000);
_local4.setPan(_local7);
if (_local3 >= _local2.duration) {
var _local5 = _local3 - _local2.duration;
_local4.setPan(_local2.begin + _local2.diff);
_local2.args.push(_local5);
removeFromPans(_local8);
_local2.func.apply(_local2.scope, _local2.args);
}
}
}
}
function soundDone(sound) {
sound.params.playing = false;
sound.params.stoppedAt = sound.params.offset;
sound.params.callback.apply(sound.params.scope, sound.params.args);
}
function setID3(sound) {
sound.params.ID3 = true;
sound.params.ID3data = sound.sound.id3;
}
function checkSounds() {
this[(__toggle ? "resumeAll" : "stopAll")].apply(this);
}
function addToFades(sound, obj) {
if (__fades[sound] == undefined) {
__fades[sound] = obj;
__fades.___length___++;
}
}
function removeFromFades(sound) {
if (__fades[sound] != undefined) {
delete __fades[sound];
__pans.___length___--;
}
}
function addToPans(sound, obj) {
if (__pans[sound] == undefined) {
__pans[sound] = obj;
__pans.___length___++;
}
}
function removeFromPans(sound) {
if (__pans[sound] != undefined) {
delete __pans[sound];
__pans.___length___--;
}
}
function easeNone(time, begin, diff, duration) {
var _local1 = time / duration;
_local1 = ((_local1 > 1) ? 1 : (_local1));
return(begin + (diff * _local1));
}
function getDelegate(scope, func, args) {
return(function () {
return(func.apply(scope, args));
});
}
static var __channels = null;
}
Symbol 859 MovieClip [__Packages.mx.transitions.easing.Regular] Frame 0
class mx.transitions.easing.Regular
{
function Regular () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * t) * t) + b);
}
t--;
return((((-c) / 2) * ((t * (t - 2)) - 1)) + b);
}
static var version = "1.1.0.52";
}
Symbol 860 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong
{
function Strong () {
}
static function easeIn(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOut(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOut(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((((c / 2) * t) * t) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 861 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic
{
function Elastic () {
}
static function easeIn(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
static function easeOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
if (!p) {
p = d * 0.3;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOut(t, b, c, d, a, p) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
if (!p) {
p = d * 0.45;
}
if ((!a) || (a < Math.abs(c))) {
a = c;
var _local7 = p / 4;
} else {
var _local7 = (p / (Math.PI*2)) * Math.asin(c / a);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static var version = "1.1.0.52";
}
Symbol 862 MovieClip [__Packages.mx.transitions.easing.Bounce] Frame 0
class mx.transitions.easing.Bounce
{
function Bounce () {
}
static function easeOut(t, b, c, d) {
t = t / d;
if (t < 0.363636363636364) {
return((c * ((7.5625 * t) * t)) + b);
}
if (t < 0.727272727272727) {
t = t - 0.545454545454545;
return((c * (((7.5625 * t) * t) + 0.75)) + b);
}
if (t < 0.909090909090909) {
t = t - 0.818181818181818;
return((c * (((7.5625 * t) * t) + 0.9375)) + b);
}
t = t - 0.954545454545455;
return((c * (((7.5625 * t) * t) + 0.984375)) + b);
}
static function easeIn(t, b, c, d) {
return((c - easeOut(d - t, 0, c, d)) + b);
}
static function easeInOut(t, b, c, d) {
if (t < (d / 2)) {
return((easeIn(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOut((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static var version = "1.1.0.52";
}
Symbol 863 MovieClip [__Packages.com.fuelindustries.tween.TweenEnterFrame] Frame 0
class com.fuelindustries.tween.TweenEnterFrame
{
static var mc;
function TweenEnterFrame () {
}
static function init(scope) {
if (scope == undefined) {
scope = _level0;
}
if (!exists()) {
mc = scope.createEmptyMovieClip("__TEF__", 104857);
AsBroadcaster.initialize(mc);
mc.onEnterFrame = function () {
this.broadcastMessage("onEnterFrame");
};
}
}
static function exists() {
var _local1 = ((mc == undefined) ? false : true);
return(_local1);
}
static function addListener(listener) {
if (mc == undefined) {
init();
}
mc.addListener(listener);
}
static function removeListener(listener) {
mc.removeListener(listener);
}
}
Symbol 864 MovieClip [__Packages.com.fuelindustries.ProjectGlobals] Frame 0
class com.fuelindustries.ProjectGlobals
{
static var root, mm, lang, locale, baseurl, fdebug;
function ProjectGlobals () {
}
static function init(timeline) {
root = timeline;
setLog();
mm = com.fuelindustries.tween.MotionManager.getMotionManager();
setLang(_level0.lang);
setBaseurl(_level0.baseurl);
}
static function setLang(language) {
var _local1 = ((language == undefined) ? "en" : (language));
lang = _local1;
locale = com.fuelindustries.locale.Locale.getLocale(lang);
}
static function setBaseurl(url) {
var _local1 = ((url == undefined) ? "" : (url));
baseurl = _local1;
}
static function setLog() {
_global.log = com.fuelindustries.debug.Logger.getLog();
fdebug = new com.fuelindustries.debug.FDebug();
log.addEventListener("onLog", fdebug);
}
static function setURL(name, url) {
URLS[name] = url;
}
static function getURL(name) {
return(URLS[name]);
}
static function setError(name, url) {
ERRORS[name] = url;
}
static function getError(name) {
return(ERRORS[name]);
}
static function enableFDebug(val) {
fdebug.__set__enabled(val);
}
static var URLS = [];
static var ERRORS = [];
}
Symbol 865 MovieClip [__Packages.com.fuelindustries.locale.Locale] Frame 0
class com.fuelindustries.locale.Locale extends Object
{
function Locale () {
super();
}
static function getLocale(lang) {
var _local1 = getRegisteredLocale(lang);
return(_local1);
}
static function getRegisteredLocale(lang) {
var _local1;
switch (lang) {
case "en" :
_local1 = new com.fuelindustries.locale.locales.EN();
break;
case "fr" :
_local1 = new com.fuelindustries.locale.locales.FR();
}
return(_local1);
}
function replace(string, oldValue, newValue) {
return(string.split(oldValue).join(newValue));
}
function toString() {
return(("[ Locale " + languageCode) + ", object ]");
}
function formatCurrency(num) {
var _local11 = "";
var _local10 = String(com.fuelindustries.data.DataFormatter.addCents(num)).split(".");
var _local9 = _local10[0];
var _local13 = _local10[1];
if (num < 0) {
var _local4 = _local9.indexOf("-");
_local9 = _local9.slice(_local4 + 1);
_local11 = "-";
}
var _local6 = _local9.length;
var _local16 = Math.floor(_local6 / integerGroupSize);
var _local8 = _local6 % integerGroupSize;
var _local15 = [];
var _local7 = _local9.split("");
var _local3 = 0;
var _local2 = _local8;
while (_local2 < _local6) {
var _local4 = _local2 + _local3;
if (_local4 != 0) {
_local7.splice(_local2 + _local3, 0, integerGroupSeparator);
_local3++;
}
_local2 = _local2 + integerGroupSize;
}
var _local12 = _local7.join("");
var _local5 = replace(currencyFormat, "C", currency);
_local5 = replace(_local5, "I", _local12);
_local5 = replace(_local5, ".", decimalSeparator);
_local5 = replace(_local5, "dd", _local13);
_local5 = replace(_local5, "-", _local11);
return(_local5);
}
var languageCode = "";
var integerGroupSeparator = ",";
var integerGroupSize = 3;
var decimalSeparator = ".";
var currency = "$";
var currencyFormat = "-CI.dd";
}
Symbol 866 MovieClip [__Packages.com.fuelindustries.locale.locales.EN] Frame 0
class com.fuelindustries.locale.locales.EN extends com.fuelindustries.locale.Locale
{
var languageCode;
function EN () {
super();
languageCode = "en";
}
}
Symbol 867 MovieClip [__Packages.com.fuelindustries.locale.locales.FR] Frame 0
class com.fuelindustries.locale.locales.FR extends com.fuelindustries.locale.Locale
{
var languageCode;
function FR () {
super();
languageCode = "fr";
}
var integerGroupSeparator = " ";
var integerGroupSize = 3;
var currency = "$";
var decimalSeparator = ",";
var currencyFormat = "-I.dd C";
}
Symbol 868 MovieClip [__Packages.com.fuelindustries.data.DataFormatter] Frame 0
class com.fuelindustries.data.DataFormatter extends Object
{
function DataFormatter () {
super();
}
static function addCents(num) {
var _local1 = ((Math.round(num * 100) / 100) + "").split(".");
if (_local1[1] != undefined) {
_local1[1] = (_local1[1] + "00").substr(0, 2);
} else {
_local1[1] = "00";
}
return(_local1.join("."));
}
static function toBoolean(str) {
if (str == "true") {
return(true);
}
return(false);
}
static function padZero(num, amount) {
var _local1 = String(num);
while (_local1.length < amount) {
_local1 = "0" + _local1;
}
return(_local1);
}
static function dateToString(d) {
var _local1 = d.getDate();
var _local4 = 1 + d.getMonth();
var _local5 = d.getFullYear();
var _local3 = (_local5 + padZero(_local4, 2)) + padZero(_local1, 2);
return(_local3);
}
static function rgbTohex(r, g, b) {
var _local1 = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "A", "B", "C", "D", "E", "F"];
var _local3 = String(r / 16).split(".");
var _local2 = String(b / 16).split(".");
var _local4 = String(g / 16).split(".");
var _local7 = _local3[0];
var _local6 = ((_local3[1] == undefined) ? 0 : (Number("0." + _local3[1]) * 16));
var _local9 = _local2[0];
var _local8 = ((_local2[1] == undefined) ? 0 : (Number("0." + _local2[1]) * 16));
var _local11 = _local4[0];
var _local10 = ((_local4[1] == undefined) ? 0 : (Number("0." + _local4[1]) * 16));
var _local5 = ((((_local1[_local7] + _local1[_local6]) + _local1[_local9]) + _local1[_local8]) + _local1[_local11]) + _local1[_local10];
return(_local5);
}
static function argbToHex(a, r, g, b) {
return((((a << 24) | (r << 16)) | (g << 8)) | b);
}
}
Symbol 869 MovieClip [__Packages.com.fuelindustries.tween.MotionManager] Frame 0
class com.fuelindustries.tween.MotionManager
{
static var __broadcaster, __paused, __allLists, __timeLast;
function MotionManager () {
}
static function getMotionManager() {
if (__motionManager == null) {
__motionManager = new com.fuelindustries.tween.MotionManager();
init();
}
return(__motionManager);
}
static function exists() {
return(__motionManager != null);
}
static function addListener(target) {
if (!exists) {
getMotionManager();
}
__broadcaster.addEventListener("onPause", target);
}
static function removeListener(target) {
__broadcaster.removeEventListener("onPause", target);
}
static function get paused() {
return(__paused);
}
static function pause() {
for (var _local4 in __allLists) {
var _local1 = __allLists[_local4].list;
for (var _local3 in _local1) {
var _local2 = _local1[_local3];
if (__paused) {
_local1[_local3].resume();
} else {
_local1[_local3].pause();
}
}
}
__paused = !__paused;
__broadcaster.paused = __paused;
__broadcaster.dispatchEvent({target:__broadcaster, type:"onPause", paused:__paused});
}
static function init() {
__allLists = {slideList:new com.fuelindustries.tween.MotionList(), translateList:new com.fuelindustries.tween.MotionList(), bendList:new com.fuelindustries.tween.MotionList(), bendList3D:new com.fuelindustries.tween.MotionList(), twistList3D:new com.fuelindustries.tween.MotionList(), sizeList:new com.fuelindustries.tween.MotionList(), scaleList:new com.fuelindustries.tween.MotionList(), scaleList3D:new com.fuelindustries.tween.MotionList(), stretchList:new com.fuelindustries.tween.MotionList(), rotateList:new com.fuelindustries.tween.MotionList(), xrotateList:new com.fuelindustries.tween.MotionList(), yrotateList:new com.fuelindustries.tween.MotionList(), zrotateList:new com.fuelindustries.tween.MotionList(), colorList:new com.fuelindustries.tween.MotionList(), alphaList:new com.fuelindustries.tween.MotionList(), frameList:new com.fuelindustries.tween.MotionList(), tweenList:new com.fuelindustries.tween.MotionList()};
setPrototypes();
setEvents();
if (!com.fuelindustries.tween.TweenEnterFrame.exists()) {
com.fuelindustries.tween.TweenEnterFrame.init();
}
com.fuelindustries.tween.TweenEnterFrame.addListener(__motionManager);
__timeLast = getTimer();
__paused = false;
}
static function setEvents() {
__broadcaster = {};
__broadcaster.motionManager = __motionManager;
mx.events.EventDispatcher.initialize(__broadcaster);
}
static function setPrototypes() {
MovieClip.prototype.__motionManager = __motionManager;
MovieClip.prototype.slideTo = function (x, y, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.slideTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.translateTo = function (x, y, z, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.translateTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.bendTo = function (x, y, cx, cy, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.bendTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.bendTo3D = function (x, y, z, cx, cy, cz, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.bendTo3D.apply(this.__motionManager, arguments);
};
MovieClip.prototype.twistTo3D = function (x, y, z, ampx, ampy, rot, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.twistTo3D.apply(this.__motionManager, arguments);
};
MovieClip.prototype.sizeTo = function (w, h, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.sizeTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.scaleTo = function (xs, ys, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.scaleTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.scaleTo3D = function (xs, ys, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.scaleTo3D.apply(this.__motionManager, arguments);
};
MovieClip.prototype.stretchTo = function (w, h, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.stretchTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.rotateTo = function (w, h, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.rotateTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.xrotateTo = function (w, h, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.xrotateTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.yrotateTo = function (w, h, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.yrotateTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.zrotateTo = function (w, h, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.zrotateTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.colorTo = function (color, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.colorTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.alphaTo = function (alpha, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.alphaTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.frameTo = function (frame, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.frameTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.tweenTo = function (beginState, endState, duration, ease, callback, scope) {
arguments.unshift(this);
this.__motionManager.tweenTo.apply(this.__motionManager, arguments);
};
MovieClip.prototype.pauseTween = function (type) {
this.__motionManager.pauseTween.call(this.__motionManager, this, type);
};
MovieClip.prototype.resumeTween = function (type) {
this.__motionManager.resumeTween.call(this.__motionManager, this, type);
};
MovieClip.prototype.cancelTween = function (type) {
this.__motionManager.cancelTween.call(this.__motionManager, this, type);
};
}
function slideTo(mc, x, y, duration, ease, callback, scope) {
var _local2 = arguments.slice(7);
__allLists.slideList.addItem(new com.fuelindustries.tween.items.SlideItem(mc, x, y, duration, ease, callback, scope, _local2));
}
function translateTo(mc, x, y, z, duration, ease, callback, scope) {
var _local2 = arguments.slice(8);
__allLists.translateList.addItem(new com.fuelindustries.tween.items.TranslateItem(mc, x, y, z, duration, ease, callback, scope, _local2));
}
function bendTo(mc, x, y, cx, cy, duration, ease, callback, scope) {
var _local2 = arguments.slice(9);
__allLists.bendList.addItem(new com.fuelindustries.tween.items.BendItem(mc, {x:x, y:y}, {x:cx, y:cy}, duration, ease, callback, scope, _local2));
}
function bendTo3D(mc, x, y, z, cx, cy, cz, duration, ease, callback, scope) {
var _local2 = arguments.slice(11);
__allLists.bendList3D.addItem(new com.fuelindustries.tween.items.BendItem3D(mc, {x:x, y:y, z:z}, {x:cx, y:cy, z:cz}, duration, ease, callback, scope, _local2));
}
function twistTo3D(mc, x, y, z, ampx, ampy, loops, duration, ease, callback, scope) {
var _local2 = arguments.slice(11);
__allLists.twistList3D.addItem(new com.fuelindustries.tween.items.TwistItem3D(mc, {x:x, y:y, z:z}, {ampx:ampx, ampy:ampy, loops:loops}, duration, ease, callback, scope, _local2));
}
function sizeTo(mc, w, h, duration, ease, callback, scope) {
var _local2 = arguments.slice(7);
__allLists.sizeList.addItem(new com.fuelindustries.tween.items.SizeItem(mc, w, h, duration, ease, callback, scope, _local2));
}
function scaleTo(mc, xs, ys, duration, ease, callback, scope) {
var _local2 = arguments.slice(7);
__allLists.scaleList.addItem(new com.fuelindustries.tween.items.ScaleItem(mc, xs, ys, duration, ease, callback, scope, _local2));
}
function scaleTo3D(mc, xs, ys, duration, ease, callback, scope) {
var _local2 = arguments.slice(7);
__allLists.scaleList3D.addItem(new com.fuelindustries.tween.items.ScaleItem3D(mc, xs, ys, duration, ease, callback, scope, _local2));
}
function stretchTo(mc, w, h, duration, ease, callback, scope) {
var _local2 = arguments.slice(7);
__allLists.stretchList.addItem(new com.fuelindustries.tween.items.StretchItem(mc, w, h, duration, ease, callback, scope, _local2));
}
function rotateTo(mc, rotation, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.rotateList.addItem(new com.fuelindustries.tween.items.RotateItem(mc, rotation, duration, ease, callback, scope, _local2));
}
function xrotateTo(mc, rotation, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.xrotateList.addItem(new com.fuelindustries.tween.items.XRotateItem(mc, rotation, duration, ease, callback, scope, _local2));
}
function yrotateTo(mc, rotation, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.yrotateList.addItem(new com.fuelindustries.tween.items.YRotateItem(mc, rotation, duration, ease, callback, scope, _local2));
}
function zrotateTo(mc, rotation, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.zrotateList.addItem(new com.fuelindustries.tween.items.ZRotateItem(mc, rotation, duration, ease, callback, scope, _local2));
}
function colorTo(mc, color, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.colorList.addItem(new com.fuelindustries.tween.items.ColorItem(mc, color, duration, ease, callback, scope, _local2));
}
function alphaTo(mc, alpha, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.alphaList.addItem(new com.fuelindustries.tween.items.AlphaItem(mc, alpha, duration, ease, callback, scope, _local2));
}
function frameTo(mc, frame, duration, ease, callback, scope) {
var _local2 = arguments.slice(6);
__allLists.frameList.addItem(new com.fuelindustries.tween.items.FrameItem(mc, frame, duration, ease, callback, scope, _local2));
}
function tweenTo(mc, beginState, endState, duration, ease, callback, scope) {
var _local2 = arguments.slice(7);
__allLists.tweenList.addItem(new com.fuelindustries.tween.items.TweenItem(mc, beginState, endState, duration, ease, callback, scope, _local2));
}
function onEnterFrame() {
var _local8 = getTimer();
var _local5 = _local8 - __timeLast;
for (var _local7 in __allLists) {
var _local3 = __allLists[_local7];
if (_local3.__get__length()) {
var _local2 = _local3.__get__list();
for (var _local6 in _local2) {
var _local1 = _local2[_local6];
var _local4 = _local1.update(_local5);
if (_local4) {
_local3.removeItem(_local1.__get__name());
_local1.executeCallback();
}
}
}
}
__timeLast = _local8;
}
function pauseTween(mc, type) {
switch (type) {
case "slideTo" :
__allLists.slideList.pauseItem(mc);
break;
case "translateTo" :
__allLists.translateList.pauseItem(mc);
break;
case "bendTo" :
__allLists.bendList.pauseItem(mc);
break;
case "bendTo3D" :
__allLists.bendList3D.pauseItem(mc);
break;
case "twistTo3D" :
__allLists.twistList3D.pauseItem(mc);
break;
case "sizeTo" :
__allLists.sizeList.pauseItem(mc);
break;
case "scaleTo" :
__allLists.scaleList.pauseItem(mc);
break;
case "scaleTo3D" :
__allLists.scaleList3D.pauseItem(mc);
break;
case "stretchTo" :
__allLists.stretchList.pauseItem(mc);
break;
case "rotateTo" :
__allLists.rotateList.pauseItem(mc);
break;
case "xrotateTo" :
__allLists.xrotateList.pauseItem(mc);
break;
case "yrotateTo" :
__allLists.yrotateList.pauseItem(mc);
break;
case "zrotateTo" :
__allLists.zrotateList.pauseItem(mc);
break;
case "colorTo" :
__allLists.colorList.pauseItem(mc);
break;
case "alphaTo" :
__allLists.alphaList.pauseItem(mc);
break;
case "frameTo" :
__allLists.frameList.pauseItem(mc);
break;
case "tweenTo" :
__allLists.tweenList.pauseItem(mc);
break;
case "all" :
for (var _local2 in __allLists) {
__allLists[_local2].pauseItem(mc);
}
}
}
function resumeTween(mc, type) {
switch (type) {
case "slideTo" :
__allLists.slideList.resumeItem(mc);
break;
case "translateTo" :
__allLists.translateList.resumeItem(mc);
break;
case "bendTo" :
__allLists.bendList.resumeItem(mc);
break;
case "bendTo3D" :
__allLists.bendList3D.resumeItem(mc);
break;
case "twistTo3D" :
__allLists.twistList3D.resumeItem(mc);
break;
case "sizeTo" :
__allLists.sizeList.resumeItem(mc);
break;
case "scaleTo" :
__allLists.scaleList.resumeItem(mc);
break;
case "scaleTo3D" :
__allLists.scaleList3D.resumeItem(mc);
break;
case "stretchTo" :
__allLists.stretchList.resumeItem(mc);
break;
case "rotateTo" :
__allLists.rotateList.resumeItem(mc);
break;
case "xrotateTo" :
__allLists.xrotateList.resumeItem(mc);
break;
case "yrotateTo" :
__allLists.yrotateList.resumeItem(mc);
break;
case "zrotateTo" :
__allLists.zrotateList.resumeItem(mc);
break;
case "colorTo" :
__allLists.colorList.resumeItem(mc);
break;
case "alphaTo" :
__allLists.alphaList.resumeItem(mc);
break;
case "frameTo" :
__allLists.frameList.resumeItem(mc);
break;
case "tweenTo" :
__allLists.tweenList.resumeItem(mc);
break;
case "all" :
for (var _local2 in __allLists) {
__allLists[_local2].resumeItem(mc);
}
}
}
function cancelTween(mc, type) {
switch (type) {
case "slideTo" :
__allLists.slideList.removeItem(String(mc));
break;
case "translateTo" :
__allLists.translateList.removeItem(String(mc));
break;
case "bendTo" :
__allLists.bendList.removeItem(String(mc));
break;
case "bendTo3D" :
__allLists.bendList3D.removeItem(String(mc));
break;
case "twistTo3D" :
__allLists.twistList3D.removeItem(String(mc));
break;
case "sizeTo" :
__allLists.sizeList.removeItem(String(mc));
break;
case "scaleTo" :
__allLists.scaleList.removeItem(String(mc));
break;
case "scaleTo3D" :
__allLists.scaleList3D.removeItem(String(mc));
break;
case "stretchTo" :
__allLists.stretchList.removeItem(String(mc));
break;
case "rotateTo" :
__allLists.rotateList.removeItem(String(mc));
break;
case "xrotateTo" :
__allLists.xrotateList.removeItem(String(mc));
break;
case "yrotateTo" :
__allLists.yrotateList.removeItem(String(mc));
break;
case "zrotateTo" :
__allLists.zrotateList.removeItem(String(mc));
break;
case "colorTo" :
__allLists.colorList.removeItem(String(mc));
break;
case "alphaTo" :
__allLists.alphaList.removeItem(String(mc));
break;
case "frameTo" :
__allLists.frameList.removeItem(String(mc));
break;
case "tweenTo" :
__allLists.tweenList.removeItem(String(mc));
break;
case "all" :
for (var _local2 in __allLists) {
__allLists[_local2].removeItem(String(mc));
}
}
}
static var __motionManager = null;
}
Symbol 870 MovieClip [__Packages.com.fuelindustries.tween.items.MotionItem] Frame 0
class com.fuelindustries.tween.items.MotionItem
{
var __mc, __name, __paused, __startTime, __currentTime, __duration, __endTime, __ease, __callback, __scope, __callbackArgs, __pauseTime;
function MotionItem () {
init.apply(this, arguments);
}
function get mc() {
return(__mc);
}
function get name() {
return(__name);
}
function init(mc, duration, ease, callback, scope, args) {
__paused = false;
__mc = mc;
__name = String(__mc);
__startTime = getTimer();
__currentTime = __startTime;
__duration = duration;
__endTime = __startTime + __duration;
__ease = getEase(ease);
__callback = callback;
__scope = scope;
__callbackArgs = args;
if (com.fuelindustries.tween.MotionManager.__get__paused()) {
__paused = true;
__pauseTime = getTimer();
}
}
function update(timeDif) {
return(false);
}
function tweenComplete() {
}
function executeCallback() {
if (__callback != undefined) {
__callback.apply(__scope, __callbackArgs);
}
}
function pause() {
__paused = true;
__pauseTime = getTimer();
}
function resume() {
__paused = false;
var _local3 = getTimer();
var _local2 = _local3 - __pauseTime;
__startTime = __startTime + _local2;
__endTime = __endTime + _local2;
__currentTime = __currentTime + _local2;
}
function getEase(ease) {
if ((ease == undefined) || (ease == "none")) {
return(mx.transitions.easing.None.easeNone);
}
var _local2 = ease.split(".");
var _local3 = _local2[0];
var _local1 = _local2[1];
switch (_local3) {
case "Regular" :
return(mx.transitions.easing.Regular[_local1]);
case "Elastic" :
return(mx.transitions.easing.Elastic[_local1]);
case "Bounce" :
return(mx.transitions.easing.Bounce[_local1]);
case "Strong" :
return(mx.transitions.easing.Strong[_local1]);
case "Back" :
return(mx.transitions.easing.Back[_local1]);
case "ease" :
return(mx.transitions.easing.Regular.easeOut);
case "elastic" :
return(mx.transitions.easing.Elastic.easeOut);
case "bounce" :
return(mx.transitions.easing.Bounce.easeOut);
}
return(mx.transitions.easing.None.easeNone);
}
function toString() {
return("[ Object: MotionItem ]");
}
}
Symbol 871 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 872 MovieClip [__Packages.mx.transitions.easing.Back] Frame 0
class mx.transitions.easing.Back
{
function Back () {
}
static function easeIn(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / d;
return((((c * t) * t) * (((s + 1) * t) - s)) + b);
}
static function easeOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = (t / d) - 1;
return((c * (((t * t) * (((s + 1) * t) + s)) + 1)) + b);
}
static function easeInOut(t, b, c, d, s) {
if (s == undefined) {
s = 1.70158;
}
t = t / (d / 2);
if (t < 1) {
s = s * 1.525;
return(((c / 2) * ((t * t) * (((s + 1) * t) - s))) + b);
}
t = t - 2;
s = s * 1.525;
return(((c / 2) * (((t * t) * (((s + 1) * t) + s)) + 2)) + b);
}
static var version = "1.1.0.52";
}
Symbol 873 MovieClip [__Packages.com.fuelindustries.tween.MotionList] Frame 0
class com.fuelindustries.tween.MotionList
{
var __list, __length;
function MotionList () {
init();
}
function get list() {
return(__list);
}
function get length() {
return(__length);
}
function init() {
__list = {};
__length = 0;
}
function addItem(item) {
var _local2 = String(item.__get__mc());
if (__list[_local2] == undefined) {
__length++;
}
__list[_local2] = item;
}
function removeItem(mc) {
var _local2 = __list[mc];
if (_local2 != undefined) {
__length--;
delete __list[mc];
}
}
function pauseItem(item) {
__list[String(item)].pause();
}
function resumeItem(item) {
__list[String(item)].resume();
}
function toString() {
return("[ Object: MotionList ]");
}
}
Symbol 874 MovieClip [__Packages.mx.events.EventDispatcher] Frame 0
class mx.events.EventDispatcher
{
function EventDispatcher () {
}
static function _removeEventListener(queue, event, handler) {
if (queue != undefined) {
var _local4 = queue.length;
var _local1;
_local1 = 0;
while (_local1 < _local4) {
var _local2 = queue[_local1];
if (_local2 == handler) {
queue.splice(_local1, 1);
return(undefined);
}
_local1++;
}
}
}
static function initialize(object) {
if (_fEventDispatcher == undefined) {
_fEventDispatcher = new mx.events.EventDispatcher();
}
object.addEventListener = _fEventDispatcher.addEventListener;
object.removeEventListener = _fEventDispatcher.removeEventListener;
object.dispatchEvent = _fEventDispatcher.dispatchEvent;
object.dispatchQueue = _fEventDispatcher.dispatchQueue;
}
function dispatchQueue(queueObj, eventObj) {
var _local7 = "__q_" + eventObj.type;
var _local4 = queueObj[_local7];
if (_local4 != undefined) {
var _local5;
for (_local5 in _local4) {
var _local1 = _local4[_local5];
var _local3 = typeof(_local1);
if ((_local3 == "object") || (_local3 == "movieclip")) {
if (_local1.handleEvent != undefined) {
_local1.handleEvent(eventObj);
}
if (_local1[eventObj.type] != undefined) {
if (exceptions[eventObj.type] == undefined) {
_local1[eventObj.type](eventObj);
}
}
} else {
_local1.apply(queueObj, [eventObj]);
}
}
}
}
function dispatchEvent(eventObj) {
if (eventObj.target == undefined) {
eventObj.target = this;
}
this[eventObj.type + "Handler"](eventObj);
dispatchQueue(this, eventObj);
}
function addEventListener(event, handler) {
var _local3 = "__q_" + event;
if (this[_local3] == undefined) {
this[_local3] = new Array();
}
_global.ASSetPropFlags(this, _local3, 1);
_removeEventListener(this[_local3], event, handler);
this[_local3].push(handler);
}
function removeEventListener(event, handler) {
var _local2 = "__q_" + event;
_removeEventListener(this[_local2], event, handler);
}
static var _fEventDispatcher = undefined;
static var exceptions = {move:1, draw:1, load:1};
}
Symbol 875 MovieClip [__Packages.com.fuelindustries.tween.items.SlideItem] Frame 0
class com.fuelindustries.tween.items.SlideItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginx, __beginy, __endx, __endy, __dx, __dy, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function SlideItem () {
super.constructor.apply(super, arguments);
}
function init(mc, x, y, duration, ease, callback, scope, args) {
__beginx = mc._x;
__beginy = mc._y;
__endx = x;
__endy = y;
__dx = __endx - __beginx;
__dy = __endy - __beginy;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local5 = __ease(_local3, __beginx, __dx, __duration);
var _local4 = __ease(_local3, __beginy, __dy, __duration);
__mc._x = _local5;
__mc._y = _local4;
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "slideTo");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc._x = __endx;
__mc._y = __endy;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: SlideItem ]");
}
}
Symbol 876 MovieClip [__Packages.com.fuelindustries.tween.items.TranslateItem] Frame 0
class com.fuelindustries.tween.items.TranslateItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginx, __beginy, __beginz, __endx, __endy, __endz, __dx, __dy, __dz, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function TranslateItem () {
super.constructor.apply(super, arguments);
}
function init(mc, x, y, z, duration, ease, callback, scope, args) {
__beginx = mc.x;
__beginy = mc.y;
__beginz = mc.z;
__endx = x;
__endy = y;
__endz = z;
__dx = __endx - __beginx;
__dy = __endy - __beginy;
__dz = __endz - __beginz;
arguments.splice(1, 3);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local2 = __currentTime - __startTime;
var _local6 = __ease(_local2, __beginx, __dx, __duration);
var _local5 = __ease(_local2, __beginy, __dy, __duration);
var _local4 = __ease(_local2, __beginz, __dz, __duration);
__mc.x = _local6;
__mc.y = _local5;
__mc.z = _local4;
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "translateTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.x = __endx;
__mc.y = __endy;
__mc.z = __endz;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: TranslateItem ]");
}
}
Symbol 877 MovieClip [__Packages.com.fuelindustries.tween.items.BendItem] Frame 0
class com.fuelindustries.tween.items.BendItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginx, __beginy, __endx, __endy, __controlx, __controly, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function BendItem () {
super.constructor.apply(super, arguments);
}
function init(mc, endState, controlObj, duration, ease, callback, scope, args) {
__beginx = mc._x;
__beginy = mc._y;
__endx = endState.x;
__endy = endState.y;
__controlx = controlObj.x;
__controly = controlObj.y;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local8 = __currentTime - __startTime;
var _local2 = __ease(_local8, 0, 1, __duration);
var _local4 = 1 - _local2;
var _local5 = _local4 * _local4;
var _local7 = _local2 * _local2;
var _local6 = (2 * _local2) * _local4;
var _local10 = ((_local5 * __beginx) + (_local6 * __controlx)) + (_local7 * __endx);
var _local9 = ((_local5 * __beginy) + (_local6 * __controly)) + (_local7 * __endy);
__mc._x = _local10;
__mc._y = _local9;
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "bendTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc._x = __endx;
__mc._y = __endy;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: BendItem ]");
}
}
Symbol 878 MovieClip [__Packages.com.fuelindustries.tween.items.BendItem3D] Frame 0
class com.fuelindustries.tween.items.BendItem3D extends com.fuelindustries.tween.items.MotionItem
{
var __beginx, __beginy, __beginz, __endx, __endy, __endz, __controlx, __controly, __controlz, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function BendItem3D () {
super.constructor.apply(super, arguments);
}
function init(mc, endState, controlObj, duration, ease, callback, scope, args) {
__beginx = mc.x;
__beginy = mc.y;
__beginz = mc.z;
__endx = endState.x;
__endy = endState.y;
__endz = endState.z;
__controlx = controlObj.x;
__controly = controlObj.y;
__controlz = controlObj.z;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local6 = false;
if (__paused) {
return(_local6);
}
__currentTime = __currentTime + motionTime;
var _local8 = __currentTime - __startTime;
var _local2 = __ease(_local8, 0, 1, __duration);
var _local7 = 1 - _local2;
var _local3 = _local7 * _local7;
var _local5 = _local2 * _local2;
var _local4 = (2 * _local2) * _local7;
var _local11 = ((_local3 * __beginx) + (_local4 * __controlx)) + (_local5 * __endx);
var _local10 = ((_local3 * __beginy) + (_local4 * __controly)) + (_local5 * __endy);
var _local9 = ((_local3 * __beginz) + (_local4 * __controlz)) + (_local5 * __endz);
__mc.x = _local11;
__mc.y = _local10;
__mc.z = _local9;
if (__currentTime >= __endTime) {
_local6 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "bendTo3D");
return(_local6);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.x = __endx;
__mc.y = __endy;
__mc.z = __endz;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: BendItem3D ]");
}
}
Symbol 879 MovieClip [__Packages.com.fuelindustries.tween.items.TwistItem3D] Frame 0
class com.fuelindustries.tween.items.TwistItem3D extends com.fuelindustries.tween.items.MotionItem
{
var __beginx, __beginy, __beginz, __endx, __endy, __endz, __dx, __dy, __dz, __ampx, __ampy, __loops, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function TwistItem3D () {
super.constructor.apply(super, arguments);
}
function init(mc, endState, controlObj, duration, ease, callback, scope, args) {
__beginx = mc.x;
__beginy = mc.y;
__beginz = mc.z;
__endx = endState.x;
__endy = endState.y;
__endz = endState.z;
__dx = __endx - __beginx;
__dy = __endy - __beginy;
__dz = __endz - __beginz;
__ampx = controlObj.ampx;
__ampy = controlObj.ampy;
__loops = (controlObj.loops * 2) * Math.PI;
args = arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local4 = false;
if (__paused) {
return(_local4);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local7 = __ease(_local3, __beginx, __dx, __duration);
var _local6 = __ease(_local3, __beginy, __dy, __duration);
var _local8 = __ease(_local3, __beginz, __dz, __duration);
var _local5 = __ease(_local3, 0, __loops, __duration);
var _local2 = __mc.scale;
var _local10 = (((Math.sin(_local5) * __ampx) * _local2) + _local7) * _local2;
var _local9 = (((Math.cos(_local5) * __ampy) * _local2) + (_local6 - __ampy)) * _local2;
__mc.x = _local10;
__mc.y = _local9;
__mc.z = _local8;
if (__currentTime >= __endTime) {
_local4 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "twistTo3D");
return(_local4);
}
function tweenComplete() {
var _local3 = __currentTime - __endTime;
var _local2 = __mc.scale;
__mc.x = (((Math.sin(__loops) * __ampx) * _local2) + __endx) * _local2;
__mc.y = (((Math.cos(__loops) * __ampy) * _local2) + (__endy - __ampy)) * _local2;
__mc.z = __endz;
__callbackArgs.push(_local3);
}
function toString() {
return("[ MotionItem: TwistItem3D ]");
}
}
Symbol 880 MovieClip [__Packages.com.fuelindustries.tween.items.SizeItem] Frame 0
class com.fuelindustries.tween.items.SizeItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginWidth, __beginHeight, __endWidth, __endHeight, __dw, __dh, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function SizeItem () {
super.constructor.apply(super, arguments);
}
function init(mc, w, h, duration, ease, callback, scope, args) {
__beginWidth = mc._width;
__beginHeight = mc._height;
__endWidth = w;
__endHeight = h;
__dw = __endWidth - __beginWidth;
__dh = __endHeight - __beginHeight;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local5 = __ease(_local3, __beginWidth, __dw, __duration);
var _local4 = __ease(_local3, __beginHeight, __dh, __duration);
__mc._width = _local5;
__mc._height = _local4;
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "sizeTo");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc._width = __endWidth;
__mc._height = __endHeight;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: SizeItem ]");
}
}
Symbol 881 MovieClip [__Packages.com.fuelindustries.tween.items.ScaleItem] Frame 0
class com.fuelindustries.tween.items.ScaleItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginxScale, __beginyScale, __endxScale, __endyScale, __dx, __dy, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function ScaleItem () {
super.constructor.apply(super, arguments);
}
function init(mc, xs, ys, duration, ease, callback, scope, args) {
__beginxScale = mc._xscale;
__beginyScale = mc._yscale;
__endxScale = xs;
__endyScale = ys;
__dx = __endxScale - __beginxScale;
__dy = __endyScale - __beginyScale;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local5 = __ease(_local3, __beginxScale, __dx, __duration);
var _local4 = __ease(_local3, __beginyScale, __dy, __duration);
__mc._xscale = _local5;
__mc._yscale = _local4;
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "scaleTo");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc._xscale = __endxScale;
__mc._yscale = __endyScale;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: ScaleItem ]");
}
}
Symbol 882 MovieClip [__Packages.com.fuelindustries.tween.items.ScaleItem3D] Frame 0
class com.fuelindustries.tween.items.ScaleItem3D extends com.fuelindustries.tween.items.MotionItem
{
var __beginxScale, __beginyScale, __endxScale, __endyScale, __dx, __dy, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function ScaleItem3D () {
super.constructor.apply(super, arguments);
}
function init(mc, xs, ys, duration, ease, callback, scope, args) {
__beginxScale = mc.yscale;
__beginyScale = mc.xscale;
__endxScale = xs;
__endyScale = ys;
__dx = __endxScale - __beginxScale;
__dy = __endyScale - __beginyScale;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local5 = __ease(_local3, __beginxScale, __dx, __duration);
var _local4 = __ease(_local3, __beginyScale, __dy, __duration);
__mc.xscale = _local5;
__mc.yscale = _local4;
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "scaleTo3D");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.xscale = __endxScale;
__mc.yscale = __endyScale;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: ScaleItem3D ]");
}
}
Symbol 883 MovieClip [__Packages.com.fuelindustries.tween.items.StretchItem] Frame 0
class com.fuelindustries.tween.items.StretchItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginWidth, __beginHeight, __endWidth, __endHeight, __dw, __dh, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function StretchItem () {
super.constructor.apply(super, arguments);
}
function init(mc, w, h, duration, ease, callback, scope, args) {
__beginWidth = mc.width;
__beginHeight = mc.height;
__endWidth = w;
__endHeight = h;
__dw = __endWidth - __beginWidth;
__dh = __endHeight - __beginHeight;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local5 = __ease(_local3, __beginWidth, __dw, __duration);
var _local4 = __ease(_local3, __beginHeight, __dh, __duration);
__mc.width = _local5;
__mc.height = _local4;
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "stretchTo");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.width = __endWidth;
__mc.height = __endHeight;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: StretchItem ]");
}
}
Symbol 884 MovieClip [__Packages.com.fuelindustries.tween.items.RotateItem] Frame 0
class com.fuelindustries.tween.items.RotateItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginRotation, __endRotation, __dr, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function RotateItem () {
super.constructor.apply(super, arguments);
}
function init(mc, rotation, duration, ease, callback, scope, args) {
__beginRotation = mc._rotation;
__endRotation = rotation;
__dr = __endRotation - __beginRotation;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local4 = __currentTime - __startTime;
var _local2 = __ease(_local4, __beginRotation, __dr, __duration);
if (Math.abs(_local2) > 180) {
var _local5 = Math.ceil(_local2 / 360);
_local2 = _local2 - (360 * _local5);
}
__mc._rotation = _local2;
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "rotateTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc._rotation = __endRotation;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: RotateItem ]");
}
}
Symbol 885 MovieClip [__Packages.com.fuelindustries.tween.items.XRotateItem] Frame 0
class com.fuelindustries.tween.items.XRotateItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginRotation, __endRotation, __dr, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function XRotateItem () {
super.constructor.apply(super, arguments);
}
function init(mc, rotation, duration, ease, callback, scope, args) {
__beginRotation = mc.xrotation;
__endRotation = rotation;
__dr = __endRotation - __beginRotation;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local4 = __currentTime - __startTime;
var _local2 = __ease(_local4, __beginRotation, __dr, __duration);
if (Math.abs(_local2) > 180) {
var _local5 = Math.ceil(_local2 / 360);
_local2 = _local2 - (360 * _local5);
}
__mc.xrotation = _local2;
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "xrotateTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.xrotation = __endRotation;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: XRotateItem ]");
}
}
Symbol 886 MovieClip [__Packages.com.fuelindustries.tween.items.YRotateItem] Frame 0
class com.fuelindustries.tween.items.YRotateItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginRotation, __endRotation, __dr, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function YRotateItem () {
super.constructor.apply(super, arguments);
}
function init(mc, rotation, duration, ease, callback, scope, args) {
__beginRotation = mc.yrotation;
__endRotation = rotation;
__dr = __endRotation - __beginRotation;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local4 = __currentTime - __startTime;
var _local2 = __ease(_local4, __beginRotation, __dr, __duration);
if (Math.abs(_local2) > 180) {
var _local5 = Math.ceil(_local2 / 360);
_local2 = _local2 - (360 * _local5);
}
__mc.yrotation = _local2;
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "yrotateTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.yrotation = __endRotation;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: YRotateItem ]");
}
}
Symbol 887 MovieClip [__Packages.com.fuelindustries.tween.items.ZRotateItem] Frame 0
class com.fuelindustries.tween.items.ZRotateItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginRotation, __endRotation, __dr, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function ZRotateItem () {
super.constructor.apply(super, arguments);
}
function init(mc, rotation, duration, ease, callback, scope, args) {
__beginRotation = mc.zrotation;
__endRotation = rotation;
__dr = __endRotation - __beginRotation;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local4 = __currentTime - __startTime;
var _local2 = __ease(_local4, __beginRotation, __dr, __duration);
if (Math.abs(_local2) > 180) {
var _local5 = Math.ceil(_local2 / 360);
_local2 = _local2 - (360 * _local5);
}
__mc.zrotation = _local2;
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "zrotateTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.zrotation = __endRotation;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: ZRotateItem ]");
}
}
Symbol 888 MovieClip [__Packages.com.fuelindustries.tween.items.ColorItem] Frame 0
class com.fuelindustries.tween.items.ColorItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginr, __beging, __beginb, __endr, __endg, __endb, __dr, __dg, __db, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function ColorItem () {
super.constructor.apply(super, arguments);
}
function init(mc, color, duration, ease, callback, scope, args) {
var _local6 = new Color(mc);
var _local4 = _local6.getTransform();
__beginr = _local4.rb;
__beging = _local4.gb;
__beginb = _local4.bb;
__endr = color >> 16;
__endg = (color >> 8) & 255;
__endb = color & 255;
__dr = __endr - __beginr;
__dg = __endg - __beging;
__db = __endb - __beginb;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local3 = false;
if (__paused) {
return(_local3);
}
__currentTime = __currentTime + motionTime;
var _local2 = __currentTime - __startTime;
var _local5 = __ease(_local2, __beginr, __dr, __duration);
var _local7 = __ease(_local2, __beging, __dg, __duration);
var _local4 = __ease(_local2, __beginb, __db, __duration);
var _local6 = new Color(__mc);
_local6.setTransform({rb:_local5, gb:_local7, bb:_local4});
if (__currentTime >= __endTime) {
_local3 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "colorTo");
return(_local3);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
var _local3 = new Color(__mc);
_local3.setTransform({rb:__endr, gb:__endg, bb:__endb});
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: ColorItem ]");
}
}
Symbol 889 MovieClip [__Packages.com.fuelindustries.tween.items.AlphaItem] Frame 0
class com.fuelindustries.tween.items.AlphaItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginAlpha, __endAlpha, __da, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function AlphaItem () {
super.constructor.apply(super, arguments);
}
function init(mc, alpha, duration, ease, callback, scope, args) {
__beginAlpha = mc._alpha;
__endAlpha = alpha;
__da = __endAlpha - __beginAlpha;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local4 = __ease(_local3, __beginAlpha, __da, __duration);
__mc._alpha = _local4;
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "alphaTo");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc._alpha = __endAlpha;
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: AlphaItem ]");
}
}
Symbol 890 MovieClip [__Packages.com.fuelindustries.tween.items.FrameItem] Frame 0
class com.fuelindustries.tween.items.FrameItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginFrame, __endFrame, __df, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __callbackArgs;
function FrameItem () {
super.constructor.apply(super, arguments);
}
function init(mc, frame, duration, ease, callback, scope, args) {
__beginFrame = mc._currentframe;
__endFrame = ((frame > 1) ? (frame) : (Math.max(1, Math.round(mc._totalframes * frame))));
__df = __endFrame - __beginFrame;
arguments.splice(1, 1);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local2 = false;
if (__paused) {
return(_local2);
}
__currentTime = __currentTime + motionTime;
var _local3 = __currentTime - __startTime;
var _local4 = Math.round(__ease(_local3, __beginFrame, __df, __duration));
__mc.gotoAndStop(_local4);
if (__currentTime >= __endTime) {
_local2 = true;
tweenComplete();
}
__mc.onTweenUpdate.call(__mc, motionTime, "frameTo");
return(_local2);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__mc.gotoAndStop(__endFrame);
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: FrameItem ]");
}
}
Symbol 891 MovieClip [__Packages.com.fuelindustries.tween.items.TweenItem] Frame 0
class com.fuelindustries.tween.items.TweenItem extends com.fuelindustries.tween.items.MotionItem
{
var __beginState, __endState, __paused, __currentTime, __startTime, __ease, __duration, __mc, __endTime, __get__mc, __callbackArgs;
function TweenItem () {
super.constructor.apply(super, arguments);
}
function init(mc, beginState, endState, duration, ease, callback, scope, args) {
__beginState = beginState;
__endState = endState;
arguments.splice(1, 2);
super.init.apply(super, arguments);
}
function update(motionTime) {
var _local9 = false;
if (__paused) {
return(_local9);
}
__currentTime = __currentTime + motionTime;
var _local8 = __currentTime - __startTime;
var _local6 = [];
var _local7 = Math.min(__beginState.length, __endState.length);
var _local2 = 0;
while (_local2 < _local7) {
var _local3 = __beginState[_local2];
var _local4 = __endState[_local2] - _local3;
var _local5 = __ease(_local8, _local3, _local4, __duration);
_local6.push(_local5);
_local2++;
}
_local6.push(motionTime);
__mc.onTweenUpdate.apply(__mc, _local6);
if (__currentTime >= __endTime) {
_local9 = true;
tweenComplete();
}
return(_local9);
}
function tweenComplete() {
var _local2 = __currentTime - __endTime;
__get__mc().onTweenUpdate.apply(__get__mc(), __endState);
__callbackArgs.push(_local2);
}
function toString() {
return("[ MotionItem: TweenItem ]");
}
}
Symbol 892 MovieClip [__Packages.com.fuelindustries.debug.FDebug] Frame 0
class com.fuelindustries.debug.FDebug
{
var serverName, __enabled, lc, __looped;
function FDebug (sname) {
if (sname != undefined) {
serverName = sname;
} else {
serverName = "_FDEBUGWIN";
}
init();
}
function set enabled(val) {
__enabled = val;
//return(enabled);
}
function get enabled() {
return(__enabled);
}
function init() {
__enabled = true;
lc = new LocalConnection();
lc.host = this;
lc.allowDomain = function () {
return(true);
};
lc.traceProp = function (prop) {
this.host.getProp(prop);
};
lc.getObject = function (obj) {
this.host.getObject(obj);
};
lc.changeProp = function (prop, value) {
this.host.changeProp(prop, value);
};
lc.onStatus = function (info) {
for (var _local2 in info) {
}
};
lc.connect("_FDebugClient");
_global.FDebugHost = this;
_global.fTrace = function (msg) {
_global.FDebugHost.trace(msg);
};
_global.FTraceObject = function (obj, name) {
_global.FDebugHost.traceObject(obj, name);
};
}
function trace(msg) {
if (__enabled) {
lc.send(serverName, "trace", msg);
}
}
function traceObject(obj, name) {
trace(__traceObject(obj, name));
}
function getProp(prop) {
trace(eval (prop));
}
function getObject(obj) {
traceObject(eval (obj), obj);
}
function onLog(eventObj) {
trace(eventObj.message);
}
function __traceObject(obj, s, t) {
if (t == undefined) {
t = "\t";
} else {
t = t + "\t";
}
if (s == undefined) {
s = "Object: {";
} else {
s = s + "{";
}
for (var _local5 in obj) {
s = s + (newline + t);
if (!__looped) {
__looped = true;
}
if (obj[_local5] instanceof Array) {
s = s + __traceObject(obj[_local5], _local5 + ":Array ", t);
} else if (typeof(obj[_local5]) == "object") {
s = s + __traceObject(obj[_local5], _local5 + ":Object ", t);
} else if (typeof(obj[_local5]) == "function") {
s = s + (_local5 + ": (function)");
} else {
s = s + ((_local5 + ": ") + obj[_local5]);
}
}
return(((s + newline) + t.slice(0, -1)) + "}");
}
function setNumber(path, num) {
var objspl = path.split(".");
var prop = objspl[objspl.length - 1];
var obj = "";
var i = 0;
while (i < (objspl.length - 1)) {
obj = obj + objspl[i];
if (i != (objspl.length - 2)) {
obj = obj + ".";
}
i++;
}
obj = eval (obj);
obj[prop] = num;
}
function setString(path) {
var spl = path.split("=");
var objspl = spl[0].split(".");
var prop = objspl[objspl.length - 1];
var obj = "";
var i = 0;
while (i < (objspl.length - 1)) {
obj = obj + objspl[i];
if (i != (objspl.length - 2)) {
obj = obj + ".";
}
i++;
}
obj = eval (obj);
var val = spl[1];
obj[prop] = val;
}
function fireFunction(path) {
var spl = path.split("=");
var objspl = spl[0].split(".");
var prop = objspl[objspl.length - 1];
var obj = "";
var i = 0;
while (i < (objspl.length - 1)) {
obj = obj + objspl[i];
if (i != (objspl.length - 2)) {
obj = obj + ".";
}
i++;
}
obj = eval (obj);
var val = spl[1].split(",");
obj[prop].apply(obj, val);
}
function changeProp(prop, value) {
trace("update Property ");
var str = value;
var type = typeof(eval (prop));
switch (type) {
case "number" :
trace((("updating number " + prop) + " ") + str);
setNumber(prop, Number(str));
return;
case "string" :
trace((("updating number " + prop) + " ") + str);
setString((prop + "=") + str);
return;
case "function" :
trace((("firing function " + prop) + " with params ") + str);
fireFunction((prop + "=") + str);
}
}
}
Symbol 893 MovieClip [__Packages.com.fuelindustries.debug.Logger] Frame 0
class com.fuelindustries.debug.Logger
{
var __looped, logLevel, lastMsg, dispatchEvent;
function Logger () {
mx.events.EventDispatcher.initialize(this);
setLevel(DEBUG);
__looped = false;
}
static function getLog() {
if (log == null) {
log = new com.fuelindustries.debug.Logger();
}
return(log);
}
static function getLevelDesc(level) {
return(levelDescriptions[level]);
}
function setLevel(lev) {
lev = Math.floor(lev);
if ((lev >= FATAL) && (lev <= DEBUG)) {
logLevel = lev;
info("Log level set to: " + lev);
return(undefined);
}
warn("Invalid log level specified.");
}
function getLevel() {
return(logLevel);
}
function getLastMsg() {
return(lastMsg);
}
function fatal(msg) {
if (logLevel >= FATAL) {
lastMsg = new com.fuelindustries.debug.LogMessage(msg, FATAL);
onLog(lastMsg);
}
}
function error(msg) {
if (logLevel >= ERROR) {
lastMsg = new com.fuelindustries.debug.LogMessage(msg, ERROR);
onLog(lastMsg);
}
}
function warn(msg) {
if (logLevel >= WARN) {
lastMsg = new com.fuelindustries.debug.LogMessage(msg, WARN);
onLog(lastMsg);
}
}
function info(msg) {
if (logLevel >= INFO) {
lastMsg = new com.fuelindustries.debug.LogMessage(msg, INFO);
onLog(lastMsg);
}
}
function debug(msg) {
if (logLevel >= DEBUG) {
lastMsg = new com.fuelindustries.debug.LogMessage(msg, DEBUG);
onLog(lastMsg);
}
}
function debugObject(obj, name) {
var _local2 = __traceObject(obj, name);
debug(_local2);
}
function debugEvent(obj, name) {
var _local2 = __traceObject(obj, name, undefined, true);
debug(_local2);
}
function watchProp(obj, prop) {
obj.unwatch(prop);
var _local3 = "watching " + prop;
info(_local3);
obj.watch(prop, onWatch, this);
}
function onLog(msgObj) {
var _local2 = (("[" + getLevelDesc(msgObj.level)) + "] : ") + msgObj.message;
trace(_local2);
dispatchEvent({type:"onLog", target:this, message:_local2, level:msgObj.level});
}
function onWatch(prop, oldVal, newVal, userData) {
var _local1;
if (oldVal == undefined) {
_local1 = ((prop + " = ") + newVal) + " was not set to a newVal";
} else {
_local1 = (((prop + " = ") + newVal) + " was ") + oldVal;
}
userData.debug(_local1);
}
function __traceObject(obj, s, t, event) {
if (t == undefined) {
t = " ";
} else {
t = t + " ";
}
if (s == undefined) {
s = "Object: {";
} else {
s = s + "{";
}
for (var _local6 in obj) {
s = s + (newline + t);
if (!__looped) {
__looped = true;
}
if (obj[_local6] instanceof Array) {
s = s + __traceObject(obj[_local6], _local6 + ":Array ", t);
} else if (typeof(obj[_local6]) == "object") {
if (event) {
if (_local6 != "target") {
s = s + __traceObject(obj[_local6], _local6 + ":Object ", t);
}
} else {
s = s + __traceObject(obj[_local6], _local6 + ":Object ", t);
}
} else if (typeof(obj[_local6]) == "function") {
s = s + (_local6 + ": (function)");
} else {
s = s + ((_local6 + ": ") + obj[_local6]);
}
}
return(((s + newline) + t.slice(0, -1)) + "}");
}
function debugSimpleObject(obj) {
for (var _local3 in obj) {
debug((_local3 + " = ") + obj[_local3]);
}
}
static var log = null;
static var FATAL = 0;
static var ERROR = 1;
static var WARN = 2;
static var INFO = 3;
static var DEBUG = 4;
static var levelDescriptions = ["FATAL", "ERROR", "WARN", "INFO", "DEBUG"];
}
Symbol 894 MovieClip [__Packages.com.fuelindustries.debug.LogMessage] Frame 0
class com.fuelindustries.debug.LogMessage
{
var __level, __message;
function LogMessage (m, lev) {
message = (m);
level = (lev);
}
function set level(alevel) {
__level = alevel;
//return(level);
}
function get level() {
return(__level);
}
function set message(amessage) {
__message = amessage;
//return(message);
}
function get message() {
return(__message);
}
}
Symbol 895 MovieClip [__Packages.com.fuelindustries.core.FuelUI] Frame 0
class com.fuelindustries.core.FuelUI extends MovieClip
{
var methodTable, __width, __height, dispatchEvent, _x, _y, _visible, _name, _endInit, validateNow, _width, _height, _focusrect, __delegates, initProperties, initializing, childrenCreated, hasOwnProperty, createEmptyMovieClip, _xscale, _yscale, __enabled;
function FuelUI () {
super();
constructObject();
initEventDispatcher();
}
function initEventDispatcher() {
mx.events.EventDispatcher.initialize(this);
}
function invalidate(Void) {
invalidateFlag = true;
com.fuelindustries.utils.IntervalManager.skipFrames(this, "redraw");
}
function cancelAllDoLaters(Void) {
methodTable = new Array();
}
function doLater(obj, fn) {
arguments.splice(2, 0, 1);
com.fuelindustries.utils.IntervalManager.skipFrames.apply(com.fuelindustries.utils.IntervalManager, arguments);
}
function setSize(w, h) {
__width = ((w == null) ? (__width) : (w));
__height = ((h == null) ? (__height) : (h));
size();
dispatchEvent({target:this, type:"resize"});
}
function move(x, y) {
_x = x;
_y = y;
}
function hide() {
_visible = false;
}
function show() {
_visible = true;
}
function constructObject(Void) {
if (_name == undefined) {
return(undefined);
}
init();
_createChildren();
_endInit();
if (validateNow) {
redraw(true);
} else {
invalidate();
}
}
function init(Void) {
__width = _width;
__height = _height;
_focusrect = false;
__delegates = {};
if (initProperties == undefined) {
initFromClipParameters();
} else {
initProperties();
}
initializing = true;
}
function createChildren(Void) {
initializing = false;
}
function _createChildren(Void) {
createChildren();
childrenCreated = true;
}
function draw(Void) {
size();
}
function redraw(bAlways) {
if (invalidateFlag || (bAlways)) {
invalidateFlag = false;
draw();
dispatchEvent({type:"draw"});
}
}
function size(Void) {
}
function doLaterDispatcher(Void) {
if (invalidateFlag) {
redraw();
}
var _local3 = methodTable;
methodTable = new Array();
if (_local3.length > 0) {
var _local2;
while (_local2 = _local3.shift() , _local2 != undefined) {
_local2.obj[_local2.fn].apply(_local2.obj, _local2.args);
}
}
}
function initFromClipParameters(Void) {
var _local4 = false;
var _local2;
for (_local2 in clipParameters) {
if (hasOwnProperty(_local2)) {
_local4 = true;
this["def_" + _local2] = this[_local2];
delete this[_local2];
}
}
if (_local4) {
for (_local2 in clipParameters) {
var _local3 = this["def_" + _local2];
if (_local3 != undefined) {
this[_local2] = _local3;
}
}
}
}
function createMovieClip(instanceName, depth) {
var _local2 = createEmptyMovieClip(instanceName, depth);
return(_local2);
}
function forceScale() {
_xscale = 100;
_yscale = 100;
}
function getDelegate(func) {
var _local2 = __delegates[func];
if (_local2 == undefined) {
_local2 = com.fuelindustries.utils.Delegate.create(this, this[func]);
__delegates[func] = _local2;
}
return(_local2);
}
static function mergeClipParameters(o, p) {
for (var _local3 in p) {
o[_local3] = p[_local3];
}
return(true);
}
function set enabled(e) {
__enabled = e;
invalidate();
//return(enabled);
}
function get enabled() {
return(__enabled);
}
function set x(X) {
_x = X;
//return(x);
}
function get x() {
return(_x);
}
function set y(Y) {
_y = Y;
//return(y);
}
function get y() {
return(_y);
}
function set right(r) {
_x = x + (r - width);
//return(right);
}
function get right() {
return(x + width);
}
function set bottom(b) {
_y = y + (b - height);
//return(bottom);
}
function get bottom() {
return(y + height);
}
function set width(w) {
_width = w;
//return(width);
}
function get width() {
return(_width);
}
function set height(h) {
_height = h;
//return(height);
}
function get height() {
return(_height);
}
var invalidateFlag = false;
var clipParameters = {enabled:1};
}
Symbol 896 MovieClip [__Packages.com.fuelindustries.utils.IntervalManager] Frame 0
class com.fuelindustries.utils.IntervalManager extends Object
{
function IntervalManager () {
super();
}
static function setInterval(scope, func, interval) {
var _local2 = new com.fuelindustries.utils.IntervalCall();
_local2.constructor.apply(_local2, arguments);
__uniqueId++;
_local2.id = __uniqueId;
__callList[__uniqueId] = _local2;
return(__uniqueId);
}
static function callIn(scope, func, interval) {
var _local2 = new com.fuelindustries.utils.IntervalCall();
_local2.sequence = true;
_local2.constructor.apply(_local2, arguments);
}
static function skipFrames(scope, func, frames) {
var _local2 = new com.fuelindustries.utils.FrameCall();
_local2.constructor.apply(_local2, arguments);
}
static function getInterval(id) {
return(__callList[id]);
}
static function clearInterval(id) {
getInterval(id).cancel();
delete __callList[id];
}
static function getIntervals() {
return(__callList);
}
static function stopAll() {
for (var _local2 in __callList) {
var _local1 = Number(_local2);
clearInterval(_local1);
}
}
static var __callList = {};
static var __uniqueId = 0;
}
Symbol 897 MovieClip [__Packages.com.fuelindustries.utils.IntervalCall] Frame 0
class com.fuelindustries.utils.IntervalCall
{
var __sequence, __id, __timediff, __timesExecuted, __interval, __delegate, __startTime;
function IntervalCall () {
if (arguments.length > 0) {
init.apply(this, arguments);
}
}
function set sequence(val) {
__sequence = val;
//return(sequence);
}
function get sequence() {
return(__sequence);
}
function set id(aid) {
__id = aid;
//return(id);
}
function get id() {
return(__id);
}
function get timeDifference() {
return(__timediff);
}
function init() {
__timesExecuted = 0;
var _local3 = arguments[0];
arguments[1] = _local3[arguments[1]];
__interval = arguments.splice(2, 1)[0];
arguments.push(this);
__delegate = com.fuelindustries.utils.Delegate.create.apply(this, arguments);
com.fuelindustries.tween.TweenEnterFrame.init();
com.fuelindustries.tween.TweenEnterFrame.addListener(this);
}
function onEnterFrame() {
if (__startTime == undefined) {
__startTime = getTimer();
return(undefined);
}
__timediff = getTimer() - __startTime;
if (__timediff >= __interval) {
__startTime = getTimer();
execute();
}
}
function execute() {
__timesExecuted++;
__delegate.apply(this, []);
if (__sequence) {
com.fuelindustries.tween.TweenEnterFrame.removeListener(this);
}
}
function getTimesExecuted() {
return(__timesExecuted);
}
function cancel() {
if (arguments.caller != com.fuelindustries.utils.IntervalManager.clearInterval) {
com.fuelindustries.utils.IntervalManager.clearInterval(__id);
} else {
com.fuelindustries.tween.TweenEnterFrame.removeListener(this);
}
}
function toString() {
return("[ Object, IntervalCall ]");
}
}
Symbol 898 MovieClip [__Packages.com.fuelindustries.utils.Delegate] Frame 0
class com.fuelindustries.utils.Delegate extends Object
{
function Delegate () {
super();
}
static function create(target, func) {
var fullparams = new Array();
var _local2 = 2;
while (_local2 < arguments.length) {
fullparams[_local2 - 2] = arguments[_local2];
_local2++;
}
return(function () {
var _local2 = arguments.concat(fullparams);
return(func.apply(target, _local2));
});
}
}
Symbol 899 MovieClip [__Packages.com.fuelindustries.utils.FrameCall] Frame 0
class com.fuelindustries.utils.FrameCall
{
var __currentFrame, __framesToSkip, __delegate;
function FrameCall () {
if (arguments.length > 0) {
init.apply(this, arguments);
}
}
function init() {
__currentFrame = 0;
var _local3 = arguments[0];
arguments[1] = _local3[arguments[1]];
__framesToSkip = arguments.splice(2, 1)[0];
if (__framesToSkip == undefined) {
__framesToSkip = 1;
}
__delegate = com.fuelindustries.utils.Delegate.create.apply(this, arguments);
com.fuelindustries.tween.TweenEnterFrame.init();
com.fuelindustries.tween.TweenEnterFrame.addListener(this);
}
function onEnterFrame() {
__currentFrame++;
if (__currentFrame == __framesToSkip) {
execute();
}
}
function execute() {
__delegate.apply(this, []);
com.fuelindustries.tween.TweenEnterFrame.removeListener(this);
}
function toString() {
return("[ Object, FrameCall ]");
}
}
Symbol 900 MovieClip [__Packages.com.fuelindustries.containers.ModalWindow] Frame 0
class com.fuelindustries.containers.ModalWindow extends com.fuelindustries.core.FuelUI
{
var __enabled, onRelease, onReleaseOutside, onRollOver, onRollOut, onDragOut, onPress, useHandCursor, _alpha;
function ModalWindow () {
super();
}
function init() {
super.init();
__enabled = false;
disableStates();
}
function disableStates() {
onRelease = (onReleaseOutside = undefined);
onRollOver = undefined;
onRollOut = (onDragOut = undefined);
onPress = undefined;
useHandCursor = false;
}
function hide() {
_alpha = 0;
}
function show() {
_alpha = 100;
}
var clipParameters = {enabled:1};
static var mergedClipParameters = com.fuelindustries.core.FuelUI.mergeClipParameters(com.fuelindustries.containers.ModalWindow.prototype.clipParameters, com.fuelindustries.core.FuelUI.prototype.clipParameters);
}
Symbol 901 MovieClip [__Packages.com.winx.controls.SparkleRain] Frame 0
class com.winx.controls.SparkleRain extends com.fuelindustries.core.FuelUI
{
var depthID, attachMovie;
function SparkleRain () {
super();
}
function init() {
super.init();
depthID = 1;
}
function newWave() {
depthID++;
var _local2 = attachMovie("sparkleani_mc", "sparkleani" + depthID, depthID);
_local2._alpha = 30;
com.fuelindustries.utils.IntervalManager.callIn(this, "removeClip", 6000, _local2);
}
function removeClip(sparkles) {
sparkles.removeMovieClip();
}
}
Symbol 902 MovieClip [__Packages.com.winx.controls.BodyPart] Frame 0
class com.winx.controls.BodyPart extends com.fuelindustries.core.FuelUI
{
var __minorStyle, __majorStyle, __fadeId, __animating, gotoAndStop, __minorStyles, __newFrame, __sparkleFade, __effectStep, onEnterFrame, __linkageName, attachMovie, _currentframe, __fade_mc, filters, getBounds, _parent, hitTest, __majorStyles, __get__sparkleFade, __get__linkageName;
function BodyPart () {
super();
}
function init() {
super.init();
}
function onLoad() {
__minorStyle = 1;
__majorStyle = 1;
__fadeId = 1;
__animating = false;
}
function isAnimating() {
return(__animating);
}
function instantClipFrame() {
(gotoAndStop(((__majorStyle - 1) * __minorStyles) + __minorStyle));// not popped
}
function refreshClipFrame(changingColour) {
__newFrame = ((__majorStyle - 1) * __minorStyles) + __minorStyle;
if ((__sparkleFade && (changingColour == undefined)) || (changingColour == false)) {
__animating = true;
__effectStep = 0;
onEnterFrame = sparkle;
if (__linkageName != "new_hair_back_mc") {
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("buttonappearoraction");
}
} else {
var _local2 = attachMovie(__linkageName, "fadeClip" + __fadeId, __fadeId);
_local2.gotoAndStop(_currentframe);
_local2.alphaTo(0, 250, "", _local2.removeMovieClip, _local2);
__fadeId++;
(gotoAndStop(__newFrame));// not popped
}
}
function sparkle() {
__effectStep = __effectStep + 25;
if (__linkageName == "new_wings_mc") {
if (__effectStep == 25) {
__fade_mc = attachMovie(__linkageName, "fadeClip" + __fadeId, __fadeId);
__fade_mc.gotoAndStop(__newFrame);
__fade_mc._alpha = 0;
var _local3 = new flash.geom.Transform(__fade_mc);
var _local2 = _local3.colorTransform;
_local2.redOffset = 250;
_local2.greenOffset = 250;
_local2.blueOffset = 250;
_local3.colorTransform = _local2;
var _local4 = new flash.filters.BlurFilter(5, 5, 1);
__fade_mc.filters = [_local4];
__fadeId++;
} else if (__effectStep == 275) {
__fade_mc.removeMovieClip();
__fade_mc = attachMovie(__linkageName, "fadeClip" + __fadeId, __fadeId);
__fade_mc.gotoAndStop(_currentframe);
var _local3 = new flash.geom.Transform(__fade_mc);
var _local2 = _local3.colorTransform;
_local2.redOffset = 250;
_local2.greenOffset = 250;
_local2.blueOffset = 250;
_local3.colorTransform = _local2;
var _local4 = new flash.filters.BlurFilter(5, 5, 1);
__fade_mc.filters = [_local4];
__fade_mc.alphaTo(0, 250, "", __fade_mc.removeMovieClip, __fade_mc);
__fadeId++;
}
if (__effectStep > 500) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redOffset = 0;
_local2.greenOffset = 0;
_local2.blueOffset = 0;
_local3.colorTransform = _local2;
filters = [];
delete onEnterFrame;
__animating = false;
} else if (__effectStep > 250) {
(gotoAndStop(__newFrame));// not popped
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redOffset = 500 - __effectStep;
_local2.greenOffset = 500 - __effectStep;
_local2.blueOffset = 500 - __effectStep;
_local3.colorTransform = _local2;
var _local4 = new flash.filters.BlurFilter((500 - __effectStep) / 50, (500 - __effectStep) / 50, 1);
filters = [_local4];
__animating = false;
} else {
__fade_mc._alpha = Math.round(Math.pow(__effectStep, 5) / 9765625000);
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redOffset = __effectStep;
_local2.greenOffset = __effectStep;
_local2.blueOffset = __effectStep;
_local3.colorTransform = _local2;
var _local4 = new flash.filters.BlurFilter(__effectStep / 50, __effectStep / 50, 1);
filters = [_local4];
}
} else if (__effectStep > 500) {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redOffset = 0;
_local2.greenOffset = 0;
_local2.blueOffset = 0;
_local3.colorTransform = _local2;
filters = [];
delete onEnterFrame;
} else if (__effectStep > 250) {
(gotoAndStop(__newFrame));// not popped
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redOffset = 500 - __effectStep;
_local2.greenOffset = 500 - __effectStep;
_local2.blueOffset = 500 - __effectStep;
_local3.colorTransform = _local2;
var _local4 = new flash.filters.BlurFilter((500 - __effectStep) / 50, (500 - __effectStep) / 50, 1);
filters = [_local4];
__animating = false;
} else {
var _local3 = new flash.geom.Transform(this);
var _local2 = _local3.colorTransform;
_local2.redOffset = __effectStep;
_local2.greenOffset = __effectStep;
_local2.blueOffset = __effectStep;
_local3.colorTransform = _local2;
var _local4 = new flash.filters.BlurFilter(__effectStep / 50, __effectStep / 50, 1);
filters = [_local4];
}
if (__effectStep == 250) {
createSparkles();
}
}
function createSparkles() {
var _local4;
var _local5;
var _local2 = getBounds(_parent);
var _local7 = (_local2.xMax - _local2.xMin) + (_local2.yMax - _local2.yMin);
if (_local7 == 0) {
return(undefined);
}
var _local3 = {x:0, y:0};
var _local6 = 0;
while ((_local6 < (_local7 / 5)) || (_local6 < 20)) {
if (__linkageName == "new_wings_mc") {
_local4 = _parent.wingSparkleContainer_mc.makeNewSparkle();
} else {
_local4 = _parent.sparkleContainer_mc.makeNewSparkle();
}
_local5 = 0;
do {
_local5++;
_local3.x = _local2.xMin + (Math.random() * (_local2.xMax - _local2.xMin));
_local3.y = _local2.yMin + (Math.random() * (_local2.yMax - _local2.yMin));
} while ((hitTest(_local3.x, _local3.y, true) == false) && (_local5 < 50));
_local4._x = _local3.x;
_local4._y = _local3.y;
_local4._width = _local4._width / 3;
_local4._height = _local4._height / 3;
_local6++;
}
}
function setMinorStyle(styleValue, force) {
if (styleValue == __minorStyle) {
return(undefined);
}
__minorStyle = styleValue;
if (__minorStyle > __minorStyles) {
__minorStyle = __minorStyles;
} else if (__minorStyle < 1) {
__minorStyle = 1;
}
if (force == true) {
instantClipFrame();
} else if (__majorStyles == 1) {
refreshClipFrame();
} else {
refreshClipFrame(true);
}
}
function setMajorStyle(styleValue, force) {
if (styleValue == __majorStyle) {
return(undefined);
}
__majorStyle = styleValue;
if (__majorStyle > __majorStyles) {
__majorStyle = __majorStyles;
} else if (__majorStyle < 1) {
__majorStyle = 1;
}
if (force == true) {
instantClipFrame();
} else {
refreshClipFrame();
}
}
function set minorStyles(item) {
__minorStyles = item;
//return(minorStyles);
}
function set majorStyles(item) {
__majorStyles = item;
//return(majorStyles);
}
function set sparkleFade(item) {
__sparkleFade = item;
//return(__get__sparkleFade());
}
function set linkageName(item) {
__linkageName = item;
//return(__get__linkageName());
}
function get minorStyles() {
return(__minorStyles);
}
function get majorStyles() {
return(__majorStyles);
}
}
Symbol 903 MovieClip [__Packages.com.winx.controls.SparkleContainer] Frame 0
class com.winx.controls.SparkleContainer extends com.fuelindustries.core.FuelUI
{
var __sparkleId, attachMovie;
function SparkleContainer () {
super();
}
function init() {
super.init();
__sparkleId = 0;
}
function onLoad() {
}
function makeNewSparkle() {
__sparkleId++;
return(attachMovie("sparkle_mc", "sparkle" + __sparkleId, __sparkleId));
}
}
Symbol 904 MovieClip [__Packages.com.winx.controls.Sparkle] Frame 0
class com.winx.controls.Sparkle extends com.fuelindustries.core.FuelUI
{
var __xFriction, __yGravity, __xSpeed, __ySpeed, __totalDuration, __duration, onEnterFrame, _x, _y, removeMovieClip, _alpha;
function Sparkle () {
super();
}
function init() {
super.init();
}
function onLoad() {
__xFriction = 0.95;
__yGravity = 0.3;
__xSpeed = (Math.random() * 20) - 10;
__ySpeed = Math.random() * -6;
__totalDuration = 40;
__duration = 30;
onEnterFrame = animate;
}
function animate() {
_x = _x + __xSpeed;
_y = _y + __ySpeed;
__xSpeed = __xSpeed * __xFriction;
__ySpeed = __ySpeed + __yGravity;
__duration--;
if (__duration <= 0) {
delete onEnterFrame;
(removeMovieClip());// not popped
} else {
_alpha = Math.round((__duration / __totalDuration) * 100);
}
}
}
Symbol 905 MovieClip [__Packages.com.winx.controls.ItemSelector] Frame 0
class com.winx.controls.ItemSelector extends com.fuelindustries.core.FuelUI
{
var styles, categoryLeftBtn_mc, categoryRightBtn_mc, styleLeftBtn_mc, styleRightBtn_mc, colourLeftBtn_mc, colourRightBtn_mc, category_mc, style_mc, colour_mc, _parent, __so;
function ItemSelector () {
super();
}
function init() {
super.init();
}
function onLoad() {
styles = {};
styles[1] = {startStyle:1, endStyle:1, style:1, startColour:17, endColour:21, colour:1};
styles[2] = {startStyle:6, endStyle:14, style:1, startColour:1, endColour:6, colour:1};
styles[3] = {startStyle:15, endStyle:19, style:1, startColour:7, endColour:11, colour:1};
styles[4] = {startStyle:20, endStyle:24, style:1, startColour:7, endColour:11, colour:1};
styles[5] = {startStyle:25, endStyle:29, style:1, startColour:7, endColour:11, colour:1};
styles[6] = {startStyle:30, endStyle:34, style:1, startColour:7, endColour:11, colour:1};
styles[7] = {startStyle:35, endStyle:39, style:1, startColour:-1, endColour:-1, colour:1};
styles[8] = {startStyle:40, endStyle:44, style:1, startColour:-1, endColour:-1, colour:1};
styles[9] = {startStyle:45, endStyle:49, style:1, startColour:-1, endColour:-1, colour:1};
styles[10] = {startStyle:50, endStyle:51, style:2, startColour:12, endColour:16, colour:1};
styles[11] = {startStyle:52, endStyle:56, style:1, startColour:-1, endColour:-1, colour:1};
styles[12] = {startStyle:57, endStyle:61, style:1, startColour:-1, endColour:-1, colour:1};
styles[13] = {startStyle:62, endStyle:66, style:1, startColour:7, endColour:11, colour:1};
styles[14] = {startStyle:67, endStyle:71, style:1, startColour:-1, endColour:-1, colour:1};
loadStyles();
refreshAvatarStyle();
refreshStyle();
categoryLeftBtn_mc.onRelease = com.fuelindustries.utils.Delegate.create(this, categoryLeftClick);
categoryRightBtn_mc.onRelease = com.fuelindustries.utils.Delegate.create(this, categoryRightClick);
styleLeftBtn_mc.onRelease = com.fuelindustries.utils.Delegate.create(this, styleLeftClick);
styleRightBtn_mc.onRelease = com.fuelindustries.utils.Delegate.create(this, styleRightClick);
colourLeftBtn_mc.onRelease = com.fuelindustries.utils.Delegate.create(this, colourLeftClick);
colourRightBtn_mc.onRelease = com.fuelindustries.utils.Delegate.create(this, colourRightClick);
}
function categoryLeftClick() {
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("button2");
if (category_mc._currentframe == 1) {
category_mc.gotoAndStop(category_mc._totalframes);
} else {
category_mc.gotoAndStop(category_mc._currentframe - 1);
}
refreshStyle();
}
function categoryRightClick() {
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("button2");
if (category_mc._currentframe == category_mc._totalframes) {
category_mc.gotoAndStop(1);
} else {
category_mc.gotoAndStop(category_mc._currentframe + 1);
}
refreshStyle();
}
function refreshStyle() {
style_mc.gotoAndStop((styles[category_mc._currentframe].startStyle + styles[category_mc._currentframe].style) - 1);
if (styles[category_mc._currentframe].startColour == -1) {
colour_mc.gotoAndStop("none");
} else {
colour_mc.gotoAndStop((styles[category_mc._currentframe].startColour + styles[category_mc._currentframe].colour) - 1);
}
}
function styleLeftClick() {
if (style_mc._currentframe == 1) {
return(undefined);
}
if (getStyleClip(category_mc._currentframe).isAnimating()) {
return(undefined);
}
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("button2");
if (style_mc._currentframe <= styles[category_mc._currentframe].startStyle) {
style_mc.gotoAndStop(styles[category_mc._currentframe].endStyle);
} else {
style_mc.gotoAndStop(style_mc._currentframe - 1);
}
styles[category_mc._currentframe].style = (style_mc._currentframe - styles[category_mc._currentframe].startStyle) + 1;
refreshAvatarStyle(category_mc._currentframe);
}
function styleRightClick() {
if (style_mc._currentframe == 1) {
return(undefined);
}
if (getStyleClip(category_mc._currentframe).isAnimating()) {
return(undefined);
}
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("button2");
if (style_mc._currentframe >= styles[category_mc._currentframe].endStyle) {
style_mc.gotoAndStop(styles[category_mc._currentframe].startStyle);
} else {
style_mc.gotoAndStop(style_mc._currentframe + 1);
}
styles[category_mc._currentframe].style = (style_mc._currentframe - styles[category_mc._currentframe].startStyle) + 1;
refreshAvatarStyle(category_mc._currentframe);
}
function colourLeftClick() {
if (colour_mc._currentframe == 22) {
return(undefined);
}
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("button2");
if (colour_mc._currentframe <= styles[category_mc._currentframe].startColour) {
colour_mc.gotoAndStop(styles[category_mc._currentframe].endColour);
} else {
colour_mc.gotoAndStop(colour_mc._currentframe - 1);
}
styles[category_mc._currentframe].colour = (colour_mc._currentframe - styles[category_mc._currentframe].startColour) + 1;
refreshAvatarStyle(category_mc._currentframe);
}
function colourRightClick() {
if (colour_mc._currentframe == 22) {
return(undefined);
}
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("button2");
if (colour_mc._currentframe >= styles[category_mc._currentframe].endColour) {
colour_mc.gotoAndStop(styles[category_mc._currentframe].startColour);
} else {
colour_mc.gotoAndStop(colour_mc._currentframe + 1);
}
styles[category_mc._currentframe].colour = (colour_mc._currentframe - styles[category_mc._currentframe].startColour) + 1;
refreshAvatarStyle(category_mc._currentframe);
}
function getStyleClip(styleIndex) {
switch (styleIndex) {
case 1 :
return(_parent.winxAvatar_mc.body_mc);
case 2 :
return(_parent.winxAvatar_mc.hair_mc);
case 3 :
return(_parent.winxAvatar_mc.top_mc);
case 4 :
return(_parent.winxAvatar_mc.bottom_mc);
case 5 :
return(_parent.winxAvatar_mc.arms_mc);
case 6 :
return(_parent.winxAvatar_mc.shoes_mc);
case 7 :
return(_parent.winxAvatar_mc.wings_mc);
case 8 :
return(_parent.background_mc);
case 9 :
return(_parent.winxAvatar_mc.necklace_mc);
case 10 :
return(_parent.winxAvatar_mc.eyes_mc);
case 11 :
return(_parent.winxAvatar_mc.lips_mc);
case 12 :
return(_parent.winxAvatar_mc.nose_mc);
case 13 :
return(_parent.winxAvatar_mc.earing_mc);
case 14 :
return(_parent.winxAvatar_mc.brows_mc);
}
}
function refreshAvatarStyle(categoryClip) {
if ((categoryClip == 1) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.body_mc.setMajorStyle(styles[1].style, categoryClip == undefined);
_parent.winxAvatar_mc.body_mc.setMinorStyle(styles[1].colour, categoryClip == undefined);
_parent.winxAvatar_mc.hand_mc.setMajorStyle(styles[1].style, categoryClip == undefined);
_parent.winxAvatar_mc.hand_mc.setMinorStyle(styles[1].colour, categoryClip == undefined);
__so.data.body = styles[1].style;
__so.data.bodyColour = styles[1].colour;
__so.flush();
}
if ((categoryClip == 2) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.hair_mc.setMajorStyle(styles[2].style, categoryClip == undefined);
_parent.winxAvatar_mc.hair_mc.setMinorStyle(styles[2].colour, categoryClip == undefined);
_parent.winxAvatar_mc.backHair_mc.setMajorStyle(styles[2].style, categoryClip == undefined);
_parent.winxAvatar_mc.backHair_mc.setMinorStyle(styles[2].colour, categoryClip == undefined);
__so.data.hair = styles[2].style;
__so.data.hairColour = styles[2].colour;
__so.flush();
}
if ((categoryClip == 3) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.top_mc.setMajorStyle(styles[3].style, categoryClip == undefined);
_parent.winxAvatar_mc.top_mc.setMinorStyle(styles[3].colour, categoryClip == undefined);
__so.data.top = styles[3].style;
__so.data.topColour = styles[3].colour;
__so.flush();
}
if ((categoryClip == 4) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.bottom_mc.setMajorStyle(styles[4].style, categoryClip == undefined);
_parent.winxAvatar_mc.bottom_mc.setMinorStyle(styles[4].colour, categoryClip == undefined);
__so.data.bottom = styles[4].style;
__so.data.bottomColour = styles[4].colour;
__so.flush();
}
if ((categoryClip == 5) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.arms_mc.setMajorStyle(styles[5].style, categoryClip == undefined);
_parent.winxAvatar_mc.arms_mc.setMinorStyle(styles[5].colour, categoryClip == undefined);
__so.data.arms = styles[5].style;
__so.data.armsColour = styles[5].colour;
__so.flush();
}
if ((categoryClip == 6) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.shoes_mc.setMajorStyle(styles[6].style, categoryClip == undefined);
_parent.winxAvatar_mc.shoes_mc.setMinorStyle(styles[6].colour, categoryClip == undefined);
__so.data.shoes = styles[6].style;
__so.data.shoesColour = styles[6].colour;
__so.flush();
}
if ((categoryClip == 7) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.wings_mc.setMinorStyle(styles[7].style, categoryClip == undefined);
__so.data.wings = styles[7].style;
__so.flush();
}
if ((categoryClip == 8) || (categoryClip == undefined)) {
_parent.background_mc.setMinorStyle(styles[8].style, categoryClip == undefined);
__so.data.background = styles[8].style;
__so.flush();
}
if ((categoryClip == 9) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.necklace_mc.setMinorStyle(styles[9].style, categoryClip == undefined);
__so.data.necklace = styles[9].style;
__so.flush();
}
if ((categoryClip == 10) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.eyes_mc.setMajorStyle(styles[10].style, categoryClip == undefined);
_parent.winxAvatar_mc.eyes_mc.setMinorStyle(styles[10].colour, categoryClip == undefined);
__so.data.eyes = styles[10].style;
__so.data.eyesColour = styles[10].colour;
__so.flush();
}
if ((categoryClip == 11) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.lips_mc.setMinorStyle(styles[11].style, categoryClip == undefined);
__so.data.lips = styles[11].style;
__so.flush();
}
if ((categoryClip == 12) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.nose_mc.setMinorStyle(styles[12].style, categoryClip == undefined);
__so.data.nose = styles[12].style;
__so.flush();
}
if ((categoryClip == 13) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.earing_mc.setMajorStyle(styles[13].style, categoryClip == undefined);
_parent.winxAvatar_mc.earing_mc.setMinorStyle(styles[13].colour, categoryClip == undefined);
__so.data.earrings = styles[13].style;
__so.data.earringsColour = styles[13].colour;
__so.flush();
}
if ((categoryClip == 14) || (categoryClip == undefined)) {
_parent.winxAvatar_mc.brows_mc.setMinorStyle(styles[14].style, categoryClip == undefined);
__so.data.eyebrows = styles[14].style;
__so.flush();
}
}
function randomize(refresAvatar) {
var _local2 = 1;
while (_local2 <= 14) {
styles[_local2].style = Math.round(Math.random() * ((styles[_local2].endStyle - styles[_local2].startStyle) + 1)) + 1;
styles[_local2].colour = Math.round(Math.random() * ((styles[_local2].endColour - styles[_local2].startColour) + 1)) + 1;
_local2++;
}
if (refresAvatar == true) {
refreshAvatarStyle();
}
}
function loadStyles() {
__so = SharedObject.getLocal(__soName);
if (!isNaN(__so.data.body)) {
styles[1].style = __so.data.body;
}
if (!isNaN(__so.data.bodyColour)) {
styles[1].colour = __so.data.bodyColour;
}
if (!isNaN(__so.data.hair)) {
styles[2].style = __so.data.hair;
}
if (!isNaN(__so.data.hairColour)) {
styles[2].colour = __so.data.hairColour;
}
if (!isNaN(__so.data.top)) {
styles[3].style = __so.data.top;
}
if (!isNaN(__so.data.topColour)) {
styles[3].colour = __so.data.topColour;
}
if (!isNaN(__so.data.bottom)) {
styles[4].style = __so.data.bottom;
}
if (!isNaN(__so.data.bottomColour)) {
styles[4].colour = __so.data.bottomColour;
}
if (!isNaN(__so.data.arms)) {
styles[5].style = __so.data.arms;
}
if (!isNaN(__so.data.armsColour)) {
styles[5].colour = __so.data.armsColour;
}
if (!isNaN(__so.data.shoes)) {
styles[6].style = __so.data.shoes;
}
if (!isNaN(__so.data.shoesColour)) {
styles[6].colour = __so.data.shoesColour;
}
if (!isNaN(__so.data.wings)) {
styles[7].style = __so.data.wings;
}
if (!isNaN(__so.data.background)) {
styles[8].style = __so.data.background;
}
if (!isNaN(__so.data.necklace)) {
styles[9].style = __so.data.necklace;
}
if (!isNaN(__so.data.eyes)) {
styles[10].style = __so.data.eyes;
}
if (!isNaN(__so.data.eyesColour)) {
styles[10].colour = __so.data.eyesColour;
}
if (!isNaN(__so.data.lips)) {
styles[11].style = __so.data.lips;
}
if (!isNaN(__so.data.nose)) {
styles[12].style = __so.data.nose;
}
if (!isNaN(__so.data.earrings)) {
styles[13].style = __so.data.earrings;
}
if (!isNaN(__so.data.earringsColour)) {
styles[13].colour = __so.data.earringsColour;
}
if (!isNaN(__so.data.eyebrows)) {
styles[14].style = __so.data.eyebrows;
}
}
var __soName = "Winx_Avatar";
}
Symbol 906 MovieClip [__Packages.com.winx.controls.YellowDot] Frame 0
class com.winx.controls.YellowDot extends com.fuelindustries.core.FuelUI
{
var _x, _y;
function YellowDot () {
super();
}
function init() {
super.init();
}
function onLoad() {
}
function onEnterFrame() {
_x = _x + ((Math.random() * 2) - 1);
_y = _y + ((Math.random() * 2) - 1);
if (_x < xMin) {
_x = xMin;
}
if (_x > xMax) {
_x = xMax;
}
if (_y < yMin) {
_y = yMin;
}
if (_y > yMax) {
_y = yMax;
}
}
var xMin = -5;
var xMax = 5;
var yMin = -5;
var yMax = 5;
}
Symbol 907 MovieClip [__Packages.com.winx.core.Main] Frame 0
class com.winx.core.Main extends com.fuelindustries.core.FuelUI
{
var __depth, itemSelector_mc, winxAvatar_mc, background_mc, getURL, sendtoafriend_mc;
function Main () {
super();
}
function init() {
super.init();
__depth = 1;
}
function onLoad() {
}
function randomizeClick() {
itemSelector_mc.randomize(true);
}
function download(desktopSize) {
var _local2;
_local2 = _level0.baseurl;
if (desktopSize == 3) {
_local2 = _local2 + "avatar.php";
} else {
_local2 = _local2 + "wallpaper.php";
}
_local2 = _local2 + ("?size=" + desktopSize);
_local2 = _local2 + ("&arms=" + (winxAvatar_mc.arms_mc._currentframe - 1));
_local2 = _local2 + ("&bg=" + (background_mc._currentframe - 1));
_local2 = _local2 + ("&body=" + (winxAvatar_mc.body_mc._currentframe - 1));
_local2 = _local2 + ("&bottoms=" + (winxAvatar_mc.bottom_mc._currentframe - 1));
_local2 = _local2 + ("&brows=" + (winxAvatar_mc.brows_mc._currentframe - 1));
_local2 = _local2 + ("&earing=" + (winxAvatar_mc.earing_mc._currentframe - 1));
_local2 = _local2 + ("&eyes=" + (winxAvatar_mc.eyes_mc._currentframe - 1));
_local2 = _local2 + ("&hair=" + (winxAvatar_mc.hair_mc._currentframe - 1));
_local2 = _local2 + ("&hairback=" + (winxAvatar_mc.backHair_mc._currentframe - 1));
_local2 = _local2 + ("&hand=" + (winxAvatar_mc.hand_mc._currentframe - 1));
_local2 = _local2 + ("&lips=" + (winxAvatar_mc.lips_mc._currentframe - 1));
_local2 = _local2 + ("&necklace=" + (winxAvatar_mc.necklace_mc._currentframe - 1));
_local2 = _local2 + ("&nose=" + (winxAvatar_mc.nose_mc._currentframe - 1));
_local2 = _local2 + ("&shoes=" + (winxAvatar_mc.shoes_mc._currentframe - 1));
_local2 = _local2 + ("&top=" + (winxAvatar_mc.top_mc._currentframe - 1));
_local2 = _local2 + ("&wings=" + (winxAvatar_mc.wings_mc._currentframe - 1));
(getURL(_local2, "_blank"));// not popped
}
function sendToFriend(yourName, yourEmail, friendName, friendEmail) {
var _local3 = false;
if (yourName.length < 1) {
sendtoafriend_mc.stfpop_mc.ynNotFilled_mc._alpha = 100;
_local3 = true;
} else {
sendtoafriend_mc.stfpop_mc.ynNotFilled_mc._alpha = 0;
}
if (!com.fuelindustries.data.DataValidation.isEmail(yourEmail)) {
sendtoafriend_mc.stfpop_mc.yeNotFilled_mc._alpha = 100;
_local3 = true;
} else {
sendtoafriend_mc.stfpop_mc.yeNotFilled_mc._alpha = 0;
}
if (friendName.length < 1) {
sendtoafriend_mc.stfpop_mc.fnNotFilled_mc._alpha = 100;
_local3 = true;
} else {
sendtoafriend_mc.stfpop_mc.fnNotFilled_mc._alpha = 0;
}
if (!com.fuelindustries.data.DataValidation.isEmail(friendEmail)) {
sendtoafriend_mc.stfpop_mc.feNotFilled_mc._alpha = 100;
_local3 = true;
} else {
sendtoafriend_mc.stfpop_mc.feNotFilled_mc._alpha = 0;
}
if (_local3 == true) {
return(undefined);
}
sendtoafriend_mc.stfpop_mc.gotoAndPlay("sent");
var _local2 = new com.fuelindustries.server.remoting.FuelRemoting();
_local2.__set__url(((_level0.baseurl == undefined) ? "http://winx-dev.fuelindustries.com/" : (_level0.baseurl)) + "sendtofriend.php");
_local2.addItem("yourName", yourName, "");
_local2.addItem("yourEmail", yourEmail, "");
_local2.addItem("names", [friendName], "");
_local2.addItem("emails", [friendEmail], "");
_local2.addItem("arms", winxAvatar_mc.arms_mc._currentframe - 1, "");
_local2.addItem("bg", background_mc._currentframe - 1, "");
_local2.addItem("body", winxAvatar_mc.body_mc._currentframe - 1, "");
_local2.addItem("bottoms", winxAvatar_mc.bottom_mc._currentframe - 1, "");
_local2.addItem("brows", winxAvatar_mc.brows_mc._currentframe - 1, "");
_local2.addItem("earing", winxAvatar_mc.earing_mc._currentframe - 1, "");
_local2.addItem("eyes", winxAvatar_mc.eyes_mc._currentframe - 1, "");
_local2.addItem("hair", winxAvatar_mc.hair_mc._currentframe - 1, "");
_local2.addItem("hairback", winxAvatar_mc.backHair_mc._currentframe - 1, "");
_local2.addItem("hand", winxAvatar_mc.hand_mc._currentframe - 1, "");
_local2.addItem("lips", winxAvatar_mc.lips_mc._currentframe - 1, "");
_local2.addItem("necklace", winxAvatar_mc.necklace_mc._currentframe - 1, "");
_local2.addItem("nose", winxAvatar_mc.nose_mc._currentframe - 1, "");
_local2.addItem("shoes", winxAvatar_mc.shoes_mc._currentframe - 1, "");
_local2.addItem("top", winxAvatar_mc.top_mc._currentframe - 1, "");
_local2.addItem("wings", winxAvatar_mc.wings_mc._currentframe - 1, "");
_local2.__set__reply(this);
_local2.call();
}
function sendComplete(success) {
trace("DONE");
}
function onFailure(eventObj) {
trace("FAIL");
}
var __soName = "Winx_Avatar";
}
Symbol 908 MovieClip [__Packages.com.fuelindustries.data.DataValidation] Frame 0
class com.fuelindustries.data.DataValidation
{
function DataValidation () {
}
static function hasValidChars(str, chars, caseSensitive) {
if (!str.length) {
return(false);
}
if (!chars.length) {
return(false);
}
if (!caseSensitive) {
str = str.toLowerCase();
chars = chars.toLowerCase();
}
var _local3 = str.split("");
var _local4 = _local3.length;
var _local7;
var _local1 = 0;
while (_local1 < _local4) {
if (chars.indexOf(_local3[_local1]) == -1) {
return(false);
}
_local1++;
}
return(true);
}
static function isEmail(str) {
str = str.toLowerCase();
if (!hasValidChars(str, "0123456789abcdefghijklmnopqrstuvwxyz-_.@")) {
return(false);
}
var _local3 = str.split("@");
if (_local3.length != 2) {
return(false);
}
if (_local3[0].length < 1) {
return(false);
}
var _local2 = _local3[1].split(".");
if (_local2.length < 2) {
return(false);
}
var _local5 = String(_local2.pop());
if (_local5.length < 2) {
return(false);
}
var _local1 = _local2.length;
while (_local1--) {
if (String(_local2[_local1]).length < 1) {
return(false);
}
}
return(true);
}
static function isDate(year, month, day) {
var _local1 = new Date(year, month - 1, day);
if (_local1.getMonth() != (month - 1)) {
return(false);
}
return(true);
}
static function isZipCode(zip) {
var _local3 = "^[0-9]{5,9}$";
var _local1 = new com.fuelindustries.data.RegExp(_local3, "i");
var _local2 = _local1.test(zip);
return(_local2);
}
static function isPostalCode(pc) {
var _local3 = formatPostalCode(pc.toUpperCase());
var _local4 = "^[A-Z][0-9][A-Z] [0-9][A-Z][0-9]$";
var _local1 = new com.fuelindustries.data.RegExp(_local4, "i");
var _local2 = _local1.test(_local3);
return(_local2);
}
static function formatPostalCode(pc) {
if (pc.length == 7) {
return(pc);
}
if (pc.length == 6) {
var _local4 = pc.substring(0, 3);
var _local2 = pc.substring(3, 6);
var _local3 = (_local4 + " ") + _local2;
return(_local3);
}
return(pc);
}
static function constrain(num, min, max) {
return(Math.max(min, Math.min(num, max)));
}
static function isNumber(expression) {
if (isNaN(expression)) {
return(false);
}
return(true);
}
}
Symbol 909 MovieClip [__Packages.com.fuelindustries.data.RegExp] Frame 0
class com.fuelindustries.data.RegExp
{
function RegExp () {
if (arguments[0] == null) {
} else {
const = "RegExp";
compile.apply(this, arguments);
}
}
function invStr(sVal) {
var _local5 = sVal;
var _local4 = _local5.length;
var _local1;
var _local3;
var _local6 = "";
var _local2 = 1;
while (_local2 < 255) {
_local3 = chr(_local2);
_local1 = 0;
while ((_local1 <= _local4) && (_local5.substr(_local1++, 1) != _local3)) {
}
if (_local1 > _local4) {
_local6 = _local6 + _local3;
}
_local2++;
}
return(_local5);
}
function compile() {
source = arguments[0];
if (arguments.length > 1) {
var _local17 = (arguments[1] + "").toLowerCase();
var _local7 = 0;
while (_local7 < _local17.length) {
if (_local17.substr(_local7, 1) == "g") {
global = true;
}
if (_local17.substr(_local7, 1) == "i") {
ignoreCase = true;
}
if (_local17.substr(_local7, 1) == "m") {
multiline = true;
}
_local7++;
}
}
var _local20;
if (arguments.length < 3) {
_local20 = true;
_xrStatic = 1;
var _local7 = 0;
} else {
_local20 = false;
_xr = _xrStatic++;
var _local7 = arguments[2];
}
lastIndex = 0;
var _local10 = source;
var _local21;
var _local14 = _local10.length;
var _local5 = [];
var _local4 = 0;
var _local6;
var _local9 = false;
var _local16;
var _local15;
var _local18 = false;
var _local19;
for ( ; _local7 < _local14 ; _local7++) {
var _local3 = _local10.substr(_local7, 1);
if (_local3 == "\\") {
_local7++;
_local19 = false;
_local3 = _local10.substr(_local7, 1);
} else {
_local19 = true;
}
var _local12 = _local10.substr(_local7 + 1, 1);
_local5[_local4] = new Object();
_local5[_local4].t = 0;
_local5[_local4].a = 0;
_local5[_local4].b = 999;
_local5[_local4].c = -10;
if (_local19) {
if (_local3 == "(") {
_local21 = new com.fuelindustries.data.RegExp(_local10, (ignoreCase ? "gi" : "g"), _local7 + 1);
_local7 = _xiStatic;
_local5[_local4].t = 3;
_local3 = _local21;
_local12 = _local10.substr(_local7 + 1, 1);
} else {
if ((!_local20) && (_local3 == ")")) {
break;
}
if (_local3 == "^") {
if ((_local4 == 0) || (_local5[_local4 - 1].t == 7)) {
_local5[_local4].t = 9;
_local5[_local4].a = 1;
_local5[_local4].b = 1;
_local4++;
}
} else if (_local3 == "$") {
if (_local20) {
_local18 = true;
}
} else {
if (_local3 == "[") {
_local7++;
if (_local12 == "^") {
_local5[_local4].t = 2;
_local7++;
} else {
_local5[_local4].t = 1;
}
_local3 = "";
_local9 = false;
while ((_local7 < _local14) && ((_local6 = _local10.substr(_local7++, 1)) != "]")) {
if (_local9) {
if (_local6 == "\\") {
}
_local15 = ((_local6 == "\\") ? ((_local6 == "b") ? "\b" : (_local10.substr(_local7++, 1))) : _local6);
_local16 = ord(_local3.substr(_local3.length - 1, 1)) + 1;
_local6 = chr(_local16++);
while (_local15 >= _local6) {
_local3 = _local3 + _local6;
}
_local9 = false;
} else if ((_local6 == "-") && (_local3.length > 0)) {
_local9 = true;
} else if (_local6 == "\\") {
_local6 = _local10.substr(_local7++, 1);
if (_local6 == "d") {
_local3 = _local3 + "0123456789";
} else if (_local6 == "D") {
_local3 = _local3 + invStr("0123456789");
} else if (_local6 == "s") {
_local3 = _local3 + " \\\\\\\\\\\\\\\\f\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\t\\\\\\\\\\\\\\\\v";
} else if (_local6 == "S") {
_local3 = _local3 + invStr(" \\\\\\\\\\\\\\\\f\\\\\\\\\\\\\\\\n\\\\\\\\\\\\\\\\r\\\\\\\\\\\\\\\\t\\\\\\\\\\\\\\\\v");
} else if (_local6 == "w") {
_local3 = _local3 + "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
} else if (_local6 == "W") {
_local3 = _local3 + invStr("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_");
} else if (_local6 == "b") {
_local3 = _local3 + "\b";
}
} else {
_local3 = _local3 + _local6;
}
}
if (_local9) {
_local3 = _local3 + "-";
}
_local7--;
_local12 = _local10.substr(_local7 + 1, 1);
} else {
if (_local3 == "|") {
if (_local18) {
_local5[_local4].t = 10;
_local5[_local4].a = 1;
_local5[_local4].b = 1;
_local4++;
_local5[_local4] = new Object();
_local18 = false;
}
_local5[_local4].t = 7;
_local5[_local4].a = 1;
_local5[_local4].b = 1;
_local4++;
continue;
}
if (_local3 == ".") {
_local5[_local4].t = 2;
_local3 = newline;
} else if (((_local3 == "*") || (_local3 == "?")) || (_local3 == "+")) {
continue;
}
}
// unexpected jump
if ((_local3 >= "1") && (_local3 <= "9")) {
_local5[_local4].t = 4;
} else if (_local3 == "b") {
_local5[_local4].t = 1;
_local3 = "--wb--";
} else if (_local3 == "B") {
_local5[_local4].t = 2;
_local3 = "--wb--";
} else if (_local3 == "d") {
_local5[_local4].t = 1;
_local3 = "0123456789";
} else if (_local3 == "D") {
_local5[_local4].t = 2;
_local3 = "0123456789";
} else if (_local3 == "s") {
_local5[_local4].t = 1;
_local3 = " \f\n\r\t\\";
} else if (_local3 == "S") {
_local5[_local4].t = 2;
_local3 = " \f\n\r\t\\";
} else if (_local3 == "w") {
_local5[_local4].t = 1;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
} else if (_local3 == "W") {
_local5[_local4].t = 2;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
}
if (_local12 == "*") {
_local5[_local4].s = _local3;
_local4++;
_local7++;
} else if (_local12 == "?") {
_local5[_local4].s = _local3;
_local5[_local4].b = 1;
_local4++;
_local7++;
} else if (_local12 == "+") {
_local5[_local4].s = _local3;
_local5[_local4].a = 1;
_local4++;
_local7++;
} else if (_local12 == "{") {
var _local13 = false;
var _local8 = 0;
_local9 = "";
_local7++;
while (((_local7 + 1) < _local14) && ((_local6 = _local10.substr(1 + (_local7++), 1)) != "}")) {
if ((!_local13) && (_local6 == ",")) {
_local13 = true;
_local8 = Number(_local9);
_local8 = Math.floor((isNaN(_local8) ? 0 : _local8));
if (_local8 < 0) {
_local8 = 0;
}
_local9 = "";
} else {
_local9 = _local9 + _local6;
}
}
var _local11 = Number(_local9);
_local11 = Math.floor((isNaN(_local11) ? 0 : _local11));
if (_local11 < 1) {
_local11 = 999;
}
if (_local11 < _local8) {
_local11 = _local8;
}
_local5[_local4].s = _local3;
_local5[_local4].b = _local11;
_local5[_local4].a = (_local13 ? _local8 : _local11);
_local4++;
} else {
_local5[_local4].s = _local3;
_local5[_local4].a = 1;
_local5[_local4].b = 1;
_local4++;
}
}
}
} else if ((_local3 >= "1") && (_local3 <= "9")) {
_local5[_local4].t = 4;
} else if (_local3 == "b") {
_local5[_local4].t = 1;
_local3 = "--wb--";
} else if (_local3 == "B") {
_local5[_local4].t = 2;
_local3 = "--wb--";
} else if (_local3 == "d") {
_local5[_local4].t = 1;
_local3 = "0123456789";
} else if (_local3 == "D") {
_local5[_local4].t = 2;
_local3 = "0123456789";
} else if (_local3 == "s") {
_local5[_local4].t = 1;
_local3 = " \f\n\r\t\\";
} else if (_local3 == "S") {
_local5[_local4].t = 2;
_local3 = " \f\n\r\t\\";
} else if (_local3 == "w") {
_local5[_local4].t = 1;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
} else if (_local3 == "W") {
_local5[_local4].t = 2;
_local3 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_";
}
if (_local12 == "*") {
_local5[_local4].s = _local3;
_local4++;
_local7++;
} else if (_local12 == "?") {
_local5[_local4].s = _local3;
_local5[_local4].b = 1;
_local4++;
_local7++;
} else if (_local12 == "+") {
_local5[_local4].s = _local3;
_local5[_local4].a = 1;
_local4++;
_local7++;
} else if (_local12 == "{") {
var _local13 = false;
var _local8 = 0;
_local9 = "";
_local7++;
while (((_local7 + 1) < _local14) && ((_local6 = _local10.substr(1 + (_local7++), 1)) != "}")) {
if ((!_local13) && (_local6 == ",")) {
_local13 = true;
_local8 = Number(_local9);
_local8 = Math.floor((isNaN(_local8) ? 0 : _local8));
if (_local8 < 0) {
_local8 = 0;
}
_local9 = "";
} else {
_local9 = _local9 + _local6;
}
}
var _local11 = Number(_local9);
_local11 = Math.floor((isNaN(_local11) ? 0 : (_local11)));
if (_local11 < 1) {
_local11 = 999;
}
if (_local11 < _local8) {
_local11 = _local8;
}
_local5[_local4].s = _local3;
_local5[_local4].b = _local11;
_local5[_local4].a = (_local13 ? (_local8) : (_local11));
_local4++;
} else {
_local5[_local4].s = _local3;
_local5[_local4].a = 1;
_local5[_local4].b = 1;
_local4++;
}
}
if (_local20 && (_local18)) {
_local5[_local4] = new Object();
_local5[_local4].t = 10;
_local5[_local4].a = 1;
_local5[_local4].b = 1;
_local4++;
}
if (!_local20) {
_xiStatic = _local7;
source = _local10.substr(arguments[2], _local7 - arguments[2]);
}
if (d) {
_local7 = 0;
while (_local7 < _local4) {
trace((((((((("xr" + _xr) + " ") + _local5[_local7].t) + " : ") + _local5[_local7].a) + " : ") + _local5[_local7].b) + " : ") + _local5[_local7].s);
_local7++;
}
}
_xq = _local5;
_xqc = _local4;
_xp = 0;
}
function test() {
if ((_xp++) == 0) {
_xxa = [];
_xxlp = 0;
}
var _local10 = arguments[0] + "";
var _local15;
var _local4 = _xq;
var _local17 = _xqc;
var _local14;
var _local7;
var _local8;
var _local9;
var _local13;
var _local11;
var _local12 = _local10.length;
var _local5 = (global ? (lastIndex) : 0);
var _local21 = _local5;
var _local19 = _local10;
if (ignoreCase) {
_local10 = _local10.toLowerCase();
}
var _local16 = new Object();
_local16.i = -1;
var _local3 = -1;
while (_local3 < (_local17 - 1)) {
_local3++;
if (d) {
trace("New section started at i=" + _local3);
}
_local5 = _local21;
_local14 = _local3;
_local4[_local14].c = -10;
var _local20 = false;
var _local18;
while ((_local3 > _local14) || (_local5 < (_local12 + 1))) {
if (_local4[_local3].t == 7) {
break;
}
if (_local4[_local3].t == 9) {
_local3++;
if (_local3 == (_local14 + 1)) {
_local18 = true;
_local14 = _local3;
}
_local4[_local14].c = -10;
continue;
}
if ((_local16.i >= 0) && (_local5 >= _local16.i)) {
break;
}
if (_local4[_local3].c == -10) {
if (d) {
trace((((((("Lookup #" + _local3) + " at index ") + _local5) + " for \\\\\\\\\\\\\\\\'") + _local4[_local3].s) + "\\\\\\\\\\\\\\\\' type ") + _local4[_local3].t);
}
var _local6 = 0;
_local4[_local3].i = _local5;
if (_local4[_local3].t == 0) {
_local7 = (ignoreCase ? (_local4[_local3].s.toLowerCase()) : (_local4[_local3].s));
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
if (_local10.substr(_local5, 1) == _local7) {
_local6++;
_local5++;
} else {
break;
}
}
} else if (_local4[_local3].t == 1) {
if (_local4[_local3].s == "--wb--") {
_local4[_local3].a = 1;
if ((_local5 > 0) && (_local5 < _local12)) {
_local9 = _local10.substr(_local5 - 1, 1);
if ((_local9 == " ") || (_local9 == "\\\\\\\\\\\\\\\\n")) {
_local6 = 1;
}
if (_local6 == 0) {
_local9 = _local10.substr(_local5, 1);
if ((_local9 == " ") || (_local9 == "\\\\\\\\\\\\\\\\n")) {
_local6 = 1;
}
}
} else {
_local6 = 1;
}
} else {
_local7 = (ignoreCase ? (_local4[_local3].s.toLowerCase()) : (_local4[_local3].s));
_local8 = _local7.length;
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
_local9 = _local10.substr(_local5, 1);
_local11 = 0;
while ((_local11 <= _local8) && (_local7.substr(_local11++, 1) != _local9)) {
}
if (_local11 <= _local8) {
_local6++;
_local5++;
} else {
break;
}
}
}
} else if (_local4[_local3].t == 2) {
_local7 = (ignoreCase ? (_local4[_local3].s.toLowerCase()) : (_local4[_local3].s));
_local8 = _local7.length;
if (_local4[_local3].s == "--wb--") {
_local4[_local3].a = 1;
if ((_local5 > 0) && (_local5 < _local12)) {
_local9 = _local10.substr(_local5 - 1, 1);
_local13 = _local10.substr(_local5, 1);
if ((((_local9 != " ") && (_local9 != "\\\\\\\\\\\\\\\\n")) && (_local13 != " ")) && (_local13 != "\\\\\\\\\\\\\\\\n")) {
_local6 = 1;
}
} else {
_local6 = 0;
}
} else {
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
_local9 = _local10.substr(_local5, 1);
_local11 = 0;
while ((_local11 <= _local8) && (_local7.substr(_local11++, 1) != _local9)) {
}
if (_local11 <= _local8) {
break;
}
_local6++;
_local5++;
}
}
} else if (_local4[_local3].t == 10) {
_local13 = _local10.substr(_local5, 1);
_local6 = (((multiline && ((_local13 == "\\\\\\\\\\\\\\\\n") || (_local13 == "\\\\\\\\\\\\\\\\r"))) || (_local5 == _local12)) ? 1 : 0);
} else if (_local4[_local3].t == 3) {
_local15 = _local4[_local3].s;
_local4[_local3].ix = [];
_local4[_local3].ix[_local6] = _local5;
_local15.lastIndex = _local5;
while ((_local6 < _local4[_local3].b) && _local15.test(_local19)) {
_local8 = _xxlm.length;
if (_local8 > 0) {
_local5 = _local5 + _local8;
_local6++;
_local4[_local3].ix[_local6] = _local5;
} else {
_local6 = _local4[_local3].a;
_local4[_local3].ix[_local6 - 1] = _local5;
break;
}
}
if (_local6 == 0) {
_xxlm = "";
}
if (_local15._xr > _xxlp) {
_xxlp = _local15._xr;
}
_xxa[Number(_local15._xr)] = _xxlm;
} else if (_local4[_local3].t == 4) {
_local7 = Number(_local4[_local3].s);
if (_xp >= _local7) {
_local7 = _xxa[_local7];
_local7 = (ignoreCase ? _local7.toLowerCase() : _local7);
_local8 = _local7.length;
_local4[_local3].ix = [];
_local4[_local3].ix[_local6] = _local5;
if (_local8 > 0) {
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
if (_local10.substr(_local5, _local8) == _local7) {
_local6++;
_local5 = _local5 + _local8;
_local4[_local3].ix[_local6] = _local5;
} else {
break;
}
}
} else {
_local6 = 0;
_local4[_local3].a = 0;
}
} else {
_local7 = chr(_local7);
_local4[_local3].ix = [];
_local4[_local3].ix[_local6] = _local5;
while ((_local6 < _local4[_local3].b) && (_local5 < _local12)) {
if (_local10.substr(_local5, 1) == _local7) {
_local6++;
_local5++;
_local4[_local3].ix[_local6] = _local5;
} else {
break;
}
}
}
}
_local4[_local3].c = _local6;
if (d) {
trace((" " + _local6) + " matches found");
}
}
if (_local4[_local3].c < _local4[_local3].a) {
if (d) {
trace(" not enough matches");
}
if (_local3 > _local14) {
_local3--;
_local4[_local3].c--;
if (_local4[_local3].c >= 0) {
_local5 = (((_local4[_local3].t == 3) || (_local4[_local3].t == 4)) ? (_local4[_local3].ix[_local4[_local3].c]) : (_local4[_local3].i + _local4[_local3].c));
}
if (d) {
trace((((("Retreat to #" + _local3) + " c=") + _local4[_local3].c) + " index=") + _local5);
}
} else {
if (_xp > 1) {
break;
}
if (_local18) {
if (multiline) {
do {
if (_local5 > _local12) {
break;
}
_local13 = _local10.substr(_local5++, 1);
} while (!((_local13 == "\\\\\\\\\\\\\\\\n") || (_local13 == "\\\\\\\\\\\\\\\\r")));
_local4[_local3].c = -10;
} else {
break;
}
} else {
_local5++;
_local4[_local3].c = -10;
}
}
} else {
if (d) {
trace(" enough matches!");
}
_local3++;
if ((_local3 == _local17) || (_local4[_local3].t == 7)) {
if (d) {
trace((("Saving better result: r.i = q[" + _local14) + "].i = ") + _local4[_local14].i);
}
_local16.i = _local4[_local14].i;
_local16.li = _local5;
break;
}
_local4[_local3].c = -10;
}
}
while ((_local3 < _local17) && (_local4[_local3].t != 7)) {
_local3++;
}
}
if (_local16.i < 0) {
lastIndex = 0;
if ((_xp--) == 1) {
_xxa = [];
_xxlp = 0;
}
return(false);
}
_local5 = _local16.li;
_xi = _local16.i;
_xxlm = _local19.substr(_local16.i, _local5 - _local16.i);
_xxlc = _local19.substr(0, _local16.i);
_xxrc = _local19.substr(_local5, _local12 - _local5);
if (_local5 == _local16.i) {
_local5++;
}
lastIndex = _local5;
if ((_xp--) == 1) {
lastMatch = _xxlm;
leftContext = _xxlc;
rightContext = _xxrc;
_xaStatic = _xxa;
lastParen = _xxa[Number(_xxlp)];
_local3 = 1;
while (_local3 < 10) {
com.fuelindustries.data.RegExp["$" + _local3] = _xaStatic[Number(_local3)];
_local3++;
}
}
return(true);
}
function exec() {
var _local6 = arguments[0] + "";
if (_local6 == "") {
return(false);
}
var _local7 = test(_local6);
var _local4;
if (_local7) {
_local4 = new Array();
_local4.index = _xi;
_local4.input = _local6;
_local4[0] = lastMatch;
var _local5 = _xaStatic.length;
var _local3 = 1;
while (_local3 < _local5) {
_local4[_local3] = _xaStatic[Number(_local3)];
_local3++;
}
} else {
_local4 = null;
}
return(_local4);
}
static function setStringMethods() {
if (String.prototype.match != undefined) {
return(undefined);
}
String.prototype.match = function () {
if (typeof(arguments[0]) != "object") {
return(null);
}
if (arguments[0].const != "RegExp") {
return(null);
}
var _local3 = arguments[0];
var _local6 = this.valueOf();
var _local7 = 0;
var _local4 = 0;
var _local5;
if (_local3.global) {
_local3.lastIndex = 0;
while (_local3.test(_local6)) {
if (_local4 == 0) {
_local5 = new Array();
}
_local5[_local4++] = com.fuelindustries.data.RegExp.lastMatch;
_local7 = _local3.lastIndex;
}
_local3.lastIndex = _local7;
} else {
_local5 = _local3.exec(_local6);
_local4++;
}
return(((_local4 == 0) ? null : (_local5)));
};
String.prototype.replace = function () {
if (typeof(arguments[0]) != "object") {
return(null);
}
if (arguments[0].const != "RegExp") {
return(null);
}
var _local8 = arguments[0];
var _local7 = arguments[1] + "";
var _local11 = this;
var _local12 = "";
_local8.lastIndex = 0;
if (_local8.global) {
var _local13 = 0;
var _local10 = 0;
while (_local8.test(_local11)) {
var _local5 = 0;
var _local9 = _local7.length;
var _local3 = "";
var _local6 = "";
var _local4 = "";
while (_local5 < _local9) {
_local3 = _local7.substr(_local5++, 1);
if ((_local3 == "$") && (_local6 != "\\")) {
_local3 = _local7.substr(_local5++, 1);
if (isNaN(Number(_local3)) || (Number(_local3) > 9)) {
_local4 = _local4 + ("$" + _local3);
} else {
_local4 = _local4 + com.fuelindustries.data.RegExp._xaStatic[Number(_local3)];
}
} else {
_local4 = _local4 + _local3;
}
_local6 = _local3;
}
_local12 = _local12 + (_local11.substr(_local10, _local8._xi - _local10) + _local4);
_local10 = _local8._xi + com.fuelindustries.data.RegExp.lastMatch.length;
_local13 = _local8.lastIndex;
}
_local8.lastIndex = _local13;
} else if (_local8.test(_local11)) {
_local12 = _local12 + (com.fuelindustries.data.RegExp.leftContext + _local7);
}
_local12 = _local12 + ((_local8.lastIndex == 0) ? (_local11) : (com.fuelindustries.data.RegExp.rightContext));
return(_local12);
};
String.prototype.search = function () {
if (typeof(arguments[0]) != "object") {
return(null);
}
if (arguments[0].const != "RegExp") {
return(null);
}
var _local3 = arguments[0];
var _local5 = this;
_local3.lastIndex = 0;
var _local4 = _local3.test(_local5);
return((_local4 ? (_local3._xi) : -1));
};
String.prototype.old_split = String.prototype.split;
String.prototype.split = function () {
if ((typeof(arguments[0]) == "object") && (arguments[0].const == "RegExp")) {
var _local3 = arguments[0];
var _local8 = ((arguments[1] == null) ? 9999 : (Number(arguments[1])));
if (isNaN(_local8)) {
_local8 = 9999;
}
var _local6 = this;
var _local9 = new Array();
var _local5 = 0;
var _local11 = _local3.global;
_local3.global = true;
_local3.lastIndex = 0;
var _local7 = 0;
var _local10 = 0;
var _local4 = 0;
while ((_local5 < _local8) && (_local3.test(_local6))) {
if (_local3._xi != _local4) {
_local9[_local5++] = _local6.substr(_local4, _local3._xi - _local4);
}
_local4 = _local3._xi + com.fuelindustries.data.RegExp.lastMatch.length;
_local10 = _local7;
_local7 = _local3.lastIndex;
}
if (_local5 == _local8) {
_local3.lastIndex = _local10;
} else {
_local3.lastIndex = _local7;
}
if (_local5 == 0) {
_local9[_local5] = _local6;
} else if ((_local5 < _local8) && (com.fuelindustries.data.RegExp.rightContext.length > 0)) {
_local9[_local5++] = com.fuelindustries.data.RegExp.rightContext;
}
_local3.global = _local11;
return(_local9);
}
return(this.old_split(arguments[0], arguments[1]));
};
return(true);
}
var const = null;
var source = null;
var global = false;
var ignoreCase = false;
var multiline = false;
var lastIndex = null;
static var _xrStatic = null;
var _xr = null;
static var _xp = null;
static var _xxa = null;
static var _xxlp = null;
var _xq = null;
var _xqc = null;
static var d = null;
static var _xiStatic = null;
var _xi = 0;
static var _xxlm = null;
static var _xxlc = null;
static var _xxrc = null;
static var lastMatch = null;
static var leftContext = null;
static var rightContext = null;
static var _xa = new Array();
static var lastParen = null;
static var _xaStatic = new Array();
static var $1 = null;
static var $2 = null;
static var $3 = null;
static var $4 = null;
static var $5 = null;
static var $6 = null;
static var $7 = null;
static var $8 = null;
static var $9 = null;
static var _setString = setStringMethods();
}
Symbol 910 MovieClip [__Packages.com.fuelindustries.server.remoting.FuelRemoting] Frame 0
class com.fuelindustries.server.remoting.FuelRemoting
{
var __validator, __debug, __url, __reply, __dataProvider, nc, __sender, dispatchEvent, removeEventListener, addEventListener;
function FuelRemoting () {
init();
}
function set validator(obj) {
__validator = obj;
//return(validator);
}
function get validator() {
return(__validator);
}
function set debug(val) {
__debug = val;
//return(debug);
}
function get debug() {
return(__debug);
}
function set url(aurl) {
__url = aurl;
//return(url);
}
function get url() {
return(__url);
}
function set reply(obj) {
setReply(obj);
//return(reply);
}
function get reply() {
return(__reply);
}
function set dataProvider(dp) {
__dataProvider = dp;
//return(dataProvider);
}
function get dataProvider() {
return(__dataProvider);
}
function init() {
nc = new NetConnection();
__dataProvider = [];
mx.events.EventDispatcher.initialize(this);
__validator = com.fuelindustries.server.FormValidation;
}
function addItem(name, value, state) {
if (state == undefined) {
state = "required";
}
__dataProvider.push(new com.fuelindustries.server.remoting.RemotingParameter(name, value, state));
}
function call() {
authenticateSender();
}
function clearItems() {
__dataProvider = [];
}
function send() {
nc.connect(url);
if (__sender.sessid == undefined) {
__sender.sessid = "";
}
__sender.cs = 1;
log.info("CALLING " + url);
nc.call("", this, __sender);
}
function authenticateSender() {
__sender = {};
var _local4 = __validator.validate(__dataProvider);
if (_local4.length <= 0) {
var _local2 = 0;
while (_local2 < __dataProvider.length) {
var _local3 = __dataProvider[_local2];
__sender[_local3.name] = _local3.value;
_local2++;
}
send();
} else {
dispatchError(_local4);
}
}
function dispatchError(errorItems) {
var _local2 = {};
_local2.errorItems = errorItems;
_local2.target = this;
_local2.type = "onFailure";
dispatchEvent(_local2);
}
function onResult(result) {
clearItems();
if (debug) {
debugResults(result);
}
result.type = result.function;
result.target = this;
dispatchEvent(result);
}
function setReply(obj) {
if (__reply != undefined) {
removeEventListener("onSuccess", __reply);
removeEventListener("onFailure", __reply);
}
__reply = obj;
addEventListener("onSuccess", __reply);
addEventListener("onFailure", __reply);
}
function debugResults(result) {
log.info(__url + " onResult ");
for (var _local3 in result) {
log.info((_local3 + " = ") + result[_local3]);
}
}
}
Symbol 911 MovieClip [__Packages.com.fuelindustries.server.FormValidation] Frame 0
class com.fuelindustries.server.FormValidation
{
function FormValidation () {
}
static function validate(items) {
var _local5 = [];
var _local3 = 0;
while (_local3 < items.length) {
var _local1 = items[_local3];
var _local2 = false;
switch (_local1.state) {
case "email" :
_local2 = com.fuelindustries.data.DataValidation.isEmail(_local1.value);
break;
case "postalcode" :
_local2 = com.fuelindustries.data.DataValidation.isPostalCode(_local1.value);
break;
case "zipcode" :
_local2 = com.fuelindustries.data.DataValidation.isZipCode(_local1.value);
break;
case "optional" :
_local2 = true;
break;
default :
_local2 = (((_local1.value == undefined) || (_local1.value == "")) ? false : true);
}
if (!_local2) {
_local5.push(_local1);
}
_local3++;
}
return(_local5);
}
}
Symbol 912 MovieClip [__Packages.com.fuelindustries.server.remoting.RemotingParameter] Frame 0
class com.fuelindustries.server.remoting.RemotingParameter
{
var __name, __state, __value;
function RemotingParameter (name, value, state) {
__name = name;
__state = state;
setValue(value);
}
function setValue(val) {
if ((__state != "requried") && (val == undefined)) {
__value = "";
} else {
__value = val;
}
}
function exists() {
if (__state == "required") {
if ((__value == undefined) || (__value == "")) {
return(false);
}
return(true);
}
return(true);
}
function get name() {
return(__name);
}
function get value() {
return(__value);
}
function get state() {
return(__state);
}
}
Symbol 121 MovieClip [bg_mc] Frame 1
#initclip 78
Object.registerClass("bg_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 136 MovieClip [new_wings_mc] Frame 1
#initclip 58
Object.registerClass("new_wings_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 137 MovieClip [sparkleContainer_mc] Frame 1
#initclip 59
Object.registerClass("sparkleContainer_mc", com.winx.controls.SparkleContainer);
#endinitclip
Symbol 186 MovieClip [new_hair_back_mc] Frame 1
#initclip 60
Object.registerClass("new_hair_back_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 192 MovieClip [new_body_mc] Frame 1
#initclip 61
Object.registerClass("new_body_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 220 MovieClip [new_shoes_mc] Frame 1
#initclip 62
Object.registerClass("new_shoes_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 247 MovieClip [new_bottoms_mc] Frame 1
#initclip 63
Object.registerClass("new_bottoms_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 258 MovieClip [new_eyes_mc] Frame 1
#initclip 64
Object.registerClass("new_eyes_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 264 MovieClip [new_nose_mc] Frame 1
#initclip 65
Object.registerClass("new_nose_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 270 MovieClip [new_brows_mc] Frame 1
#initclip 66
Object.registerClass("new_brows_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 296 MovieClip [new_tops_mc] Frame 1
#initclip 67
Object.registerClass("new_tops_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 302 MovieClip [new_hand_mc] Frame 1
#initclip 68
Object.registerClass("new_hand_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 328 MovieClip [new_earing_mc] Frame 1
#initclip 69
Object.registerClass("new_earing_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 354 MovieClip [new_arm_accessories_mc] Frame 1
#initclip 70
Object.registerClass("new_arm_accessories_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 360 MovieClip [new_lips_mc] Frame 1
#initclip 71
Object.registerClass("new_lips_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 366 MovieClip [new_necklace_mc] Frame 1
#initclip 72
Object.registerClass("new_necklace_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 421 MovieClip [new_hair_front_mc] Frame 1
#initclip 73
Object.registerClass("new_hair_front_mc", com.winx.controls.BodyPart);
#endinitclip
stop();
Symbol 426 MovieClip [sparkle_mc] Frame 1
#initclip 74
Object.registerClass("sparkle_mc", com.winx.controls.Sparkle);
#endinitclip
stop();
Symbol 427 MovieClip Frame 1
stop();
Instance of Symbol 136 MovieClip [new_wings_mc] "wings_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_wings_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 186 MovieClip [new_hair_back_mc] "backHair_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_hair_back_mc";
majorStyles = 9;
minorStyles = 6;
sparkleFade = true;
}
Instance of Symbol 192 MovieClip [new_body_mc] "body_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_body_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 220 MovieClip [new_shoes_mc] "shoes_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_shoes_mc";
majorStyles = 5;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 247 MovieClip [new_bottoms_mc] "bottom_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_bottoms_mc";
majorStyles = 5;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 258 MovieClip [new_eyes_mc] "eyes_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_eyes_mc";
majorStyles = 2;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 264 MovieClip [new_nose_mc] "nose_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_nose_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 270 MovieClip [new_brows_mc] "brows_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_brows_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 296 MovieClip [new_tops_mc] "top_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_tops_mc";
majorStyles = 5;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 302 MovieClip [new_hand_mc] "hand_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_hand_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 328 MovieClip [new_earing_mc] "earing_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_earing_mc";
majorStyles = 5;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 354 MovieClip [new_arm_accessories_mc] "arms_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_arm_accessories_mc";
majorStyles = 5;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 360 MovieClip [new_lips_mc] "lips_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_lips_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 366 MovieClip [new_necklace_mc] "necklace_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_necklace_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = true;
}
Instance of Symbol 421 MovieClip [new_hair_front_mc] "hair_mc" in Symbol 427 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "new_hair_front_mc";
majorStyles = 9;
minorStyles = 6;
sparkleFade = true;
}
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 10
stop();
Symbol 438 MovieClip Frame 19
stop();
Symbol 444 MovieClip Frame 1
stop();
Symbol 444 MovieClip Frame 10
stop();
Symbol 444 MovieClip Frame 19
stop();
Symbol 450 MovieClip Frame 1
stop();
Symbol 450 MovieClip Frame 10
stop();
Symbol 450 MovieClip Frame 19
stop();
Symbol 456 MovieClip Frame 1
stop();
Symbol 456 MovieClip Frame 10
stop();
Symbol 456 MovieClip Frame 19
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 462 MovieClip Frame 10
stop();
Symbol 462 MovieClip Frame 19
stop();
Symbol 468 MovieClip Frame 1
stop();
Symbol 468 MovieClip Frame 10
stop();
Symbol 468 MovieClip Frame 19
stop();
Symbol 477 MovieClip Frame 15
stop();
Symbol 483 MovieClip Frame 15
stop();
Symbol 489 MovieClip Frame 15
stop();
Symbol 495 MovieClip Frame 15
stop();
Symbol 501 MovieClip Frame 15
stop();
Symbol 507 MovieClip Frame 15
stop();
Symbol 514 MovieClip Frame 15
stop();
Symbol 520 MovieClip Frame 15
stop();
Symbol 526 MovieClip Frame 15
stop();
Symbol 532 MovieClip Frame 15
stop();
Symbol 539 MovieClip Frame 15
stop();
Symbol 545 MovieClip Frame 15
stop();
Symbol 547 MovieClip Frame 15
stop();
Symbol 553 MovieClip Frame 15
stop();
Symbol 559 MovieClip Frame 15
stop();
Symbol 565 MovieClip Frame 15
stop();
Symbol 571 MovieClip Frame 15
stop();
Symbol 577 MovieClip Frame 15
stop();
Symbol 583 MovieClip Frame 15
stop();
Symbol 589 MovieClip Frame 15
stop();
Symbol 595 MovieClip Frame 15
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 732 MovieClip Frame 1
stop();
Symbol 762 MovieClip Frame 1
stop();
Symbol 763 MovieClip [navbar_mc] Frame 1
#initclip 75
Object.registerClass("navbar_mc", com.winx.controls.ItemSelector);
#endinitclip
Instance of Symbol 438 MovieClip "categoryLeftBtn_mc" in Symbol 763 MovieClip [navbar_mc] Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
Instance of Symbol 444 MovieClip "styleLeftBtn_mc" in Symbol 763 MovieClip [navbar_mc] Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
Instance of Symbol 450 MovieClip "colourLeftBtn_mc" in Symbol 763 MovieClip [navbar_mc] Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
Instance of Symbol 456 MovieClip "categoryRightBtn_mc" in Symbol 763 MovieClip [navbar_mc] Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
Instance of Symbol 462 MovieClip "styleRightBtn_mc" in Symbol 763 MovieClip [navbar_mc] Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
Instance of Symbol 468 MovieClip "colourRightBtn_mc" in Symbol 763 MovieClip [navbar_mc] Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
Symbol 770 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 15
stop();
Symbol 770 MovieClip Frame 29
stop();
Symbol 786 MovieClip Frame 1
stop();
Symbol 786 MovieClip Frame 15
stop();
Symbol 786 MovieClip Frame 29
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 15
stop();
Symbol 795 MovieClip Frame 29
stop();
Instance of Symbol 770 MovieClip in Symbol 796 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent.gotoAndPlay("hide");
}
Symbol 796 MovieClip Frame 33
stop();
yourName_txt.tabIndex = 1;
yourEmail_txt.tabIndex = 2;
friendName_txt.tabIndex = 3;
friendEmail_txt.tabIndex = 4;
Instance of Symbol 786 MovieClip "sendbtn_mc" in Symbol 796 MovieClip Frame 33
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent._parent.sendToFriend(_parent.yourName_txt.text, _parent.yourEmail_txt.text, _parent.friendName_txt.text, _parent.friendEmail_txt.text);
}
Instance of Symbol 795 MovieClip in Symbol 796 MovieClip Frame 47
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent.gotoAndPlay("hide");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
}
Symbol 796 MovieClip Frame 51
stop();
Symbol 803 MovieClip Frame 1
stop();
Symbol 803 MovieClip Frame 63
stop();
Symbol 803 MovieClip Frame 74
gotoAndStop ("idle");
Symbol 813 MovieClip Frame 1
stop();
Symbol 813 MovieClip Frame 15
stop();
Symbol 813 MovieClip Frame 29
stop();
Symbol 815 MovieClip Frame 1
stop();
Symbol 815 MovieClip Frame 15
stop();
Symbol 815 MovieClip Frame 29
stop();
Symbol 817 MovieClip Frame 1
stop();
Symbol 817 MovieClip Frame 15
stop();
Symbol 817 MovieClip Frame 29
stop();
Symbol 819 MovieClip Frame 1
stop();
Symbol 819 MovieClip Frame 15
stop();
Symbol 819 MovieClip Frame 29
stop();
Instance of Symbol 813 MovieClip in Symbol 821 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent._parent.download(2);
}
Instance of Symbol 815 MovieClip in Symbol 821 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent._parent.download(1);
}
Instance of Symbol 817 MovieClip in Symbol 821 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent._parent.download(0);
}
Instance of Symbol 819 MovieClip in Symbol 821 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent._parent.download(3);
}
Instance of Symbol 770 MovieClip in Symbol 821 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent._parent.gotoAndPlay("hide");
}
Symbol 826 MovieClip Frame 1
stop();
Instance of Symbol 795 MovieClip in Symbol 826 MovieClip Frame 47
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent.gotoAndPlay("hide");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
}
Symbol 826 MovieClip Frame 56
stop();
Symbol 826 MovieClip Frame 67
gotoAndStop ("idle");
Symbol 832 MovieClip Frame 1
stop();
Symbol 832 MovieClip Frame 15
stop();
Symbol 832 MovieClip Frame 29
stop();
Symbol 840 MovieClip Frame 1
stop();
Symbol 840 MovieClip Frame 15
stop();
Symbol 840 MovieClip Frame 29
stop();
Symbol 850 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 10
stop();
Symbol 850 MovieClip Frame 19
stop();
Instance of Symbol 850 MovieClip in Symbol 851 MovieClip Frame 1
on (rollOver) {
this.gotoAndPlay("Over");
_parent.stop();
}
on (releaseOutside) {
this.gotoAndPlay("Out");
_parent.play();
}
on (rollOut) {
this.gotoAndPlay("Out");
_parent.play();
}
on (release) {
_parent._parent._parent.instrutions_mc.gotoAndPlay("show");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
}
Symbol 854 MovieClip [yellowDot_mc] Frame 1
#initclip 76
Object.registerClass("yellowDot_mc", com.winx.controls.YellowDot);
#endinitclip
Symbol 857 MovieClip [insideGame_mc] Frame 1
#initclip 77
Object.registerClass("insideGame_mc", com.winx.core.Main);
#endinitclip
Instance of Symbol 121 MovieClip [bg_mc] "background_mc" in Symbol 857 MovieClip [insideGame_mc] Frame 1
//component parameters
onClipEvent (construct) {
enabled = true;
linkageName = "bg_mc";
majorStyles = 1;
minorStyles = 5;
sparkleFade = false;
}
Instance of Symbol 129 MovieClip in Symbol 857 MovieClip [insideGame_mc] Frame 1
on (release) {
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
_parent._parent.gotoAndStop("splash");
}
Instance of Symbol 42 MovieClip in Symbol 857 MovieClip [insideGame_mc] Frame 1
on (release) {
if (_parent._parent.soundToggle) {
gotoAndPlay ("toggleoff");
} else {
gotoAndPlay ("toggleon");
}
_parent._parent.soundToggle = !_parent._parent.soundToggle;
com.fuelindustries.media.sound.AudioManager.createChannel("music").toggleSound();
}
Symbol 857 MovieClip [insideGame_mc] Frame 16
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("buttonappearoraction");
winxAvatar_mc.body_mc.createSparkles();
Instance of Symbol 832 MovieClip in Symbol 857 MovieClip [insideGame_mc] Frame 24
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent.sendtoafriend_mc.gotoAndPlay("show");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
}
Instance of Symbol 840 MovieClip in Symbol 857 MovieClip [insideGame_mc] Frame 37
on (rollOver) {
this.gotoAndPlay("Over");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("startnow");
}
on (releaseOutside) {
this.gotoAndPlay("Out");
}
on (rollOut) {
this.gotoAndPlay("Out");
}
on (release) {
_parent.downloadfairy_mc.gotoAndPlay("show");
com.fuelindustries.media.sound.AudioManager.createChannel("music").playSound("Transition_Sound");
}
Symbol 857 MovieClip [insideGame_mc] Frame 69
stop();