Frame 1
function fncCheckVersion(requiredVersion_num) {
_global.player_str = getVersion();
_global.version_str = _global.player_str.charAt(4);
if (Number(_global.version_str) < requiredVersion_num) {
gotoAndPlay ("getFlash");
}
}
Stage.showMenu = false;
_focusrect = false;
_quality = "HIGH";
Frame 2
var frameLabel_str = "init";
var stopped_bool = false;
loadBar_mc._visible = false;
loadBar_mc.widthMin_num = loadBar_mc.bar_mc._width;
loadBar_mc.widthMax_num = loadBar_mc.mask_mc._width + 1;
MovieClip.prototype.loadBar = function (loadClip, stop_bool) {
clearInterval(this.loader_interval);
this.loader_interval = setInterval(fncLoadBar, 1, loadClip, stop_bool, this);
if (stop_bool == true) {
this.stopped_bool = true;
this.stop();
}
};
_global.fncLoadBar = function (loadClip, stop_bool, timeline) {
if (eval (loadClip).getBytesTotal() > 0) {
if (eval (loadClip).getBytesLoaded() < eval (loadClip).getBytesTotal()) {
loadBar_mc.bar_mc._width = Math.floor((eval (loadClip).getBytesLoaded() / eval (loadClip).getBytesTotal()) * loadBar_mc.widthMax_num);
} else {
loadBar_mc.bar_mc._width = loadBar_mc.widthMax_num;
clearInterval(eval (timeline).loader_interval);
if (stop_bool == true) {
eval (timeline).stopped_bool = false;
eval (timeline).play();
}
}
}
};
_global.fncLoadBarReset = function () {
loadBar_mc._visible = false;
loadBar_mc.bar_mc._width = loadBar_mc.widthMin_num;
};
Frame 3
this.gotoAndPlay("loadMain");
Frame 4
gotoAndPlay ("getFlash");
Frame 7
if (this.getBytesTotal() > 0) {
if (this.getBytesLoaded() < this.getBytesTotal()) {
frameLabel_str = "loadMain";
loadBar_mc._visible = true;
this.loadBar(this, true);
} else {
stopped_bool = false;
play();
}
} else {
gotoAndPlay(_currentframe - 1);
}
Frame 8
if (frameLabel_str == "loadMain") {
fncLoadBarReset();
}
gotoAndPlay ("content");
Frame 9
stopped_bool = true;
stop();
Frame 14
stopped_bool = true;
stop();
Frame 15
frameLabel_str = "content";
stopped_bool = true;
stop();
Frame 16
stopped_bool = true;
stop();
Frame 22
stopped_bool = true;
stop();
Frame 30
stopped_bool = true;
stop();
Symbol 832 MovieClip [__Packages.caurina.transitions.Tweener] Frame 0
class caurina.transitions.Tweener
{
static var _specialPropertySplitterList, _specialPropertyModifierList, _transitionList, _currentTime, _tweenList, _specialPropertyList;
function Tweener () {
trace("Tweener is an static class and should not be instantiated.");
}
static function addTween() {
if ((arguments.length < 2) || (arguments[0] == undefined)) {
return(false);
}
var _local11 = new Array();
var _local3;
var _local39;
var _local4;
var _local38;
if (arguments[0] instanceof Array) {
_local3 = 0;
while (_local3 < arguments[0].length) {
_local11.push(arguments[0][_local3]);
_local3++;
}
} else {
_local3 = 0;
while (_local3 < (arguments.length - 1)) {
_local11.push(arguments[_local3]);
_local3++;
}
}
var _local5 = caurina.transitions.TweenListObj.makePropertiesChain(arguments[arguments.length - 1]);
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local17 = (isNaN(_local5.time) ? 0 : (_local5.time));
var _local15 = (isNaN(_local5.delay) ? 0 : (_local5.delay));
var _local7 = new Object();
var _local21 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, quickAdd:true};
var _local10 = new Object();
for (_local4 in _local5) {
if (!_local21[_local4]) {
if (_specialPropertySplitterList[_local4] != undefined) {
var _local9 = _specialPropertySplitterList[_local4].splitValues(_local5[_local4], _specialPropertySplitterList[_local4].parameters);
_local3 = 0;
while (_local3 < _local9.length) {
_local7[_local9[_local3].name] = {valueStart:undefined, valueComplete:_local9[_local3].value};
_local3++;
}
} else if (_specialPropertyModifierList[_local4] != undefined) {
var _local8 = _specialPropertyModifierList[_local4].modifyValues(_local5[_local4]);
_local3 = 0;
while (_local3 < _local8.length) {
_local10[_local8[_local3].name] = {modifierParameters:_local8[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local4].getValue};
_local3++;
}
} else {
_local7[_local4] = {valueStart:undefined, valueComplete:_local5[_local4]};
}
}
}
for (_local4 in _local10) {
if (_local7[_local4] != undefined) {
_local7[_local4].modifierParameters = _local10[_local4].modifierParameters;
_local7[_local4].modifierFunction = _local10[_local4].modifierFunction;
}
}
var _local20;
if (typeof(_local5.transition) == "string") {
var _local22 = _local5.transition.toLowerCase();
_local20 = _transitionList[_local22];
} else {
_local20 = _local5.transition;
}
if (_local20 == undefined) {
_local20 = _transitionList.easeoutexpo;
}
var _local12;
var _local6;
var _local16;
_local3 = 0;
while (_local3 < _local11.length) {
_local12 = new Object();
for (_local4 in _local7) {
_local12[_local4] = new caurina.transitions.PropertyInfoObj(_local7[_local4].valueStart, _local7[_local4].valueComplete, _local7[_local4].modifierFunction, _local7[_local4].modifierParameters);
}
_local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTime + ((_local15 * 1000) / _timeScale), _currentTime + (((_local15 * 1000) + (_local17 * 1000)) / _timeScale), _local5.useFrames == true, _local20);
_local6.properties = _local12;
_local6.onStart = _local5.onStart;
_local6.onUpdate = _local5.onUpdate;
_local6.onComplete = _local5.onComplete;
_local6.onOverwrite = _local5.onOverwrite;
_local6.onError = _local5.onError;
_local6.onStartParams = _local5.onStartParams;
_local6.onUpdateParams = _local5.onUpdateParams;
_local6.onCompleteParams = _local5.onCompleteParams;
_local6.onOverwriteParams = _local5.onOverwriteParams;
_local6.rounded = _local5.rounded;
_local6.skipUpdates = _local5.skipUpdates;
if (!_local5.quickAdd) {
removeTweensByTime(_local6.scope, _local6.properties, _local6.timeStart, _local6.timeComplete);
}
_tweenList.push(_local6);
if ((_local17 == 0) && (_local15 == 0)) {
_local16 = _tweenList.length - 1;
updateTweenByIndex(_local16);
removeTweenByIndex(_local16);
}
_local3++;
}
return(true);
}
static function addCaller() {
if ((arguments.length < 2) || (arguments[0] == undefined)) {
return(false);
}
var _local6 = new Array();
var _local5;
var _local12;
if (arguments[0] instanceof Array) {
_local5 = 0;
while (_local5 < arguments[0].length) {
_local6.push(arguments[0][_local5]);
_local5++;
}
} else {
_local5 = 0;
while (_local5 < (arguments.length - 1)) {
_local6.push(arguments[_local5]);
_local5++;
}
}
var _local4 = arguments[arguments.length - 1];
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local9 = (isNaN(_local4.time) ? 0 : (_local4.time));
var _local7 = (isNaN(_local4.delay) ? 0 : (_local4.delay));
var _local10;
if (typeof(_local4.transition) == "string") {
var _local11 = _local4.transition.toLowerCase();
_local10 = _transitionList[_local11];
} else {
_local10 = _local4.transition;
}
if (_local10 == undefined) {
_local10 = _transitionList.easeoutexpo;
}
var _local3;
var _local8;
_local5 = 0;
while (_local5 < _local6.length) {
_local3 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTime + ((_local7 * 1000) / _timeScale), _currentTime + (((_local7 * 1000) + (_local9 * 1000)) / _timeScale), _local4.useFrames == true, _local10);
_local3.properties = undefined;
_local3.onStart = _local4.onStart;
_local3.onUpdate = _local4.onUpdate;
_local3.onComplete = _local4.onComplete;
_local3.onOverwrite = _local4.onOverwrite;
_local3.onStartParams = _local4.onStartParams;
_local3.onUpdateParams = _local4.onUpdateParams;
_local3.onCompleteParams = _local4.onCompleteParams;
_local3.onOverwriteParams = _local4.onOverwriteParams;
_local3.isCaller = true;
_local3.count = _local4.count;
_local3.waitFrames = _local4.waitFrames;
_tweenList.push(_local3);
if ((_local9 == 0) && (_local7 == 0)) {
_local8 = _tweenList.length - 1;
updateTweenByIndex(_local8);
removeTweenByIndex(_local8);
}
_local5++;
}
return(true);
}
static function removeTweensByTime(p_scope, p_properties, p_timeStart, p_timeComplete) {
var _local4 = false;
var _local3;
var _local1;
var _local6 = _tweenList.length;
var _local2;
_local1 = 0;
while (_local1 < _local6) {
if (p_scope == _tweenList[_local1].scope) {
if ((p_timeComplete > _tweenList[_local1].timeStart) && (p_timeStart < _tweenList[_local1].timeComplete)) {
_local3 = false;
for (_local2 in _tweenList[_local1].properties) {
if (p_properties[_local2] != undefined) {
if (_tweenList[_local1].onOverwrite != undefined) {
try {
_tweenList[_local1].onOverwrite.apply(_tweenList[_local1].scope, _tweenList[_local1].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[_local1], e, "onOverwrite");
}
}
_tweenList[_local1].properties[_local2] = undefined;
delete _tweenList[_local1].properties[_local2];
_local3 = true;
_local4 = true;
}
}
if (_local3) {
if (caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties) == 0) {
removeTweenByIndex(_local1);
}
}
}
}
_local1++;
}
return(_local4);
}
static function removeTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(removeTweenByIndex, p_scope, _local3));
}
static function removeAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
removeTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function pauseTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(pauseTweenByIndex, p_scope, _local3));
}
static function pauseAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
pauseTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function resumeTweens(p_scope) {
var _local3 = new Array();
var _local2;
_local2 = 1;
while (_local2 < arguments.length) {
if ((typeof(arguments[_local2]) == "string") && (!caurina.transitions.AuxFunctions.isInArray(arguments[_local2], _local3))) {
_local3.push(arguments[_local2]);
}
_local2++;
}
return(affectTweens(resumeTweenByIndex, p_scope, _local3));
}
static function resumeAllTweens() {
var _local2 = false;
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
resumeTweenByIndex(_local1);
_local2 = true;
_local1++;
}
return(_local2);
}
static function affectTweens(p_affectFunction, p_scope, p_properties) {
var _local5 = false;
var _local2;
if (!_tweenList) {
return(false);
}
_local2 = 0;
while (_local2 < _tweenList.length) {
if (_tweenList[_local2].scope == p_scope) {
if (p_properties.length == 0) {
p_affectFunction(_local2);
_local5 = true;
} else {
var _local4 = new Array();
var _local1;
_local1 = 0;
while (_local1 < p_properties.length) {
if (_tweenList[_local2].properties[p_properties[_local1]] != undefined) {
_local4.push(p_properties[_local1]);
}
_local1++;
}
if (_local4.length > 0) {
var _local7 = caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local2].properties);
if (_local7 == _local4.length) {
p_affectFunction(_local2);
_local5 = true;
} else {
var _local8 = splitTweens(_local2, _local4);
p_affectFunction(_local8);
_local5 = true;
}
}
}
}
_local2++;
}
return(_local5);
}
static function splitTweens(p_tween, p_properties) {
var _local6 = _tweenList[p_tween];
var _local5 = _local6.clone(false);
var _local1;
var _local2;
_local1 = 0;
while (_local1 < p_properties.length) {
_local2 = p_properties[_local1];
if (_local6.properties[_local2] != undefined) {
_local6.properties[_local2] = undefined;
delete _local6.properties[_local2];
}
_local1++;
}
var _local4;
for (_local2 in _local5.properties) {
_local4 = false;
_local1 = 0;
while (_local1 < p_properties.length) {
if (p_properties[_local1] == _local2) {
_local4 = true;
break;
}
_local1++;
}
if (!_local4) {
_local5.properties[_local2] = undefined;
delete _local5.properties[_local2];
}
}
_tweenList.push(_local5);
return(_tweenList.length - 1);
}
static function updateTweens() {
if (_tweenList.length == 0) {
return(false);
}
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (!_tweenList[_local1].isPaused) {
if (!updateTweenByIndex(_local1)) {
removeTweenByIndex(_local1);
}
if (_tweenList[_local1] == null) {
removeTweenByIndex(_local1, true);
_local1--;
}
}
_local1++;
}
return(true);
}
static function removeTweenByIndex(p_tween, p_finalRemoval) {
_tweenList[p_tween] = null;
if (p_finalRemoval) {
_tweenList.splice(p_tween, 1);
}
return(true);
}
static function pauseTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (_local1.isPaused)) {
return(false);
}
_local1.timePaused = _currentTime;
_local1.isPaused = true;
return(true);
}
static function resumeTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (!_local1.isPaused)) {
return(false);
}
_local1.timeStart = _local1.timeStart + (_currentTime - _local1.timePaused);
_local1.timeComplete = _local1.timeComplete + (_currentTime - _local1.timePaused);
_local1.timePaused = undefined;
_local1.isPaused = false;
return(true);
}
static function updateTweenByIndex(i) {
var _local1 = _tweenList[i];
if ((_local1 == null) || (!_local1.scope)) {
return(false);
}
var _local11 = false;
var _local12;
var _local2;
var _local6;
var _local8;
var _local7;
var _local5;
var _local4;
var _local10;
var _local3;
if (_currentTime >= _local1.timeStart) {
_local10 = _local1.scope;
if (_local1.isCaller) {
do {
_local6 = ((_local1.timeComplete - _local1.timeStart) / _local1.count) * (_local1.timesCalled + 1);
_local8 = _local1.timeStart;
_local7 = _local1.timeComplete - _local1.timeStart;
_local5 = _local1.timeComplete - _local1.timeStart;
_local2 = _local1.transition(_local6, _local8, _local7, _local5);
if (_currentTime >= _local2) {
if (_local1.onUpdate != undefined) {
try {
_local1.onUpdate.apply(_local10, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
_local1.timesCalled++;
if (_local1.timesCalled >= _local1.count) {
_local11 = true;
break;
}
if (_local1.waitFrames) {
break;
}
}
} while (_currentTime >= _local2);
} else {
_local12 = ((_local1.skipUpdates < 1) || (_local1.skipUpdates == undefined)) || (_local1.updatesSkipped >= _local1.skipUpdates);
if (_currentTime >= _local1.timeComplete) {
_local11 = true;
_local12 = true;
}
if (!_local1.hasStarted) {
if (_local1.onStart != undefined) {
try {
_local1.onStart.apply(_local10, _local1.onStartParams);
} catch(e:Error) {
handleError(_local1, e, "onStart");
}
}
for (_local4 in _local1.properties) {
var _local9 = getPropertyValue(_local10, _local4);
_local1.properties[_local4].valueStart = (isNaN(_local9) ? (_local1.properties[_local4].valueComplete) : (_local9));
}
_local12 = true;
_local1.hasStarted = true;
}
if (_local12) {
for (_local4 in _local1.properties) {
_local3 = _local1.properties[_local4];
if (_local11) {
_local2 = _local3.valueComplete;
} else if (_local3.hasModifier) {
_local6 = _currentTime - _local1.timeStart;
_local5 = _local1.timeComplete - _local1.timeStart;
_local2 = _local1.transition(_local6, 0, 1, _local5);
_local2 = _local3.modifierFunction(_local3.valueStart, _local3.valueComplete, _local2, _local3.modifierParameters);
} else {
_local6 = _currentTime - _local1.timeStart;
_local8 = _local3.valueStart;
_local7 = _local3.valueComplete - _local3.valueStart;
_local5 = _local1.timeComplete - _local1.timeStart;
_local2 = _local1.transition(_local6, _local8, _local7, _local5);
}
if (_local1.rounded) {
_local2 = Math.round(_local2);
}
setPropertyValue(_local10, _local4, _local2);
}
_local1.updatesSkipped = 0;
if (_local1.onUpdate != undefined) {
try {
_local1.onUpdate.apply(_local10, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
} else {
_local1.updatesSkipped++;
}
}
if (_local11 && (_local1.onComplete != undefined)) {
try {
_local1.onComplete.apply(_local10, _local1.onCompleteParams);
} catch(e:Error) {
handleError(_local1, e, "onComplete");
}
}
return(!_local11);
}
return(true);
}
static function init() {
_inited = true;
_transitionList = new Object();
caurina.transitions.Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
caurina.transitions.SpecialPropertiesDefault.init();
}
static function registerTransition(p_name, p_function) {
if (!_inited) {
init();
}
_transitionList[p_name] = p_function;
}
static function registerSpecialProperty(p_name, p_getFunction, p_setFunction, p_parameters) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialProperty(p_getFunction, p_setFunction, p_parameters);
_specialPropertyList[p_name] = _local1;
}
static function registerSpecialPropertyModifier(p_name, p_modifyFunction, p_getFunction) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialPropertyModifier(p_modifyFunction, p_getFunction);
_specialPropertyModifierList[p_name] = _local1;
}
static function registerSpecialPropertySplitter(p_name, p_splitFunction, p_parameters) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialPropertySplitter(p_splitFunction, p_parameters);
_specialPropertySplitterList[p_name] = _local1;
}
static function startEngine() {
_engineExists = true;
_tweenList = new Array();
var _local2 = Math.floor(Math.random() * 999999);
var _local3 = _root.createEmptyMovieClip(getControllerName(), 31338 + _local2);
_local3.onEnterFrame = function () {
caurina.transitions.Tweener.onEnterFrame();
};
updateTime();
}
static function stopEngine() {
_engineExists = false;
_tweenList = null;
_currentTime = 0;
delete _root[getControllerName()].onEnterFrame;
_root[getControllerName()].removeMovieClip();
}
static function getPropertyValue(p_obj, p_prop) {
if (_specialPropertyList[p_prop] != undefined) {
return(_specialPropertyList[p_prop].getValue(p_obj, _specialPropertyList[p_prop].parameters));
}
return(p_obj[p_prop]);
}
static function setPropertyValue(p_obj, p_prop, p_value) {
if (_specialPropertyList[p_prop] != undefined) {
_specialPropertyList[p_prop].setValue(p_obj, p_value, _specialPropertyList[p_prop].parameters);
} else {
p_obj[p_prop] = p_value;
}
}
static function updateTime() {
_currentTime = getTimer();
}
static function onEnterFrame() {
updateTime();
var _local1 = false;
_local1 = updateTweens();
if (!_local1) {
stopEngine();
}
}
static function setTimeScale(p_time) {
var _local1;
if (isNaN(p_time)) {
p_time = 1;
}
if (p_time < 1E-5) {
p_time = 1E-5;
}
if (p_time != _timeScale) {
_local1 = 0;
while (_local1 < _tweenList.length) {
_tweenList[_local1].timeStart = _currentTime - (((_currentTime - _tweenList[_local1].timeStart) * _timeScale) / p_time);
_tweenList[_local1].timeComplete = _currentTime - (((_currentTime - _tweenList[_local1].timeComplete) * _timeScale) / p_time);
if (_tweenList[_local1].timePaused != undefined) {
_tweenList[_local1].timePaused = _currentTime - (((_currentTime - _tweenList[_local1].timePaused) * _timeScale) / p_time);
}
_local1++;
}
_timeScale = p_time;
}
}
static function isTweening(p_scope) {
var _local1;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
return(true);
}
_local1++;
}
return(false);
}
static function getTweens(p_scope) {
var _local1;
var _local2;
var _local3 = new Array();
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
for (_local2 in _tweenList[_local1].properties) {
_local3.push(_local2);
}
}
_local1++;
}
return(_local3);
}
static function getTweenCount(p_scope) {
var _local1;
var _local2 = 0;
_local1 = 0;
while (_local1 < _tweenList.length) {
if (_tweenList[_local1].scope == p_scope) {
_local2 = _local2 + caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties);
}
_local1++;
}
return(_local2);
}
static function handleError(pTweening, pError, pCallBackName) {
if ((pTweening.onError != undefined) && (typeof(pTweening.onError == "function"))) {
try {
pTweening.onError.apply(pTweening.scope, [pTweening.scope, pError]);
} catch(metaError:Error) {
trace((((("## [Tweener] Error: " + pTweening.scope.toString()) + " raised an error while executing the 'onError' handler. Original error:\n ") + pError) + "\nonError error: ") + metaError);
}
} else if (pTweening.onError == undefined) {
trace((((("## [Tweener] Error: " + pTweening.scope.toString()) + " raised an error while executing the '") + pCallBackName.toString()) + "'handler. \n") + pError);
}
}
static function getVersion() {
return("AS2 1.26.62");
}
static function getControllerName() {
return("__tweener_controller__" + getVersion());
}
static function debug_getList() {
var _local3 = "";
var _local1;
var _local2;
_local1 = 0;
while (_local1 < _tweenList.length) {
_local3 = _local3 + (("[" + _local1) + "] ::\n");
for (_local2 in _tweenList[_local1].properties) {
_local3 = _local3 + ((((" " + _local2) + " -> ") + _tweenList[_local1].properties[_local2].valueComplete) + newline);
}
_local1++;
}
return(_local3);
}
static var _engineExists = false;
static var _inited = false;
static var _timeScale = 1;
}
Symbol 833 MovieClip [__Packages.caurina.transitions.TweenListObj] Frame 0
class caurina.transitions.TweenListObj
{
var scope, timeStart, timeComplete, useFrames, transition, auxProperties, properties, isPaused, timePaused, isCaller, updatesSkipped, timesCalled, skipUpdates, hasStarted, onStart, onUpdate, onComplete, onOverwrite, onError, onStartParams, onUpdateParams, onCompleteParams, onOverwriteParams, rounded, count, waitFrames;
function TweenListObj (p_scope, p_timeStart, p_timeComplete, p_useFrames, p_transition) {
scope = p_scope;
timeStart = p_timeStart;
timeComplete = p_timeComplete;
useFrames = p_useFrames;
transition = p_transition;
auxProperties = new Object();
properties = new Object();
isPaused = false;
timePaused = undefined;
isCaller = false;
updatesSkipped = 0;
timesCalled = 0;
skipUpdates = 0;
hasStarted = false;
}
function clone(omitEvents) {
var _local2 = new caurina.transitions.TweenListObj(scope, timeStart, timeComplete, useFrames, transition);
_local2.properties = new Object();
for (var _local3 in properties) {
_local2.properties[_local3] = properties[_local3].clone();
}
_local2.skipUpdates = skipUpdates;
_local2.updatesSkipped = updatesSkipped;
if (!omitEvents) {
_local2.onStart = onStart;
_local2.onUpdate = onUpdate;
_local2.onComplete = onComplete;
_local2.onOverwrite = onOverwrite;
_local2.onError = onError;
_local2.onStartParams = onStartParams;
_local2.onUpdateParams = onUpdateParams;
_local2.onCompleteParams = onCompleteParams;
_local2.onOverwriteParams = onOverwriteParams;
}
_local2.rounded = rounded;
_local2.isPaused = isPaused;
_local2.timePaused = timePaused;
_local2.isCaller = isCaller;
_local2.count = count;
_local2.timesCalled = timesCalled;
_local2.waitFrames = waitFrames;
_local2.hasStarted = hasStarted;
return(_local2);
}
function toString() {
var _local2 = "\n[TweenListObj ";
_local2 = _local2 + ("scope:" + String(scope));
_local2 = _local2 + ", properties:";
var _local3 = true;
for (var _local4 in properties) {
if (!_local3) {
_local2 = _local2 + ",";
}
_local2 = _local2 + ("[name:" + properties[_local4].name);
_local2 = _local2 + (",valueStart:" + properties[_local4].valueStart);
_local2 = _local2 + (",valueComplete:" + properties[_local4].valueComplete);
_local2 = _local2 + "]";
_local3 = false;
}
_local2 = _local2 + (", timeStart:" + String(timeStart));
_local2 = _local2 + (", timeComplete:" + String(timeComplete));
_local2 = _local2 + (", useFrames:" + String(useFrames));
_local2 = _local2 + (", transition:" + String(transition));
if (skipUpdates) {
_local2 = _local2 + (", skipUpdates:" + String(skipUpdates));
}
if (updatesSkipped) {
_local2 = _local2 + (", updatesSkipped:" + String(updatesSkipped));
}
if (onStart) {
_local2 = _local2 + (", onStart:" + String(onStart));
}
if (onUpdate) {
_local2 = _local2 + (", onUpdate:" + String(onUpdate));
}
if (onComplete) {
_local2 = _local2 + (", onComplete:" + String(onComplete));
}
if (onOverwrite) {
_local2 = _local2 + (", onOverwrite:" + String(onOverwrite));
}
if (onError) {
_local2 = _local2 + (", onError:" + String(onError));
}
if (onStartParams) {
_local2 = _local2 + (", onStartParams:" + String(onStartParams));
}
if (onUpdateParams) {
_local2 = _local2 + (", onUpdateParams:" + String(onUpdateParams));
}
if (onCompleteParams) {
_local2 = _local2 + (", onCompleteParams:" + String(onCompleteParams));
}
if (onOverwriteParams) {
_local2 = _local2 + (", onOverwriteParams:" + String(onOverwriteParams));
}
if (rounded) {
_local2 = _local2 + (", rounded:" + String(rounded));
}
if (isPaused) {
_local2 = _local2 + (", isPaused:" + String(isPaused));
}
if (timePaused) {
_local2 = _local2 + (", timePaused:" + String(timePaused));
}
if (isCaller) {
_local2 = _local2 + (", isCaller:" + String(isCaller));
}
if (count) {
_local2 = _local2 + (", count:" + String(count));
}
if (timesCalled) {
_local2 = _local2 + (", timesCalled:" + String(timesCalled));
}
if (waitFrames) {
_local2 = _local2 + (", waitFrames:" + String(waitFrames));
}
if (hasStarted) {
_local2 = _local2 + (", hasStarted:" + String(hasStarted));
}
_local2 = _local2 + "]\n";
return(_local2);
}
static function makePropertiesChain(p_obj) {
var _local6 = p_obj.base;
if (_local6) {
var _local5 = {};
var _local2;
if (_local6 instanceof Array) {
_local2 = [];
var _local3 = 0;
while (_local3 < _local6.length) {
_local2.push(_local6[_local3]);
_local3++;
}
} else {
_local2 = [_local6];
}
_local2.push(p_obj);
var _local4;
var _local7 = _local2.length;
var _local1 = 0;
while (_local1 < _local7) {
if (_local2[_local1].base) {
_local4 = caurina.transitions.AuxFunctions.concatObjects(makePropertiesChain(_local2[_local1].base), _local2[_local1]);
} else {
_local4 = _local2[_local1];
}
_local5 = caurina.transitions.AuxFunctions.concatObjects(_local5, _local4);
_local1++;
}
if (_local5.base) {
delete _local5.base;
}
return(_local5);
}
return(p_obj);
}
}
Symbol 834 MovieClip [__Packages.caurina.transitions.AuxFunctions] Frame 0
class caurina.transitions.AuxFunctions
{
function AuxFunctions () {
}
static function numberToR(p_num) {
return((p_num & 16711680) >> 16);
}
static function numberToG(p_num) {
return((p_num & 65280) >> 8);
}
static function numberToB(p_num) {
return(p_num & 255);
}
static function isInArray(p_string, p_array) {
var _local2 = p_array.length;
var _local1 = 0;
while (_local1 < _local2) {
if (p_array[_local1] == p_string) {
return(true);
}
_local1++;
}
return(false);
}
static function getObjectLength(p_object) {
var _local1 = 0;
for (var _local2 in p_object) {
_local1++;
}
return(_local1);
}
static function concatObjects() {
var _local4 = {};
var _local2;
var _local3 = 0;
while (_local3 < arguments.length) {
_local2 = arguments[_local3];
for (var _local5 in _local2) {
if (_local2[_local5] == null) {
delete _local4[_local5];
} else {
_local4[_local5] = _local2[_local5];
}
}
_local3++;
}
return(_local4);
}
}
Symbol 835 MovieClip [__Packages.caurina.transitions.PropertyInfoObj] Frame 0
class caurina.transitions.PropertyInfoObj
{
var valueStart, valueComplete, hasModifier, modifierFunction, modifierParameters;
function PropertyInfoObj (p_valueStart, p_valueComplete, p_modifierFunction, p_modifierParameters) {
valueStart = p_valueStart;
valueComplete = p_valueComplete;
hasModifier = p_modifierFunction != undefined;
modifierFunction = p_modifierFunction;
modifierParameters = p_modifierParameters;
}
function clone() {
var _local2 = new caurina.transitions.PropertyInfoObj(valueStart, valueComplete, modifierFunction, modifierParameters);
return(_local2);
}
function toString() {
var _local2 = "\n[PropertyInfoObj ";
_local2 = _local2 + ("valueStart:" + String(valueStart));
_local2 = _local2 + ", ";
_local2 = _local2 + ("valueComplete:" + String(valueComplete));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierFunction:" + String(modifierFunction));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierParameters:" + String(modifierParameters));
_local2 = _local2 + "]\n";
return(_local2);
}
}
Symbol 836 MovieClip [__Packages.caurina.transitions.Equations] Frame 0
class caurina.transitions.Equations
{
function Equations () {
trace("Equations is a static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerTransition("easenone", easeNone);
caurina.transitions.Tweener.registerTransition("linear", easeNone);
caurina.transitions.Tweener.registerTransition("easeinquad", easeInQuad);
caurina.transitions.Tweener.registerTransition("easeoutquad", easeOutQuad);
caurina.transitions.Tweener.registerTransition("easeinoutquad", easeInOutQuad);
caurina.transitions.Tweener.registerTransition("easeoutinquad", easeOutInQuad);
caurina.transitions.Tweener.registerTransition("easeincubic", easeInCubic);
caurina.transitions.Tweener.registerTransition("easeoutcubic", easeOutCubic);
caurina.transitions.Tweener.registerTransition("easeinoutcubic", easeInOutCubic);
caurina.transitions.Tweener.registerTransition("easeoutincubic", easeOutInCubic);
caurina.transitions.Tweener.registerTransition("easeinquart", easeInQuart);
caurina.transitions.Tweener.registerTransition("easeoutquart", easeOutQuart);
caurina.transitions.Tweener.registerTransition("easeinoutquart", easeInOutQuart);
caurina.transitions.Tweener.registerTransition("easeoutinquart", easeOutInQuart);
caurina.transitions.Tweener.registerTransition("easeinquint", easeInQuint);
caurina.transitions.Tweener.registerTransition("easeoutquint", easeOutQuint);
caurina.transitions.Tweener.registerTransition("easeinoutquint", easeInOutQuint);
caurina.transitions.Tweener.registerTransition("easeoutinquint", easeOutInQuint);
caurina.transitions.Tweener.registerTransition("easeinsine", easeInSine);
caurina.transitions.Tweener.registerTransition("easeoutsine", easeOutSine);
caurina.transitions.Tweener.registerTransition("easeinoutsine", easeInOutSine);
caurina.transitions.Tweener.registerTransition("easeoutinsine", easeOutInSine);
caurina.transitions.Tweener.registerTransition("easeincirc", easeInCirc);
caurina.transitions.Tweener.registerTransition("easeoutcirc", easeOutCirc);
caurina.transitions.Tweener.registerTransition("easeinoutcirc", easeInOutCirc);
caurina.transitions.Tweener.registerTransition("easeoutincirc", easeOutInCirc);
caurina.transitions.Tweener.registerTransition("easeinexpo", easeInExpo);
caurina.transitions.Tweener.registerTransition("easeoutexpo", easeOutExpo);
caurina.transitions.Tweener.registerTransition("easeinoutexpo", easeInOutExpo);
caurina.transitions.Tweener.registerTransition("easeoutinexpo", easeOutInExpo);
caurina.transitions.Tweener.registerTransition("easeinelastic", easeInElastic);
caurina.transitions.Tweener.registerTransition("easeoutelastic", easeOutElastic);
caurina.transitions.Tweener.registerTransition("easeinoutelastic", easeInOutElastic);
caurina.transitions.Tweener.registerTransition("easeoutinelastic", easeOutInElastic);
caurina.transitions.Tweener.registerTransition("easeinback", easeInBack);
caurina.transitions.Tweener.registerTransition("easeoutback", easeOutBack);
caurina.transitions.Tweener.registerTransition("easeinoutback", easeInOutBack);
caurina.transitions.Tweener.registerTransition("easeoutinback", easeOutInBack);
caurina.transitions.Tweener.registerTransition("easeinbounce", easeInBounce);
caurina.transitions.Tweener.registerTransition("easeoutbounce", easeOutBounce);
caurina.transitions.Tweener.registerTransition("easeinoutbounce", easeInOutBounce);
caurina.transitions.Tweener.registerTransition("easeoutinbounce", easeOutInBounce);
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInQuad(t, b, c, d) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOutQuad(t, b, c, d) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOutQuad(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 function easeOutInQuad(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutQuad(t * 2, b, c / 2, d));
}
return(easeInQuad((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInCubic(t, b, c, d) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOutCubic(t, b, c, d) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOutCubic(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return(((((c / 2) * t) * t) * t) + b);
}
t = t - 2;
return(((c / 2) * (((t * t) * t) + 2)) + b);
}
static function easeOutInCubic(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutCubic(t * 2, b, c / 2, d));
}
return(easeInCubic((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInQuart(t, b, c, d) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOutQuart(t, b, c, d) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOutQuart(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((((c / 2) * t) * t) * t) * t) + b);
}
t = t - 2;
return((((-c) / 2) * ((((t * t) * t) * t) - 2)) + b);
}
static function easeOutInQuart(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutQuart(t * 2, b, c / 2, d));
}
return(easeInQuart((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInQuint(t, b, c, d) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOutQuint(t, b, c, d) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOutQuint(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 function easeOutInQuint(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutQuint(t * 2, b, c / 2, d));
}
return(easeInQuint((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInSine(t, b, c, d) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOutSine(t, b, c, d) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOutSine(t, b, c, d) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
static function easeOutInSine(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutSine(t * 2, b, c / 2, d));
}
return(easeInSine((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInExpo(t, b, c, d) {
return(((t == 0) ? (b) : (((c * Math.pow(2, 10 * ((t / d) - 1))) + b) - (c * 0.001))));
}
static function easeOutExpo(t, b, c, d) {
return(((t == d) ? (b + c) : (((c * 1.001) * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOutExpo(t, b, c, d) {
if (t == 0) {
return(b);
}
if (t == d) {
return(b + c);
}
t = t / (d / 2);
if (t < 1) {
return((((c / 2) * Math.pow(2, 10 * (t - 1))) + b) - (c * 0.0005));
}
t--;
return((((c / 2) * 1.0005) * ((-Math.pow(2, -10 * t)) + 2)) + b);
}
static function easeOutInExpo(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutExpo(t * 2, b, c / 2, d));
}
return(easeInExpo((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInCirc(t, b, c, d) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOutCirc(t, b, c, d) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOutCirc(t, b, c, d) {
t = t / (d / 2);
if (t < 1) {
return((((-c) / 2) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
t = t - 2;
return(((c / 2) * (Math.sqrt(1 - (t * t)) + 1)) + b);
}
static function easeOutInCirc(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutCirc(t * 2, b, c / 2, d));
}
return(easeInCirc((t * 2) - d, b + (c / 2), c / 2, d));
}
static function easeInElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
t = t - 1;
return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p))) + b);
}
static function easeOutElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (p / (Math.PI*2)) * Math.asin(c / a);
}
return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) + c) + b);
}
static function easeInOutElastic(t, b, c, d, a, p) {
var _local5;
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;
_local5 = p / 4;
} else {
_local5 = (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) - _local5) * (Math.PI*2)) / p))) + b);
}
t = t - 1;
return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / p)) * 0.5) + c) + b);
}
static function easeOutInElastic(t, b, c, d, a, p) {
if (t < (d / 2)) {
return(easeOutElastic(t * 2, b, c / 2, d, a, p));
}
return(easeInElastic((t * 2) - d, b + (c / 2), c / 2, d, a, p));
}
static function easeInBack(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 easeOutBack(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 easeInOutBack(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 function easeOutInBack(t, b, c, d, s) {
if (t < (d / 2)) {
return(easeOutBack(t * 2, b, c / 2, d, s));
}
return(easeInBack((t * 2) - d, b + (c / 2), c / 2, d, s));
}
static function easeInBounce(t, b, c, d) {
return((c - easeOutBounce(d - t, 0, c, d)) + b);
}
static function easeOutBounce(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 easeInOutBounce(t, b, c, d) {
if (t < (d / 2)) {
return((easeInBounce(t * 2, 0, c, d) * 0.5) + b);
}
return(((easeOutBounce((t * 2) - d, 0, c, d) * 0.5) + (c * 0.5)) + b);
}
static function easeOutInBounce(t, b, c, d) {
if (t < (d / 2)) {
return(easeOutBounce(t * 2, b, c / 2, d));
}
return(easeInBounce((t * 2) - d, b + (c / 2), c / 2, d));
}
}
Symbol 837 MovieClip [__Packages.caurina.transitions.SpecialPropertiesDefault] Frame 0
class caurina.transitions.SpecialPropertiesDefault
{
function SpecialPropertiesDefault () {
trace("SpecialProperties is an static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerSpecialProperty("_frame", _frame_get, _frame_set);
caurina.transitions.Tweener.registerSpecialProperty("_sound_volume", _sound_volume_get, _sound_volume_set);
caurina.transitions.Tweener.registerSpecialProperty("_sound_pan", _sound_pan_get, _sound_pan_set);
caurina.transitions.Tweener.registerSpecialProperty("_color_ra", _color_property_get, _color_property_set, ["ra"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_rb", _color_property_get, _color_property_set, ["rb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ga", _color_property_get, _color_property_set, ["ga"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_gb", _color_property_get, _color_property_set, ["gb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ba", _color_property_get, _color_property_set, ["ba"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_bb", _color_property_get, _color_property_set, ["bb"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_aa", _color_property_get, _color_property_set, ["aa"]);
caurina.transitions.Tweener.registerSpecialProperty("_color_ab", _color_property_get, _color_property_set, ["ab"]);
caurina.transitions.Tweener.registerSpecialProperty("_autoAlpha", _autoAlpha_get, _autoAlpha_set);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_color", _color_splitter);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_colorTransform", _colorTransform_splitter);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_scale", _scale_splitter);
caurina.transitions.Tweener.registerSpecialProperty("_blur_blurX", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "blurX"]);
caurina.transitions.Tweener.registerSpecialProperty("_blur_blurY", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "blurY"]);
caurina.transitions.Tweener.registerSpecialProperty("_blur_quality", _filter_property_get, _filter_property_set, [flash.filters.BlurFilter, "quality"]);
caurina.transitions.Tweener.registerSpecialPropertySplitter("_filter", _filter_splitter);
caurina.transitions.Tweener.registerSpecialPropertyModifier("_bezier", _bezier_modifier, _bezier_get);
}
static function _color_splitter(p_value) {
var _local1 = new Array();
if (p_value == null) {
_local1.push({name:"_color_ra", value:100});
_local1.push({name:"_color_rb", value:0});
_local1.push({name:"_color_ga", value:100});
_local1.push({name:"_color_gb", value:0});
_local1.push({name:"_color_ba", value:100});
_local1.push({name:"_color_bb", value:0});
} else {
_local1.push({name:"_color_ra", value:0});
_local1.push({name:"_color_rb", value:caurina.transitions.AuxFunctions.numberToR(p_value)});
_local1.push({name:"_color_ga", value:0});
_local1.push({name:"_color_gb", value:caurina.transitions.AuxFunctions.numberToG(p_value)});
_local1.push({name:"_color_ba", value:0});
_local1.push({name:"_color_bb", value:caurina.transitions.AuxFunctions.numberToB(p_value)});
}
return(_local1);
}
static function _colorTransform_splitter(p_value) {
var _local2 = new Array();
if (p_value == null) {
_local2.push({name:"_color_ra", value:100});
_local2.push({name:"_color_rb", value:0});
_local2.push({name:"_color_ga", value:100});
_local2.push({name:"_color_gb", value:0});
_local2.push({name:"_color_ba", value:100});
_local2.push({name:"_color_bb", value:0});
} else {
if (p_value.ra != undefined) {
_local2.push({name:"_color_ra", value:p_value.ra});
}
if (p_value.rb != undefined) {
_local2.push({name:"_color_rb", value:p_value.rb});
}
if (p_value.ga != undefined) {
_local2.push({name:"_color_ba", value:p_value.ba});
}
if (p_value.gb != undefined) {
_local2.push({name:"_color_bb", value:p_value.bb});
}
if (p_value.ba != undefined) {
_local2.push({name:"_color_ga", value:p_value.ga});
}
if (p_value.bb != undefined) {
_local2.push({name:"_color_gb", value:p_value.gb});
}
if (p_value.aa != undefined) {
_local2.push({name:"_color_aa", value:p_value.aa});
}
if (p_value.ab != undefined) {
_local2.push({name:"_color_ab", value:p_value.ab});
}
}
return(_local2);
}
static function _scale_splitter(p_value) {
var _local1 = new Array();
_local1.push({name:"_xscale", value:p_value});
_local1.push({name:"_yscale", value:p_value});
return(_local1);
}
static function _filter_splitter(p_value) {
var _local1 = new Array();
if (p_value instanceof flash.filters.BlurFilter) {
_local1.push({name:"_blur_blurX", value:flash.filters.BlurFilter(p_value).blurX});
_local1.push({name:"_blur_blurY", value:flash.filters.BlurFilter(p_value).blurY});
_local1.push({name:"_blur_quality", value:flash.filters.BlurFilter(p_value).quality});
} else {
trace("??");
}
return(_local1);
}
static function _frame_get(p_obj) {
return(p_obj._currentFrame);
}
static function _frame_set(p_obj, p_value) {
p_obj.gotoAndStop(Math.round(p_value));
}
static function _sound_volume_get(p_obj) {
return(p_obj.getVolume());
}
static function _sound_volume_set(p_obj, p_value) {
p_obj.setVolume(p_value);
}
static function _sound_pan_get(p_obj) {
return(p_obj.getPan());
}
static function _sound_pan_set(p_obj, p_value) {
p_obj.setPan(p_value);
}
static function _color_property_get(p_obj, p_parameters) {
return(new Color(p_obj).getTransform()[p_parameters[0]]);
}
static function _color_property_set(p_obj, p_value, p_parameters) {
var _local1 = new Object();
_local1[p_parameters[0]] = Math.round(p_value);
new Color(p_obj).setTransform(_local1);
}
static function _autoAlpha_get(p_obj) {
return(p_obj._alpha);
}
static function _autoAlpha_set(p_obj, p_value) {
p_obj._alpha = p_value;
p_obj._visible = p_value > 0;
}
static function _filter_property_get(p_obj, p_parameters) {
var _local2 = p_obj.filters;
var _local1;
var _local4 = p_parameters[0];
var _local3 = p_parameters[1];
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof _local4) {
return(_local2[_local1][_local3]);
}
_local1++;
}
var _local5;
if (!(_local4 === flash.filters.BlurFilter)) {
} else {
_local5 = {blurX:0, blurY:0, quality:NaN};
}
return(_local5[_local3]);
}
static function _filter_property_set(p_obj, p_value, p_parameters) {
var _local2 = p_obj.filters;
var _local1;
var _local4 = p_parameters[0];
var _local3 = p_parameters[1];
_local1 = 0;
while (_local1 < _local2.length) {
if (_local2[_local1] instanceof _local4) {
_local2[_local1][_local3] = p_value;
p_obj.filters = _local2;
return(undefined);
}
_local1++;
}
if (_local2 == undefined) {
_local2 = new Array();
}
var _local7;
if (!(_local4 === flash.filters.BlurFilter)) {
} else {
_local7 = new flash.filters.BlurFilter(0, 0);
}
_local7[_local3] = p_value;
_local2.push(_local7);
p_obj.filters = _local2;
}
static function _bezier_modifier(p_obj) {
var _local7 = [];
var _local4;
if (p_obj instanceof Array) {
_local4 = p_obj.concat();
} else {
_local4 = [p_obj];
}
var _local3;
var _local1;
var _local2 = {};
_local3 = 0;
while (_local3 < _local4.length) {
for (_local1 in _local4[_local3]) {
if (_local2[_local1] == undefined) {
_local2[_local1] = [];
}
_local2[_local1].push(_local4[_local3][_local1]);
}
_local3++;
}
for (_local1 in _local2) {
_local7.push({name:_local1, parameters:_local2[_local1]});
}
return(_local7);
}
static function _bezier_get(b, e, t, p) {
if (p.length == 1) {
return(b + (t * (((2 * (1 - t)) * (p[0] - b)) + (t * (e - b)))));
}
var _local2 = Math.floor(t * p.length);
var _local5 = (t - (_local2 * (1 / p.length))) * p.length;
var _local3;
var _local6;
if (_local2 == 0) {
_local3 = b;
_local6 = (p[0] + p[1]) / 2;
} else if (_local2 == (p.length - 1)) {
_local3 = (p[_local2 - 1] + p[_local2]) / 2;
_local6 = e;
} else {
_local3 = (p[_local2 - 1] + p[_local2]) / 2;
_local6 = (p[_local2] + p[_local2 + 1]) / 2;
}
return(_local3 + (_local5 * (((2 * (1 - _local5)) * (p[_local2] - _local3)) + (_local5 * (_local6 - _local3)))));
}
}
Symbol 838 MovieClip [__Packages.caurina.transitions.SpecialProperty] Frame 0
class caurina.transitions.SpecialProperty
{
var parameters;
function SpecialProperty (p_getFunction, p_setFunction, p_parameters) {
getValue = p_getFunction;
setValue = p_setFunction;
parameters = p_parameters;
}
function getValue(p_obj, p_parameters) {
return(null);
}
function setValue(p_obj, p_value, p_parameters) {
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialProperty ";
_local2 = _local2 + ("getValue:" + getValue.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("setValue:" + setValue.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("parameters:" + parameters.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 839 MovieClip [__Packages.caurina.transitions.SpecialPropertyModifier] Frame 0
class caurina.transitions.SpecialPropertyModifier
{
var modifyValues, getValue;
function SpecialPropertyModifier (p_modifyFunction, p_getFunction) {
modifyValues = p_modifyFunction;
getValue = p_getFunction;
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialPropertyModifier ";
_local2 = _local2 + ("modifyValues:" + modifyValues.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("getValue:" + getValue.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 840 MovieClip [__Packages.caurina.transitions.SpecialPropertySplitter] Frame 0
class caurina.transitions.SpecialPropertySplitter
{
var parameters;
function SpecialPropertySplitter (p_splitFunction, p_parameters) {
splitValues = p_splitFunction;
parameters = p_parameters;
}
function splitValues(p_value, p_parameters) {
return([]);
}
function toString() {
var _local2 = "";
_local2 = _local2 + "[SpecialPropertySplitter ";
_local2 = _local2 + ("splitValues:" + splitValues.toString());
_local2 = _local2 + ", ";
_local2 = _local2 + ("parameters:" + parameters.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 841 MovieClip [__Packages.de.polygonal.math.PM_PRNG] Frame 0
class de.polygonal.math.PM_PRNG
{
var seed;
function PM_PRNG () {
seed = 1;
}
function nextInt() {
return(gen());
}
function nextDouble() {
return(gen() / 2147483647);
}
function nextIntRange(min, max) {
min = min - 0.4999;
max = max + 0.4999;
return(Math.round(min + ((max - min) * nextDouble())));
}
function nextDoubleRange(min, max) {
return(min + ((max - min) * nextDouble()));
}
function gen() {
return((seed = (seed * 16807) % 2147483647));
}
}
Symbol 8 MovieClip Frame 1
var frameLabel_str = "init";
var stopped_bool = false;
if (_visible != false) {
_visible = false;
}
Symbol 8 MovieClip Frame 2
frameLabel_str = "stopped";
stopped_bool = true;
stop();
Symbol 8 MovieClip Frame 11
frameLabel_str = "playing";
stopped_bool = false;
if (_visible != true) {
_visible = true;
}
Symbol 8 MovieClip Frame 12
if (text_mc._visible != true) {
text_mc._visible = true;
}
Symbol 8 MovieClip Frame 16
if (text_mc._visible != false) {
text_mc._visible = false;
}
Symbol 8 MovieClip Frame 17
gotoAndPlay ("loop");
Symbol 8 MovieClip Frame 28
stopped_bool = true;
stop();
Symbol 8 MovieClip Frame 29
stopped_bool = true;
stop();
Symbol 8 MovieClip Frame 30
stopped_bool = true;
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 34 MovieClip Frame 1
var frameLabel_str = "init";
var stopped_bool = false;
Symbol 34 MovieClip Frame 2
frameLabel_str = "siren_off";
stopped_flag = true;
stop();
Symbol 34 MovieClip Frame 11
frameLabel_str = "siren_on";
stopped_flag = false;
Symbol 34 MovieClip Frame 12
this.pauseMe(0.05);
Symbol 34 MovieClip Frame 13
this.pauseMe(0.1);
Symbol 34 MovieClip Frame 14
gotoAndPlay ("siren_on");
Symbol 34 MovieClip Frame 30
stopped_flag = true;
stop();
Symbol 35 MovieClip Frame 1
function fncSirenAlphaUp(whichSiren) {
var siren_target = eval (("siren" + whichSiren) + "_mc.colour_on_mc");
caurina.transitions.Tweener.removeTweens(siren_target);
if (siren_on_bool == true) {
caurina.transitions.Tweener.addTween(siren_target, {_alpha:100, time:fadeTime_num, transition:"linear", onComplete:fncSirenAlphaDown, onCompleteParams:[whichSiren]});
}
}
function fncSirenAlphaDown(whichSiren) {
var siren_target = eval (("siren" + whichSiren) + "_mc.colour_on_mc");
caurina.transitions.Tweener.removeTweens(siren_target);
caurina.transitions.Tweener.addTween(siren_target, {_alpha:0, time:fadeTime_num, transition:"linear", onComplete:fncSirenAlphaUp, onCompleteParams:[whichSiren]});
}
var frameLabel_str = "init";
var stopped_bool = false;
var siren_on_bool = false;
var fadeTime_num = 0.1;
Symbol 35 MovieClip Frame 2
frameLabel_str = "siren_off";
stopped_flag = true;
stop();
var i = 1;
while (i <= 3) {
if (this[("siren" + i) + "_mc"].frameLabel_str != "siren_off") {
this[("siren" + i) + "_mc"].gotoAndPlay("siren_off");
}
i++;
}
Symbol 35 MovieClip Frame 11
frameLabel_str = "siren_on";
stopped_flag = false;
fncSirenAlphaUp(1);
Symbol 35 MovieClip Frame 12
this.pauseMe(fadeTime_num);
Symbol 35 MovieClip Frame 13
fncSirenAlphaUp(2);
Symbol 35 MovieClip Frame 14
this.pauseMe(fadeTime_num);
Symbol 35 MovieClip Frame 15
fncSirenAlphaUp(3);
Symbol 35 MovieClip Frame 17
stopped_flag = true;
stop();
Symbol 35 MovieClip Frame 30
stopped_flag = true;
stop();
Symbol 36 MovieClip Frame 1
stop();
Symbol 40 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 1
stop();
Symbol 643 MovieClip Frame 1
stop();
Symbol 644 MovieClip Frame 1
stop();
Symbol 645 MovieClip Frame 1
stop();
Symbol 646 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 1
var frameLabel_str = "init";
var stopped_bool = false;
Symbol 649 MovieClip Frame 2
frameLabel_str = "stopped";
stopped_bool = true;
stop();
Symbol 649 MovieClip Frame 3
this.pauseMe(Math.random() * 0.1);
Symbol 649 MovieClip Frame 38
if (sparkle_flag_bool == true) {
this.pauseMe((Math.random() * 1) + 0.1);
} else {
gotoAndPlay ("stopped");
}
Symbol 649 MovieClip Frame 39
gotoAndPlay ("playing");
Symbol 649 MovieClip Frame 40
stop();
Symbol 649 MovieClip Frame 41
gotoAndPlay (1);
Symbol 649 MovieClip Frame 45
stopped_bool = true;
stop();
Symbol 660 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 1
stop();
Symbol 667 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 1
stop();
Symbol 676 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 1
stop();
Symbol 704 MovieClip Frame 1
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 2
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 3
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 4
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 5
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 6
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 7
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 8
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 9
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 10
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 11
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 12
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 13
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 14
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 15
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 16
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 17
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 18
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 19
stopped_flag = true;
stop();
Symbol 704 MovieClip Frame 20
stopped_flag = true;
stop();
Symbol 739 MovieClip Frame 1
function fncInitDisplay() {
slot_winner_sound.setVolume(soundFXvolume);
if (decimalPlaces >= 1) {
decimalFactor = Math.pow(10, decimalPlaces);
} else {
decimalFactor = 1;
}
if (showCommas == true) {
commaCurrent = 1;
commasMax = Math.ceil(numbersMax / commaGroupNum) - 1;
} else {
commasMax = 0;
}
XposCurrent_num = (((numbersMax * numberCompWidth_num) + (commasMax * commaCompWidth_num)) + (decimalPlaces * numberCompWidth_num)) + decimalCompWidth_num;
hilite_mc.swapDepths(100001);
hilite_mc._width = XposCurrent_num;
hilite_mc._alpha = windowHiliteAlpha;
shadow_mc.swapDepths(100000);
shadow_mc._width = XposCurrent_num;
shadow_mc._alpha = windowShadowAlpha;
bg_mc._width = XposCurrent_num;
caurina.transitions.Tweener.addTween(bg_mc, {_color:windowBgColor, time:0});
i = 1;
while (i <= decimalPlaces) {
var _local2 = this[("numberComp_" + i) + "_mc"];
numberComp_mc.duplicateMovieClip(_local2, i);
caurina.transitions.Tweener.addTween(this[_local2].numberTile_mc, {_color:numberColorOn, time:0});
caurina.transitions.Tweener.addTween(this[_local2].number_bg_mc, {_color:numberColorOff, time:0});
if (glowBlurRadius > 0) {
var _local5 = new flash.filters.GlowFilter(numberColorOn, glowAlpha, glowBlurRadius, glowBlurRadius, glowStrength, glowQuality, glowInner, glowKnockout);
var _local4 = new Array();
_local4.push(_local5);
this[("numberComp_" + i) + "_mc"].filters = _local4;
}
this[_local2].whichNumberMC_num = i;
this[_local2].windowNum.text = i;
XposCurrent_num = XposCurrent_num - numberCompWidth_num;
this[_local2]._x = XposCurrent_num;
numberMC_array[i - 1] = _local2;
i++;
}
if (decimalPlaces >= 1) {
var _local2 = "decimalComp_mc";
caurina.transitions.Tweener.addTween(this[_local2].decimal_mc, {_color:numberColorOn, time:0});
if (glowBlurRadius > 0) {
var _local5 = new flash.filters.GlowFilter(numberColorOn, glowAlpha, glowBlurRadius, glowBlurRadius, glowStrength, glowQuality, glowInner, glowKnockout);
var _local4 = new Array();
_local4.push(_local5);
this.decimalComp_mc.filters = _local4;
}
XposCurrent_num = XposCurrent_num - decimalCompWidth_num;
this[_local2]._x = XposCurrent_num;
} else {
decimalComp_mc._visible = false;
}
i = decimalPlaces + 1;
while (i <= (numbersMax + decimalPlaces)) {
var _local2 = ("numberComp_" + i) + "_mc";
numberComp_mc.duplicateMovieClip(_local2, i);
caurina.transitions.Tweener.addTween(this[_local2].numberTile_mc, {_color:numberColorOn, time:0});
caurina.transitions.Tweener.addTween(this[_local2].number_bg_mc, {_color:numberColorOff, time:0});
if (glowBlurRadius > 0) {
var _local5 = new flash.filters.GlowFilter(numberColorOn, glowAlpha, glowBlurRadius, glowBlurRadius, glowStrength, glowQuality, glowInner, glowKnockout);
var _local4 = new Array();
_local4.push(_local5);
this[("numberComp_" + i) + "_mc"].filters = _local4;
}
this[_local2].whichNumberMC_num = i;
this[_local2].windowNum.text = i;
XposCurrent_num = XposCurrent_num - numberCompWidth_num;
this[_local2]._x = XposCurrent_num;
numberMC_array[i - 1] = _local2;
if ((showCommas == true) && (i < (numbersMax + decimalPlaces))) {
if (((i - decimalPlaces) % commaGroupNum) == 0) {
var _local3 = ("commaComp_" + ((i - decimalPlaces) / commaGroupNum)) + "_mc";
commaComp_mc.duplicateMovieClip(_local3, i * 1000);
caurina.transitions.Tweener.addTween(this[_local3].comma_mc, {_color:numberColorOn, time:0});
if (glowBlurRadius > 0) {
var _local5 = new flash.filters.GlowFilter(numberColorOn, glowAlpha, glowBlurRadius, glowBlurRadius, glowStrength, glowQuality, glowInner, glowKnockout);
var _local4 = new Array();
_local4.push(_local5);
this[("commaComp_" + ((i - decimalPlaces) / commaGroupNum)) + "_mc"].filters = _local4;
}
XposCurrent_num = XposCurrent_num - commaCompWidth_num;
this[_local3]._x = XposCurrent_num;
}
}
i++;
}
numberComp_mc._visible = false;
commaComp_mc._visible = false;
}
function fncInitNumberValues() {
startUnits_num = startNumber * decimalFactor;
endUnits_num = endNumber * decimalFactor;
currentUnits_num = startUnits_num;
if ((endNumber - startNumber) > 0) {
countDirection_str = "up";
} else {
countDirection_str = "down";
}
}
function fncInitNumberPos() {
fncInitNumberValues();
charctersTemp_str = String(currentUnits_num);
charcterLength_num = charctersTemp_str.length;
if (charcterLength_num < (numbersMax + decimalPlaces)) {
i = 1;
while (i <= ((numbersMax + decimalPlaces) - charcterLength_num)) {
charctersTemp_str = "0" + charctersTemp_str;
i++;
}
}
charctersOld_str = charctersTemp_str;
i = 1;
while (i <= (numbersMax + decimalPlaces)) {
var target_ref = eval (numberMC_array[i - 1]).numberTile_mc;
targetCharOld_str = charctersOld_str.charAt(charctersOld_str.length - i);
if (targetCharOld_str == "0") {
targetCharOld_str = "10";
}
target_ref.gotoAndStop(Number(targetCharOld_str));
i++;
}
}
function fncCheckTime() {
if (countDirection_str == "up") {
currentUnits_num = currentUnits_num + (incrementRate * decimalFactor);
if (stopAtEndNumber == true) {
if (currentUnits_num < endUnits_num) {
if (counting_flag != true) {
counting_flag = true;
}
fncMoveNumbers();
} else {
currentUnits_num = endUnits_num;
fncMoveNumbers();
fncEndCounter();
}
} else {
fncMoveNumbers();
}
} else {
currentUnits_num = currentUnits_num - (incrementRate * decimalFactor);
if (stopAtEndNumber == true) {
if (currentUnits_num > endUnits_num) {
if (counting_flag != true) {
counting_flag = true;
}
fncMoveNumbers();
} else {
currentUnits_num = endUnits_num;
fncMoveNumbers();
fncEndCounter();
}
} else {
fncMoveNumbers();
}
}
}
function fncMoveNumbers() {
charctersTemp_str = String(currentUnits_num);
charcterLength_num = charctersTemp_str.length;
if (charcterLength_num < (numbersMax + decimalPlaces)) {
i = 1;
while (i <= ((numbersMax + decimalPlaces) - charcterLength_num)) {
charctersTemp_str = "0" + charctersTemp_str;
i++;
}
}
charctersNew_str = charctersTemp_str;
if (charctersNew_str != charctersOld_str) {
i = 1;
while (i <= (numbersMax + decimalPlaces)) {
var target_ref = eval (numberMC_array[i - 1]).numberTile_mc;
targetCharOld_str = charctersOld_str.charAt(charctersOld_str.length - i);
targetCharNew_str = charctersNew_str.charAt(charctersNew_str.length - i);
if (targetCharNew_str != targetCharOld_str) {
if (targetCharNew_str == "0") {
targetCharNew_str = "10";
}
target_ref.gotoAndStop(Number(targetCharNew_str));
}
i++;
}
}
charctersOld_str = charctersNew_str;
}
function fncInitInterval() {
fncClearInterval();
timeCheck_interval = setInterval(fncCheckTime, intervalSeconds * 1000);
if (soundFXon == true) {
winnerLoops_num = int(Math.ceil(_parent.payoutCurrent_num * intervalSeconds));
slot_winner_sound.start(0, winnerLoops_num);
}
_parent.skinComp_mc.sirenComp_mc.siren_on_bool = true;
_parent.skinComp_mc.sirenComp_mc.gotoAndPlay("siren_on");
}
function fncClearInterval() {
if (timeCheck_interval) {
clearInterval(timeCheck_interval);
}
}
function fncEndCounter() {
fncClearInterval();
counting_flag = false;
if (_parent.moneyCurrent_num > 0) {
_parent.fncButtonEnable(_parent.payTableButton_mc, _parent.paytable_colour_up);
_parent.fncButtonEnable(_parent.betButton_mc, _parent.bet_colour_up);
_parent.fncButtonEnable(_parent.betMaxButton_mc, _parent.betmax_colour_up);
_parent.fncButtonEnable(_parent.spinButton_mc, _parent.spin_colour_up);
var _local2 = 1;
while (_local2 <= _parent.reelsMax_num) {
_parent[("sparkle_" + _local2) + "_mc"].sparkle_flag_bool = false;
_local2++;
}
} else {
_parent.fncButtonDisable(_parent.resetButton_mc, _parent.reset_colour_off);
}
}
var frameLabel_str = "functions";
var stopped_bool = false;
var startNumber = 0;
var endNumber = 0;
var stopAtEndNumber = true;
var incrementRate = 0;
var intervalSeconds = 0;
var numbersMax = 2;
var showCommas = true;
var commaGroupNum = 3;
var decimalPlaces = 0;
var numberColorOn = 0;
var numberColorOff = 0;
var windowBgColor = 0;
var windowHiliteAlpha = 0;
var windowShadowAlpha = 0;
var glowAlpha = 0;
var glowBlurRadius = 0;
var glowStrength = 0;
var glowQuality = 1;
var glowInner = false;
var glowKnockout = false;
var fadeInTime = 0;
var soundFXon = true;
var soundFXvolume = 0;
var startUnits_num = 0;
var endUnits_num = 0;
var currentUnits_num = 0;
var decimalFactor = 0;
var commaCurrent = 0;
var commasMax = 0;
var numberCompWidth_num = numberComp_mc._width;
var numberCompHeight_num = numberComp_mc._height;
var commaCompWidth_num = commaComp_mc._width;
var commaCompHeight_num = commaComp_mc._height;
if (decimalPlaces >= 1) {
var decimalCompWidth_num = decimalComp_mc._width;
} else {
var decimalCompWidth_num = 0;
}
var XposCurrent_num = 0;
var charctersOld_str = "";
var charctersNew_str = "";
var charctersTemp_str = "";
var numberMC_array = new Array();
var commaMC_array = new Array();
var countDirection_str = null;
var counting_flag = false;
var winnerLoops_num = 0;
var slot_winner_sound = new Sound(bg_mc);
slot_winner_sound.attachSound("slot_winner");
slot_winner_sound.onSoundComplete = function () {
if (_parent.skinComp_mc.sirenComp_mc.siren_on_bool == true) {
_parent.skinComp_mc.sirenComp_mc.siren_on_bool = false;
}
_parent.skinComp_mc.sirenComp_mc.gotoAndPlay("siren_off");
};
Symbol 739 MovieClip Frame 2
frameLabel_str = "fadeIn";
stopped_bool = true;
stop();
Symbol 739 MovieClip Frame 3
frameLabel_str = "stopped";
stopped_bool = true;
stop();
Symbol 739 MovieClip Frame 16
stopped_bool = true;
stop();
Symbol 739 MovieClip Frame 17
stopped_bool = true;
stop();
Symbol 739 MovieClip Frame 18
stopped_bool = true;
stop();
Symbol 770 MovieClip Frame 1
stop();
Symbol 827 MovieClip Frame 1
var frameLabel_str = "init";
var stopped_bool = false;
Symbol 827 MovieClip Frame 2
frameLabel_str = "loadXML";
stopped_bool = true;
gotoAndPlay ("playing");
Symbol 827 MovieClip Frame 3
function randomizeArray(array) {
var _local5 = array.length - 1;
var _local1 = 0;
while (_local1 < _local5) {
var _local3 = Math.round(Math.random() * _local5);
var _local4 = array[_local1];
array[_local1] = array[_local3];
array[_local3] = _local4;
_local1++;
}
return(array);
}
function fncInitDisplay() {
var i = 1;
while (i <= reelsMax_num) {
var parentClip_mc = eval (("reel_" + i) + "_mc.reelTile_mc");
parentClip_mc.createEmptyMovieClip("iconShell_mc", i);
var whichIconIndex_num = 0;
var iconsMax_num = (3 + (this[("reel_" + i) + "_icon_array"].length * 2));
var j = 1;
while (j <= iconsMax_num) {
if (j < iconsMax_num) {
parentClip_mc.iconShell_mc.attachMovie("reel_icon_" + this[("reel_" + i) + "_icon_array"][whichIconIndex_num], ("icon_" + j) + "_mc", j);
parentClip_mc.iconShell_mc[("icon_" + j) + "_mc"]._y = -1 * ((iconHeight_num * (j - 1)) - (iconHeight_num / 2));
} else {
parentClip_mc.iconShell_mc.attachMovie("reel_icon_" + this[("reel_" + i) + "_icon_array"][this[("reel_" + i) + "_icon_array"].length - 1], ("icon_" + j) + "_mc", j);
parentClip_mc.iconShell_mc[("icon_" + j) + "_mc"]._y = iconHeight_num * 1.5;
}
parentClip_mc.iconShell_mc[("icon_" + j) + "_mc"]._x = iconWidth_num / 2;
if (whichIconIndex_num < (this[("reel_" + i) + "_icon_array"].length - 1)) {
whichIconIndex_num++;
} else {
whichIconIndex_num = 0;
}
j++;
}
this[("reel_" + i) + "_mc"].reelTile_mc.whichReel_num = i;
this[("reel_" + i) + "_mc"].reelTile_mc.reelPosCurrent_num = 1;
this[("reel_" + i) + "_mc"].reelTile_mc.reelPosNew_num = undefined;
this[("reel_" + i) + "_mc"].reelTile_mc.speedCurrent_num = speedMin_num;
this[("reel_" + i) + "_mc"].reelTile_mc.yPosStart_num = this[("reel_" + i) + "_mc"].reelTile_mc._y;
this[("reel_" + i) + "_mc"].reelTile_mc.yPosEnd_num = this.yPosStart_num + revolutionYmove_num;
this[("reel_" + i) + "_mc"].reelTile_mc.yPosCurrent_num = this.yPosStart_num;
this[("reel_" + i) + "_mc"].reelTile_mc.stopflag_bool = false;
this[("reel_" + i) + "_mc"].windowComp_mc.cacheAsBitmap = true;
this[("reel_" + i) + "_mc"].windowComp_mc.cacheAsBitmap = true;
this[("reel_" + i) + "_mc"].windowComp_mc.cacheAsBitmap = true;
var blurX = 0;
var blurY = 0;
var quality = 1;
var filter = (new flash.filters.BlurFilter(blurX, blurY, quality));
var filterArray = new Array();
filterArray.push(filter);
this[("reel_" + i) + "_mc"].reelTile_mc.filters = filterArray;
i++;
}
fncButtonEnable(payTableButton_mc, paytable_colour_up);
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
fncButtonEnable(betButton_mc, bet_colour_up);
fncButtonEnable(betMaxButton_mc, betmax_colour_up);
}
function fncCheckPayout() {
payoutCurrent_num = 0;
payoutDisplay_num = payoutCurrent_num;
fncSetPayoutDisplay(payoutCurrent_num);
var _local2 = reel_1_icon_array[reelsCurrent_array[0] - 1];
var _local3 = reel_2_icon_array[reelsCurrent_array[1] - 1];
var _local1 = reel_3_icon_array[reelsCurrent_array[2] - 1];
if (_local2 == 1) {
payoutCurrent_num = payoutCurrent_num + (payoutLevel_1_num * coinsPlayedCurrent_num);
sparkle_1_mc.sparkle_flag_bool = true;
if (_local3 == 1) {
payoutCurrent_num = payoutCurrent_num + ((payoutLevel_2_num - payoutLevel_1_num) * coinsPlayedCurrent_num);
sparkle_2_mc.sparkle_flag_bool = true;
if ((_local1 == 1) || (_local1 == 5)) {
payoutCurrent_num = payoutCurrent_num + ((payoutLevel_3_num - payoutLevel_2_num) * coinsPlayedCurrent_num);
sparkle_3_mc.sparkle_flag_bool = true;
}
}
} else if (_local2 == 2) {
if (_local3 == 2) {
if ((_local1 == 2) || (_local1 == 5)) {
payoutCurrent_num = payoutLevel_4_num * coinsPlayedCurrent_num;
sparkle_1_mc.sparkle_flag_bool = true;
sparkle_2_mc.sparkle_flag_bool = true;
sparkle_3_mc.sparkle_flag_bool = true;
}
}
} else if (_local2 == 3) {
if (_local3 == 3) {
if ((_local1 == 3) || (_local1 == 5)) {
payoutCurrent_num = payoutLevel_5_num * coinsPlayedCurrent_num;
sparkle_1_mc.sparkle_flag_bool = true;
sparkle_2_mc.sparkle_flag_bool = true;
sparkle_3_mc.sparkle_flag_bool = true;
}
}
} else if (_local2 == 4) {
if (_local3 == 4) {
if ((_local1 == 4) || (_local1 == 5)) {
payoutCurrent_num = payoutLevel_6_num * coinsPlayedCurrent_num;
sparkle_1_mc.sparkle_flag_bool = true;
sparkle_2_mc.sparkle_flag_bool = true;
sparkle_3_mc.sparkle_flag_bool = true;
}
}
} else if (_local2 == 5) {
if (_local3 == 5) {
if (_local1 == 5) {
payoutCurrent_num = payoutLevel_7_num * coinsPlayedCurrent_num;
sparkle_1_mc.sparkle_flag_bool = true;
sparkle_2_mc.sparkle_flag_bool = true;
sparkle_3_mc.sparkle_flag_bool = true;
}
}
} else if (_local2 == 6) {
if (_local3 == 6) {
if (_local1 == 6) {
payoutCurrent_num = payoutLevel_8_num * coinsPlayedCurrent_num;
sparkle_1_mc.sparkle_flag_bool = true;
sparkle_2_mc.sparkle_flag_bool = true;
sparkle_3_mc.sparkle_flag_bool = true;
}
}
}
}
function fncSetMoneyDisplay(number) {
money_counter_mc.startNumber = number;
money_counter_mc.fncInitNumberPos();
moneyCurrent_num = number;
cookie_so.data.moneySO_num = moneyCurrent_num;
cookie_so.flush();
}
function fncUpdateMoneyDisplay() {
if (payoutCurrent_num > 0) {
money_counter_mc.startNumber = moneyCurrent_num;
payoutDisplay_num = payoutCurrent_num;
fncSetPayoutDisplay(payoutCurrent_num);
moneyCurrent_num = moneyCurrent_num + payoutCurrent_num;
money_counter_mc.endNumber = moneyCurrent_num;
money_counter_mc.fncInitNumberValues();
money_counter_mc.fncInitInterval();
var _local2 = 1;
while (_local2 <= reelsMax_num) {
if (this[("sparkle_" + _local2) + "_mc"].sparkle_flag_bool == true) {
this[("sparkle_" + _local2) + "_mc"].gotoAndPlay("playing");
}
_local2++;
}
} else if (moneyCurrent_num > 0) {
fncButtonEnable(payTableButton_mc, paytable_colour_up);
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
fncButtonEnable(betButton_mc, bet_colour_up);
fncButtonEnable(betMaxButton_mc, betmax_colour_up);
fncButtonEnable(spinButton_mc, spin_colour_up);
} else {
fncButtonEnable(resetButton_mc, reset_colour_up);
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
}
cookie_so.data.moneySO_num = moneyCurrent_num;
cookie_so.flush();
}
function fncSetPayoutDisplay(number) {
payout_counter_mc.startNumber = number;
payout_counter_mc.fncInitNumberPos();
}
function fncSetCoinsDisplay(number) {
coins_played_mc.startNumber = number;
coins_played_mc.fncInitNumberPos();
}
this._visible = false;
var soundFXon_bool = true;
var spinSoundVolume_num = Number("35");
var stopSoundVolume_num = Number("35");
var coinSoundVolume_num = Number("60");
var handleSoundVolume_num = Number("50");
var winnerSoundVolume_num = Number("40");
var reset_colour_off = Number("0xb8b8b8");
var reset_colour_up = Number("0xff7eb5");
var reset_colour_over = Number("0xFFFF00");
var bet_colour_off = Number("0xb8b8b8");
var bet_colour_up = Number("0xff7eb5");
var bet_colour_over = Number("0xFFFF00");
var betmax_colour_off = Number("0xb8b8b8");
var betmax_colour_up = Number("0xff7eb5");
var betmax_colour_over = Number("0xFFFF00");
var paytable_colour_off = Number("0xb8b8b8");
var paytable_colour_up = Number("0x54C8F9");
var paytable_colour_over = Number("0xFFFF00");
var moregames_colour_off = Number("0xb8b8b8");
var moregames_colour_up = Number("0x54C8F9");
var moregames_colour_over = Number("0xFFFF00");
var spin_colour_off = Number("0xb8b8b8");
var spin_colour_up = Number("0xff7eb5");
var spin_colour_over = Number("0xFFFF00");
var number_colour_on = Number("0xFEF46E");
var number_colour_off = Number("0x330000");
var window_bg_color = Number("0x141414");
var window_hilite_alpha = Number("40");
var window_shadow_alpha = Number("25");
frameLabel_str = "functions";
stopped_bool = false;
var reelsMax_num = 3;
var reelsCurrent_num = 1;
var iconHeight_num = 60;
var iconWidth_num = 90;
var speedMin_num = 0;
var speedMax_num = 30;
var spinSoundLoop_num = 100;
var moneyInit_num = 100;
var moneyReset_num = moneyInit_num;
var moneyCurrent_num = moneyInit_num;
var payoutCurrent_num = 0;
var payoutDisplay_num = payoutCurrent_num;
var coinsPlayedCurrent_num = 0;
var coinsPlayedMax_num = 3;
var payoutLevel_1_num = 2;
var payoutLevel_2_num = 5;
var payoutLevel_3_num = 10;
var payoutLevel_4_num = 12;
var payoutLevel_5_num = 20;
var payoutLevel_6_num = 50;
var payoutLevel_7_num = 100;
var payoutLevel_8_num = 250;
var payoutLevels_num = 8;
var i = 1;
while (i <= reelsMax_num) {
this[("sparkle_" + i) + "_mc"].sparkle_flag_bool = false;
i++;
}
var cookie_so = SharedObject.getLocal("biscuit");
if (cookie_so.data.moneySO_num == undefined) {
cookie_so.data.moneySO_num = moneyInit_num;
cookie_so.flush();
} else if (cookie_so.data.moneySO_num > 0) {
moneyInit_num = cookie_so.data.moneySO_num;
}
var reelsCurrent_array = new Array(1, 1, 1);
var reel_1_icon_array = new Array(6, 4, 3, 5, 2, 1);
var reel_2_icon_array = new Array(6, 4, 5, 3, 2, 1);
var reel_3_icon_array = new Array(6, 3, 2, 4, 1, 5);
var tileIcons_num = reel_1_icon_array.length;
var revolutionYmove_num = (tileIcons_num * iconHeight_num);
var reel_1_virtual_array = new Array(1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 7);
var reel_2_virtual_array = new Array(1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6);
var reel_3_virtual_array = new Array(1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 5, 5, 5, 5, 5, 5, 6);
var divisor_num = reel_1_virtual_array.length;
randomizeArray(reel_1_virtual_array);
randomizeArray(reel_2_virtual_array);
randomizeArray(reel_3_virtual_array);
if (soundFXon_bool == true) {
var slot_spin_sound = new Sound(skinComp_mc);
slot_spin_sound.attachSound("slot_spin");
slot_spin_sound.setVolume(spinSoundVolume_num);
var slot_handle_sound = new Sound(spinButton_mc);
slot_handle_sound.attachSound("slot_handle");
slot_handle_sound.setVolume(handleSoundVolume_num);
var slot_coin_sound = new Sound(betButton_mc);
slot_coin_sound.attachSound("slot_coin");
slot_coin_sound.setVolume(coinSoundVolume_num);
}
caurina.transitions.Tweener.addTween(resetButton_mc.colour_mc, {_color:reset_colour_off, time:0, transition:buttonFadeAnim_str});
var paytable_pressed_bool = false;
caurina.transitions.Tweener.addTween(payTableButton_mc.colour_mc, {_color:paytable_colour_up, time:0, transition:buttonFadeAnim_str});
caurina.transitions.Tweener.addTween(betButton_mc.colour_mc, {_color:bet_colour_up, time:0, transition:buttonFadeAnim_str});
var moregames_pressed_bool = false;
caurina.transitions.Tweener.addTween(moreGamesButton_mc.colour_mc, {_color:moregames_colour_up, time:0, transition:buttonFadeAnim_str});
var betmax_pressed_bool = false;
caurina.transitions.Tweener.addTween(betMaxButton_mc.colour_mc, {_color:betmax_colour_up, time:0, transition:buttonFadeAnim_str});
caurina.transitions.Tweener.addTween(spinButton_mc.colour_mc, {_color:spin_colour_off, time:0, transition:buttonFadeAnim_str});
var buttonDisableFadeTime_num = 0.5;
var buttonEnableFadeTime_num = 0.5;
var buttonRolloverFadeTime_num = 0.1;
var buttonRollOutFadeTime_num = 0.1;
var buttonFadeAnim_str = "linear";
resetButton_mc.cacheAsBitmap = true;
payTableButton_mc.cacheAsBitmap = true;
betButton_mc.cacheAsBitmap = true;
betMaxButton_mc.cacheAsBitmap = true;
moreGamesButton_mc.cacheAsBitmap = true;
spinButton_mc.cacheAsBitmap = true;
skinComp_mc.cacheAsBitmap = true;
fncSpinReel = function (whichReel) {
this[("reel_" + whichReel) + "_mc"].reelTile_mc.speedCurrent_num = speedMin_num;
this[("reel_" + whichReel) + "_mc"].reelTile_mc.yPosStart_num = this[("reel_" + whichReel) + "_mc"].reelTile_mc._y;
this[("reel_" + whichReel) + "_mc"].reelTile_mc.yPosEnd_num = revolutionYmove_num + (iconHeight_num * (this[("reel_" + whichReel) + "_mc"].reelTile_mc.reelPosNew_num - 1));
this[("reel_" + whichReel) + "_mc"].reelTile_mc.yPosCurrent_num = this[("reel_" + whichReel) + "_mc"].reelTile_mc.yPosStart_num;
this[("reel_" + whichReel) + "_mc"].reelTile_mc.stopflag_bool = false;
this[("reel_" + whichReel) + "_mc"].reelTile_mc.speedCurrent_num = caurina.transitions.Tweener.addTween(this[("reel_" + whichReel) + "_mc"].reelTile_mc, {speedCurrent_num:speedMax_num, transition:"easeInQuad", _blur_blurX:0, _blur_blurY:8, time:1});
this[("reel_" + whichReel) + "_mc"].reelTile_mc.onEnterFrame = function () {
if (this._y < (revolutionYmove_num - this.speedCurrent_num)) {
this._y = this._y + this.speedCurrent_num;
this.yPosCurrent_num = this._y;
} else if (this.stopflag_bool == true) {
delete this.onEnterFrame;
this.speedCurrent_num = 0;
this._y = 0;
caurina.transitions.Tweener.addTween(this, {_y:this.yPosEnd_num + 3, _blur_blurX:0, _blur_blurY:0, time:0.8 + (this.reelPosNew_num * 0.05), transition:"easeOutSine", onComplete:fncEndSpin, onCompleteParams:[whichReel]});
} else {
this._y = 0;
}
};
};
fncStopReel = function (whichReel) {
var reel_target = eval (("reel_" + whichReel) + "_mc.reelTile_mc");
reel_target.stopflag_bool = true;
};
fncEndSpin = function (whichReel) {
var reel_target = eval (("reel_" + whichReel) + "_mc.reelTile_mc");
caurina.transitions.Tweener.removeTweens(eval (("reel_" + whichReel) + "_mc.reelTile_mc"));
reel_target._y = iconHeight_num * (reel_target.reelPosNew_num - 1);
reel_target.yPosStart_num = iconHeight_num * reel_target.reelPosNew_num;
reel_target.reelPosCurrent_num = reel_target.reelPosNew_num;
reel_target.reelPosNew_num = undefined;
if (soundFXon_bool == true) {
this["slot_stop_sound_" + whichReel] = new Sound(eval (("reel_" + whichReel) + "_mc.reelTile_mc"));
this["slot_stop_sound_" + whichReel].attachSound("slot_stop");
this["slot_stop_sound_" + whichReel].setVolume(stopSoundVolume_num);
this["slot_stop_sound_" + whichReel].start(0, 1);
delete this["slot_stop_sound_" + whichReel];
if (whichReel == reelsMax_num) {
slot_spin_sound.stop("slot_spin");
}
}
if (reelsCurrent_num < reelsMax_num) {
reelsCurrent_num++;
fncStopReel(reelsCurrent_num);
} else {
fncUpdateMoneyDisplay();
reelsCurrent_num = 1;
}
};
fncButtonDisable = function (whichButton, colorOff) {
if (whichButton.enabled != false) {
whichButton.enabled = false;
caurina.transitions.Tweener.removeTweens(whichButton.colour_mc, "_color");
caurina.transitions.Tweener.addTween(whichButton.colour_mc, {_color:colorOff, time:buttonDisableFadeTime_num, transition:buttonFadeAnim_str});
}
if (whichButton.useHandCursor != false) {
whichButton.useHandCursor = false;
}
};
fncButtonEnable = function (whichButton, colorUp) {
if (whichButton.enabled != true) {
whichButton.enabled = true;
caurina.transitions.Tweener.removeTweens(whichButton.colour_mc, "_color");
caurina.transitions.Tweener.addTween(whichButton.colour_mc, {_color:colorUp, time:buttonDisableFadeTime_num, transition:buttonFadeAnim_str});
}
if (whichButton.useHandCursor != true) {
whichButton.useHandCursor = true;
}
};
fncButtonRoll = function (whichButton, whichColor) {
caurina.transitions.Tweener.removeTweens(whichButton, "_color");
caurina.transitions.Tweener.addTween(whichButton.colour_mc, {_color:whichColor, time:buttonRolloverFadeTime_num, transition:buttonFadeAnim_str});
};
spinButton_mc.onRollOver = function () {
fncButtonRoll(this, spin_colour_over);
};
spinButton_mc.onPress = function () {
};
spinButton_mc.onRelease = function () {
fncButtonDisable(payTableButton_mc, paytable_colour_off);
fncButtonDisable(moreGamesButton_mc, moregames_colour_off);
fncButtonDisable(betButton_mc, bet_colour_off);
fncButtonDisable(betMaxButton_mc, betmax_colour_off);
fncButtonDisable(spinButton_mc, spin_colour_off);
if (moneyCurrent_num > 0) {
if (coinsPlayedCurrent_num > moneyCurrent_num) {
coinsPlayedCurrent_num = moneyCurrent_num;
fncSetCoinsDisplay(coinsPlayedCurrent_num);
}
if (soundFXon_bool == true) {
if (betmax_pressed_bool == false) {
slot_handle_sound.start(0, 1);
} else {
betmax_pressed_bool = false;
}
slot_spin_sound.start(0, spinSoundLoop_num);
}
moneyCurrent_num = moneyCurrent_num - coinsPlayedCurrent_num;
fncSetMoneyDisplay(moneyCurrent_num);
var _local5 = new de.polygonal.math.PM_PRNG();
_local5.seed = Math.random() * 2147483646;
var _local2 = 1;
while (_local2 <= reelsMax_num) {
var _local4 = this._parent[("reel_" + _local2) + "_mc"].reelTile_mc;
var _local3 = Math.round(_local5.nextInt() % divisor_num);
if (_local3 < 1) {
_local3 = 1;
}
if (_local3 > (divisor_num - 1)) {
_local3 = divisor_num - 1;
}
_local4.reelPosNew_num = this._parent[("reel_" + _local2) + "_virtual_array"][_local3];
reelsCurrent_array[_local2 - 1] = _local4.reelPosNew_num;
fncSpinReel(_local2);
_local2++;
}
fncCheckPayout();
caurina.transitions.Tweener.addTween(this, {time:1.5, onComplete:fncStopReel, onCompleteParams:[reelsCurrent_num]});
}
};
spinButton_mc.onRollOut = function () {
fncButtonRoll(this, spin_colour_up);
};
spinButton_mc.onDragOut = function () {
this.onRollOut();
};
spinButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
fncWinButtonDisable = function () {
if (winButton_mc.enabled != false) {
winButton_mc.enabled = false;
}
if (winButton_mc.useHandCursor != false) {
winButton_mc.useHandCursor = false;
}
};
fncWinButtonEnable = function () {
if (winButton_mc.enabled != true) {
winButton_mc.enabled = true;
}
if (winButton_mc.useHandCursor != true) {
winButton_mc.useHandCursor = true;
}
};
winButton_mc.onRollOver = function () {
};
winButton_mc.onPress = function () {
};
winButton_mc.onRelease = function () {
fncButtonDisable(payTableButton_mc, paytable_colour_off);
fncButtonDisable(moreGamesButton_mc, moregames_colour_off);
fncButtonDisable(betButton_mc, bet_colour_off);
fncButtonDisable(betMaxButton_mc, betmax_colour_off);
fncButtonDisable(spinButton_mc, spin_colour_off);
fncWinButtonDisable();
this.onRollOut();
if (moneyCurrent_num > 0) {
if (coinsPlayedCurrent_num > moneyCurrent_num) {
coinsPlayedCurrent_num = moneyCurrent_num;
fncSetCoinsDisplay(coinsPlayedCurrent_num);
}
if (soundFXon_bool == true) {
if (betmax_pressed_bool == false) {
slot_handle_sound.start(0, 1);
} else {
betmax_pressed_bool = false;
}
slot_spin_sound.start(0, spinSoundLoop_num);
}
moneyCurrent_num = moneyCurrent_num - coinsPlayedCurrent_num;
fncSetMoneyDisplay(moneyCurrent_num);
var _local5 = new Array(27, 26, 11);
var _local2 = 1;
while (_local2 <= reelsMax_num) {
var _local3 = this._parent[("reel_" + _local2) + "_mc"].reelTile_mc;
var _local4 = _local5[_local2 - 1] - 1;
_local3.reelPosNew_num = this._parent[("reel_" + _local2) + "_virtual_array"][_local4];
reelsCurrent_array[_local2 - 1] = _local3.reelPosNew_num;
fncSpinReel(_local2);
_local2++;
}
fncCheckPayout();
caurina.transitions.Tweener.addTween(this, {time:1.5, onComplete:fncStopReel, onCompleteParams:[reelsCurrent_num]});
}
};
winButton_mc.onRollOut = function () {
};
winButton_mc.onDragOut = function () {
this.onRollOut();
};
winButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
betButton_mc.onRollOver = function () {
fncButtonRoll(this, bet_colour_over);
};
betButton_mc.onPress = function () {
};
betButton_mc.onRelease = function () {
if (coinsPlayedCurrent_num < coinsPlayedMax_num) {
coinsPlayedCurrent_num++;
fncSetCoinsDisplay(coinsPlayedCurrent_num);
} else if (coinsPlayedCurrent_num == coinsPlayedMax_num) {
coinsPlayedCurrent_num = 1;
fncSetCoinsDisplay(coinsPlayedCurrent_num);
}
if (soundFXon_bool == true) {
slot_coin_sound.start(0, 1);
}
fncButtonEnable(spinButton_mc, spin_colour_up);
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
};
betButton_mc.onRollOut = function () {
fncButtonRoll(this, bet_colour_up);
};
betButton_mc.onDragOut = function () {
this.onRollOut();
};
betButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
betMaxButton_mc.onRollOver = function () {
fncButtonRoll(this, betmax_colour_over);
};
betMaxButton_mc.onPress = function () {
};
betMaxButton_mc.onRelease = function () {
if (coinsPlayedCurrent_num <= coinsPlayedMax_num) {
if (coinsPlayedCurrent_num < moneyCurrent_num) {
coinsPlayedCurrent_num = coinsPlayedMax_num;
} else {
coinsPlayedCurrent_num = moneyCurrent_num;
}
fncSetCoinsDisplay(coinsPlayedCurrent_num);
if (soundFXon_bool == true) {
slot_coin_sound.start(0, 1);
}
fncButtonDisable(payTableButton_mc, paytable_colour_off);
fncButtonDisable(moreGamesButton_mc, moregames_colour_off);
fncButtonDisable(betButton_mc, bet_colour_off);
fncButtonDisable(betMaxButton_mc, betmax_colour_off);
fncButtonDisable(spinButton_mc, spin_colour_off);
betmax_pressed_bool = true;
spinButton_mc.onRelease();
}
};
betMaxButton_mc.onRollOut = function () {
fncButtonRoll(this, betmax_colour_up);
};
betMaxButton_mc.onDragOut = function () {
this.onRollOut();
};
betMaxButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
moreGames_mc._alpha = 0;
moreGamesButton_mc.onRollOver = function () {
fncButtonRoll(this, moregames_colour_over);
};
moreGamesButton_mc.onPress = function () {
};
moreGamesButton_mc.onRelease = function () {
};
moreGamesButton_mc.onRollOut = function () {
fncButtonRoll(this, moregames_colour_up);
};
moreGamesButton_mc.onDragOut = function () {
this.onRollOut();
};
moreGamesButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
resetButton_mc.onRollOver = function () {
fncButtonRoll(this, reset_colour_over);
};
resetButton_mc.onPress = function () {
};
resetButton_mc.onRelease = function () {
fncSetMoneyDisplay(moneyReset_num);
fncButtonDisable(resetButton_mc, reset_colour_off);
if (payTableButton_mc.enabled == false) {
fncButtonEnable(payTableButton_mc, paytable_colour_up);
}
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
fncButtonEnable(betButton_mc, bet_colour_up);
fncButtonEnable(betMaxButton_mc, betmax_colour_up);
fncButtonEnable(spinButton_mc, spin_colour_up);
};
resetButton_mc.onRollOut = function () {
fncButtonRoll(this, reset_colour_up);
};
resetButton_mc.onDragOut = function () {
this.onRollOut();
};
resetButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
fncStopButtonDisable = function () {
if (stopButton_mc.enabled != false) {
stopButton_mc.enabled = false;
}
if (stopButton_mc.useHandCursor != false) {
stopButton_mc.useHandCursor = false;
}
};
fncStopButtonEnable = function () {
if (stopButton_mc.enabled != true) {
stopButton_mc.enabled = true;
}
if (stopButton_mc.useHandCursor != true) {
stopButton_mc.useHandCursor = true;
}
};
stopButton_mc.onRelease = function () {
fncStopButtonDisable();
fncStopReel(reelsCurrent_num);
};
payTable_mc._alpha = 0;
var i = 1;
while (i <= payoutLevels_num) {
var j = 1;
while (j <= 3) {
this.payTable_mc[(("payout_" + i) + "_") + j].selectable = false;
this.payTable_mc[(("payout_" + i) + "_") + j].text = eval (("payoutLevel_" + i) + "_num") * j;
j++;
}
i++;
}
payTableButton_mc.onRollOver = function () {
fncButtonRoll(this, paytable_colour_over);
};
payTableButton_mc.onPress = function () {
};
payTableButton_mc.onRelease = function () {
if (paytable_pressed_bool == false) {
if (moneyCurrent_num == 0) {
fncButtonDisable(resetButton_mc, reset_colour_off);
}
fncButtonDisable(betButton_mc, bet_colour_off);
fncButtonDisable(betMaxButton_mc, betmax_colour_off);
if (coinsPlayedCurrent_num > 0) {
fncButtonDisable(spinButton_mc, spin_colour_off);
}
paytable_pressed_bool = true;
if (payTable_mc.paytable_bg_mc.enabled != true) {
payTable_mc.paytable_bg_mc.enabled = true;
}
if (payTable_mc.useHandCursor != true) {
payTable_mc.useHandCursor = true;
}
caurina.transitions.Tweener.removeTweens(payTable_mc, "_alpha");
caurina.transitions.Tweener.addTween(payTable_mc, {_alpha:100, time:0.5, transition:"linear"});
} else {
if (moneyCurrent_num == 0) {
fncButtonEnable(resetButton_mc, reset_colour_up);
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
}
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
fncButtonEnable(betButton_mc, bet_colour_up);
fncButtonEnable(betMaxButton_mc, betmax_colour_up);
if (coinsPlayedCurrent_num > 0) {
fncButtonEnable(spinButton_mc, spin_colour_up);
fncButtonEnable(moreGamesButton_mc, moregames_colour_up);
}
paytable_pressed_bool = false;
if (payTable_mc.paytable_bg_mc.enabled != false) {
payTable_mc.paytable_bg_mc.enabled = false;
}
if (payTable_mc.useHandCursor != false) {
payTable_mc.useHandCursor = false;
}
caurina.transitions.Tweener.removeTweens(payTable_mc, "_alpha");
caurina.transitions.Tweener.addTween(payTable_mc, {_alpha:0, time:0.5, transition:"linear"});
}
};
payTableButton_mc.onRollOut = function () {
fncButtonRoll(this, paytable_colour_up);
};
payTableButton_mc.onDragOut = function () {
this.onRollOut();
};
payTableButton_mc.onReleaseOutside = function () {
this.onRollOut();
};
payTable_mc.paytable_bg_mc.onRelease = function () {
payTableButton_mc.onRelease();
};
payTable_mc.paytable_bg_mc.enabled = false;
payTable_mc.useHandCursor = false;
_global.fncPlayMainTimeline = function () {
if ((_level0.stopped_bool = true)) {
_level0.stopped_bool = false;
_level0.play();
}
};
MovieClip.prototype.fncPlayParentTimeline = function () {
if (this._parent.stopped_bool == true) {
this._parent.stopped_bool = false;
this._parent.play();
}
};
MovieClip.prototype.fncPlayTimeline = function () {
if (this.stopped_bool == true) {
this.stopped_bool = false;
this.play();
}
};
MovieClip.prototype.pauseMe = function (seconds) {
clearInterval(this.pause_interval);
this.pause_interval = setInterval(fncPauseMe, 1, seconds, this);
this.timerMark_num = getTimer();
this.stopped_bool = true;
this.stop();
};
_global.fncPauseMe = function (seconds, pauseObject) {
if ((getTimer() - eval (pauseObject).timerMark_num) < (seconds * 1000)) {
} else {
clearInterval(eval (pauseObject).pause_interval);
eval (pauseObject).stopped_bool = false;
eval (pauseObject).play();
}
};
fncButtonDisable(resetButton_mc, reset_colour_off);
fncButtonDisable(payTableButton_mc, paytable_colour_off);
fncButtonDisable(moreGamesButton_mc, moregames_colour_off);
fncButtonDisable(betButton_mc, bet_colour_off);
fncButtonDisable(betMaxButton_mc, betmax_colour_off);
fncButtonDisable(spinButton_mc, spin_colour_off);
fncInitDisplay();
Instance of Symbol 673 MovieClip "moreGamesButton_mc" in Symbol 827 MovieClip Frame 3
on (release) {
getURL ("http://www.sharkysgames.com", "_blank", "GET");
}
Symbol 827 MovieClip Frame 4
frameLabel_str = "initMoney";
stopped_bool = false;
money_counter_mc.startNumber = 0;
money_counter_mc.endNumber = 100;
money_counter_mc.stopAtEndNumber = true;
money_counter_mc.incrementRate = 1;
money_counter_mc.intervalSeconds = 0.05;
money_counter_mc.numbersMax = 6;
money_counter_mc.showCommas = true;
money_counter_mc.commaGroupNum = 3;
money_counter_mc.decimalPlaces = 0;
money_counter_mc.numberColorOn = number_colour_on;
money_counter_mc.numberColorOff = number_colour_off;
money_counter_mc.windowBgColor = window_bg_color;
money_counter_mc.windowHiliteAlpha = window_hilite_alpha;
money_counter_mc.windowShadowAlpha = window_shadow_alpha;
money_counter_mc.glowAlpha = 0;
money_counter_mc.glowBlurRadius = 0;
money_counter_mc.glowStrength = 0;
money_counter_mc.glowQuality = 1;
money_counter_mc.glowInner = false;
money_counter_mc.glowKnockout = false;
money_counter_mc.fadeInTime = 0;
money_counter_mc.soundFXon = soundFXon_bool;
money_counter_mc.soundFXvolume = winnerSoundVolume_num;
money_counter_mc.fncInitDisplay();
fncSetMoneyDisplay(moneyInit_num);
coins_played_mc.startNumber = 0;
coins_played_mc.endNumber = 0;
coins_played_mc.stopAtEndNumber = true;
coins_played_mc.incrementRate = 1;
coins_played_mc.intervalSeconds = 0.05;
coins_played_mc.numbersMax = 2;
coins_played_mc.showCommas = false;
coins_played_mc.commaGroupNum = 3;
coins_played_mc.decimalPlaces = 0;
coins_played_mc.numberColorOn = number_colour_on;
coins_played_mc.numberColorOff = number_colour_off;
coins_played_mc.windowBgColor = window_bg_color;
coins_played_mc.windowHiliteAlpha = window_hilite_alpha;
coins_played_mc.windowShadowAlpha = window_shadow_alpha;
coins_played_mc.glowAlpha = 0;
coins_played_mc.glowBlurRadius = 0;
coins_played_mc.glowStrength = 0;
coins_played_mc.glowQuality = 1;
coins_played_mc.glowInner = false;
coins_played_mc.glowKnockout = false;
coins_played_mc.fadeInTime = 0;
coins_played_mc.soundFXon = false;
coins_played_mc.soundFXvolume = 0;
coins_played_mc.fncInitDisplay();
fncSetCoinsDisplay(0);
payout_counter_mc.startNumber = 0;
payout_counter_mc.endNumber = 100;
payout_counter_mc.stopAtEndNumber = true;
payout_counter_mc.incrementRate = 1;
payout_counter_mc.intervalSeconds = 0.05;
payout_counter_mc.numbersMax = 4;
payout_counter_mc.showCommas = false;
payout_counter_mc.commaGroupNum = 3;
payout_counter_mc.decimalPlaces = 0;
payout_counter_mc.numberColorOn = number_colour_on;
payout_counter_mc.numberColorOff = number_colour_off;
payout_counter_mc.windowBgColor = window_bg_color;
payout_counter_mc.windowHiliteAlpha = window_hilite_alpha;
payout_counter_mc.windowShadowAlpha = window_shadow_alpha;
payout_counter_mc.glowAlpha = 0;
payout_counter_mc.glowBlurRadius = 0;
payout_counter_mc.glowStrength = 0;
payout_counter_mc.glowQuality = 1;
payout_counter_mc.glowInner = false;
payout_counter_mc.glowKnockout = false;
payout_counter_mc.fadeInTime = 0;
payout_counter_mc.soundFXon = false;
payout_counter_mc.soundFXvolume = 0;
payout_counter_mc.fncInitDisplay();
fncSetPayoutDisplay(0);
Symbol 827 MovieClip Frame 5
frameLabel_str = "stopped";
stopped_bool = true;
stop();
this._visible = true;
Symbol 827 MovieClip Frame 20
fncButtonDisable(payTableButton_mc, paytable_colour_off);
fncButtonDisable(betButton_mc, bet_colour_off);
fncButtonDisable(betMaxButton_mc, betmax_colour_off);
fncButtonDisable(spinButton_mc, spin_colour_off);
fncWinButtonDisable();
this.onRollOut();
if (moneyCurrent_num > 0) {
var winReel_array = new Array(1, 1, 1);
moneyCurrent_num = moneyCurrent_num - coinsPlayedCurrent_num;
fncSetMoneyDisplay(moneyCurrent_num);
if (soundFXon_bool == true) {
if (betmax_pressed_bool == false) {
slot_handle_sound.start(0, 1);
} else {
betmax_pressed_bool = false;
}
slot_spin_sound.start(0, spinSoundLoop_num);
}
var i = 1;
while (i <= reelsMax_num) {
var reel_target = this._parent[("reel_" + i) + "_mc"].reelTile_mc;
var pr_num = (winReel_array[i - 1] - 1);
reel_target.reelPosNew_num = this._parent[("reel_" + i) + "_virtual_array"][pr_num];
reelsCurrent_array[i - 1] = reel_target.reelPosNew_num;
fncSpinReel(i);
i++;
}
fncCheckPayout();
Tweener.addTween(this, {time:1.5, onComplete:fncStopReel, onCompleteParams:[reelsCurrent_num]});
}
Symbol 827 MovieClip Frame 23
stopped_bool = true;
stop();
Symbol 827 MovieClip Frame 24
stopped_bool = true;
stop();
Symbol 827 MovieClip Frame 25
stopped_bool = true;
stop();
Symbol 831 Button
on (release) {
getURL ("http://www.adobe.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash");
}