Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("5dcd37f8", this, 10301, true);
stop();
this.onEnterFrame = function () {
var _local3 = (_root.getBytesLoaded() / _root.getBytesTotal()) * 200;
preloader_mc.loader_mc._width = _local3;
if (_local3 == 200) {
_root.gotoAndPlay(2);
delete this.onEnterFrame;
}
};
function nielsen(movieClip) {
scCI = "us-ugo";
scCG = "ugoplayer_flashgames";
scSI = escape(movieClip);
loadMovieNum ((((((("http://secure-us.imrworldwide.com/cgi-bin/m?ci=" + scCI) + "&cg=") + scCG) + "&si=") + scSI) + "&rnd=") + Math.ceil(Math.random() * 100000000), 100);
}
nielsen("game_intro");
Frame 166
stop();
function initStage() {
introLetters();
introButtons();
stadium_mc.gotoAndPlay("stage1");
caurina.transitions.Tweener.addTween(ambientAudio_MC, {_alpha:50, delay:2, time:1, transition:"linear"});
}
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function introLetters() {
var _local1 = 0;
while (_local1 < lettersArray.length) {
var _local2 = lettersArray[_local1].id;
tempRandom = tempRandom + 0.05;
var _local3 = entry_mc[_local2]._y;
entry_mc[_local2]._y = -400;
caurina.transitions.Tweener.addTween(entry_mc[_local2], {_y:_local3, delay:tempRandom + 1, time:0.5, transition:"easeoutback", onStart:playSwoosh});
if (_local1 == (lettersArray.length - 1)) {
entry_mc._alpha = 100;
entry_mc.batSignal.gotoAndPlay("signal");
}
_local1++;
}
}
function playSwoosh() {
swooshSound.start();
}
function introButtons() {
var _local2 = entry_mc.play_mc._y;
entry_mc.play_mc._y = 500;
caurina.transitions.Tweener.addTween(entry_mc.play_mc, {_y:_local2, delay:delayMenu, time:0.9, transition:"easeoutquint"});
var _local4 = entry_mc.instruction_mc._y;
entry_mc.instruction_mc._y = 800;
caurina.transitions.Tweener.addTween(entry_mc.instruction_mc, {_y:_local4, delay:delayMenu, time:0.9, transition:"easeoutquint"});
var _local3 = entry_mc.score_mc._y;
entry_mc.score_mc._y = 800;
caurina.transitions.Tweener.addTween(entry_mc.score_mc, {_y:_local3, delay:delayMenu, time:0.9, transition:"easeoutquint"});
entry_mc.play_mc.onRollOver = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
rollSound.start();
};
entry_mc.play_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.4, transition:"easeoutback"});
};
entry_mc.play_mc.onPress = function () {
outroEntryScreen();
clickSound.start();
};
entry_mc.score_mc.onRollOver = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
rollSound.start();
};
entry_mc.score_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.4, transition:"easeoutback"});
};
entry_mc.score_mc.onPress = function () {
scoreboardDropdown();
clickSound.start();
};
entry_mc.instruction_mc.onRollOver = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
rollSound.start();
};
entry_mc.instruction_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.4, transition:"easeoutback"});
};
entry_mc.instruction_mc.onPress = function () {
instructionsDropdown();
clickSound.start();
};
}
function instructionsDropdown() {
caurina.transitions.Tweener.addTween(instructions_mc, {_y:254, time:0.5, transition:"easeoutback"});
}
function outroEntryScreen() {
entry_mc.batSignal.gotoAndPlay("outro");
caurina.transitions.Tweener.addTween(entry_mc.play_mc, {_y:entry_mc.play_mc._y + 200, delay:0, time:0.9, transition:"easeoutquint", onComplete:function () {
var _local2 = content_mc;
var _local1 = "fighter_mc";
prevSection = cotent_mc[_local1];
loadSection(_local2, _local1);
}});
caurina.transitions.Tweener.addTween(entry_mc.instruction_mc, {_y:entry_mc.instruction_mc._y + 300, delay:0, time:0.9, transition:"easeoutquint"});
caurina.transitions.Tweener.addTween(entry_mc.score_mc, {_y:entry_mc.score_mc._y + 300, delay:0, time:0.9, transition:"easeoutquint"});
var _local1 = 0;
while (_local1 < lettersArray.length) {
var _local2 = lettersArray[_local1].id;
var _local3 = entry_mc[_local2]._y + 100;
caurina.transitions.Tweener.addTween(entry_mc[_local2], {_y:_local3, _alpha:0, time:0.5, transition:"easeoutback"});
_local1++;
}
}
function outroStadium() {
}
function loadSection(targetContent, targetURL) {
trace(prevSection);
prevSection.removeMovieClip();
targetContent.attachMovie(targetURL, targetURL, targetContent.getNextHighestDepth());
}
function onXmlLoaded(success) {
if (success) {
var _local6 = scorexml.firstChild;
var _local2 = scorexml.firstChild.childNodes;
var _local8;
highScore.splice(0);
var _local1 = 0;
while (_local1 < _local2.length) {
highScore.push({num:_local2[_local1].attributes.num, nam:_local2[_local1].attributes.name, sco:_local2[_local1].firstChild.nodeValue});
_local1++;
}
displayHighScores();
}
}
function submitScore(name, score) {
scorexml.ignoreWhite = true;
scorexml.onLoad = mx.utils.Delegate.create(this, onXmlLoaded);
scorexml.load((("http://tealab.com/fox/batman/dev/php/scores.php?score=" + score) + "&name=") + name);
}
function addScore(placing, nameEntered, scoring) {
trace("ADDING");
var _local1 = nameEntered;
submitScore(_local1, scoring);
scoreSection = 0;
highScore.splice(placing, 0, {num:placing, nam:_local1, sco:scoring});
}
function scoreboardDropdown() {
caurina.transitions.Tweener.addTween(scoreboard_mc, {_y:254, time:0.5, transition:"easeoutback", onComplete:function () {
}});
}
function displayHighScores() {
counter = 1;
scoreFirst = scoreSection;
trace((scoreFirst + " ++ ") + scoreSection);
while (scoreSection < (scoreFirst + 10)) {
trace(highScore[scoreSection].nam);
counter = (scoreSection - scoreFirst) + 1;
var _local3 = "number" + counter;
var _local2 = "name" + counter;
var _local1 = "score" + counter;
scoreboard_mc[_local3].text = scoreSection + 1;
scoreboard_mc[_local2].text = highScore[scoreSection].nam;
scoreboard_mc[_local1].text = highScore[scoreSection].sco;
if (highScore[scoreSection].num == undefined) {
scoreboard_mc[_local3].text = "";
scoreboard_mc[_local2].text = "";
scoreboard_mc[_local1].text = "";
}
if (scoreSection == (scoreFirst + 9)) {
scoreSection = 0;
break;
}
scoreSection++;
}
}
this._lockroot = true;
caurina.transitions.properties.SoundShortcuts.init();
var tempRandom = 0;
var delayMenu = 0.5;
var playerFighter;
var computerFighter;
var totalScore = 0;
var unlockChar = 0;
var soundIsOff = false;
var increaseDifficulty = 20;
var punchHarder = 0;
var submittedScore = 0;
var prevSection;
_root.createEmptyMovieClip("pSound_mc", _root.getNextHighestDepth());
var pSound = new Sound(pSound_mc);
_root.createEmptyMovieClip("pbSound_mc", _root.getNextHighestDepth());
var pbSound = new Sound(pbSound_mc);
_root.createEmptyMovieClip("pcSound_mc", _root.getNextHighestDepth());
var pcSound = new Sound(pcSound_mc);
_root.createEmptyMovieClip("pdSound_mc", _root.getNextHighestDepth());
var pdSound = new Sound(pdSound_mc);
_root.createEmptyMovieClip("cSound_mc", _root.getNextHighestDepth());
var cSound = new Sound(cSound_mc);
_root.createEmptyMovieClip("cbSound_mc", _root.getNextHighestDepth());
var cbSound = new Sound(cbSound_mc);
_root.createEmptyMovieClip("ccSound_mc", _root.getNextHighestDepth());
var ccSound = new Sound(ccSound_mc);
_root.createEmptyMovieClip("cdSound_mc", _root.getNextHighestDepth());
var cdSound = new Sound(cdSound_mc);
var stadiumArr = new Array();
stadiumArr.push({id:jumbotronScreen});
stadiumArr.push({id:jumbotron});
stadiumArr.push({id:lMid});
stadiumArr.push({id:rMid});
stadiumArr.push({id:lMain});
stadiumArr.push({id:rMain});
var lettersArray = new Array();
lettersArray.push({id:"R"});
lettersArray.push({id:"O"});
lettersArray.push({id:"C"});
lettersArray.push({id:"K"});
lettersArray.push({id:"comma"});
lettersArray.push({id:"E"});
lettersArray.push({id:"M"});
lettersArray.push({id:"S"});
lettersArray.push({id:"O2"});
lettersArray.push({id:"C2"});
lettersArray.push({id:"K2"});
lettersArray.push({id:"comma2"});
lettersArray.push({id:"E2"});
lettersArray.push({id:"M2"});
var activeThumbs = new Array();
activeThumbs.push({id:"batmanThumb"});
activeThumbs.push({id:"robinThumb"});
activeThumbs.push({id:"jokerThumb"});
activeThumbs.push({id:"penguinThumb"});
activeThumbs.push({id:"riddlerThumb"});
activeThumbs.push({id:"catwomanThumb"});
_root.createEmptyMovieClip("themeSong_mc", _root.getNextHighestDepth());
var themeSong = new Sound(themeSong_mc);
themeSong.attachSound("themeLoop.mp3");
themeSong.setVolume(0);
themeSong.start();
_root.createEmptyMovieClip("rollSound_mc", _root.getNextHighestDepth());
var rollSound = new Sound(rollSound_mc);
rollSound.attachSound("overThree.mp3");
_root.createEmptyMovieClip("clickSound_mc", _root.getNextHighestDepth());
var clickSound = new Sound(clickSound_mc);
clickSound.attachSound("overTwo.mp3");
_root.createEmptyMovieClip("crowdSound_mc", _root.getNextHighestDepth());
var crowdSound = new Sound(crowdSound_mc);
crowdSound.attachSound("crowd2.mp3");
_root.createEmptyMovieClip("bass_mc", _root.getNextHighestDepth());
var bass = new Sound(bass_mc);
bass.attachSound("bass.mp3");
_root.createEmptyMovieClip("pictureFlash_mc", _root.getNextHighestDepth());
var pictureFlash = new Sound(pictureFlash_mc);
pictureFlash.attachSound("camera.mp3");
pictureFlash.setVolume(5);
_root.createEmptyMovieClip("swooshSound_mc", _root.getNextHighestDepth());
var swooshSound = new Sound(swooshSound_mc);
swooshSound.attachSound("letterSwoosh3.mp3");
swooshSound.setVolume(60);
_root.createEmptyMovieClip("punchSwoosh_mc", _root.getNextHighestDepth());
var punchSwoosh = new Sound(punchSwoosh_mc);
punchSwoosh.attachSound("swoosh.mp3");
punchSwoosh.setVolume(30);
_root.createEmptyMovieClip("punchSound_mc", _root.getNextHighestDepth());
var punchSound = new Sound(punchSound_mc);
punchSound.attachSound("punch.mp3");
punchSound.setVolume(40);
_root.createEmptyMovieClip("moveSound_mc", _root.getNextHighestDepth());
var moveSound = new Sound(moveSound_mc);
moveSound.attachSound("move.mp3");
moveSound.setVolume(20);
_root.createEmptyMovieClip("nameSlamSound_mc", _root.getNextHighestDepth());
var nameSlamSound = new Sound(nameSlamSound_mc);
nameSlamSound.attachSound("nameSlam.mp3");
_root.createEmptyMovieClip("beepSound_mc", _root.getNextHighestDepth());
var beepSound = new Sound(beepSound_mc);
beepSound.attachSound("beep.mp3");
_root.createEmptyMovieClip("bellSound_mc", _root.getNextHighestDepth());
var bellSound = new Sound(bellSound_mc);
bellSound.attachSound("bell.mp3");
_root.createEmptyMovieClip("zonkA_mc", _root.getNextHighestDepth());
var zonkA = new Sound(zonkA_mc);
zonkA.attachSound("Punch1.mp3");
_root.createEmptyMovieClip("zonkB_mc", _root.getNextHighestDepth());
var zonkB = new Sound(zonkB_mc);
zonkB.attachSound("Punch2.mp3");
_root.createEmptyMovieClip("zonkC_mc", _root.getNextHighestDepth());
var zonkC = new Sound(zonkC_mc);
zonkC.attachSound("Punch3.mp3");
themeSong.onSoundComplete = function () {
themeSong.start();
};
instructions_mc.close_mc.onPress = function () {
caurina.transitions.Tweener.addTween(instructions_mc, {_y:-232.9, time:0.8, transition:"easeoutback"});
};
scoreboard_mc.close_mc.onPress = function () {
caurina.transitions.Tweener.addTween(scoreboard_mc, {_y:-232.9, time:0.8, transition:"easeoutback"});
};
var scoreFirst = 0;
var scoreSection = 0;
var counter = 1;
var highScore = new Array();
var scorexml = new XML();
var offset = 0;
scoreboard_mc.prev_mc.onRollOver = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
};
scoreboard_mc.prev_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.3, transition:"easeoutback"});
};
scoreboard_mc.prev_mc.onPress = function () {
if (scoreFirst > 0) {
scoreSection = scoreFirst;
scoreFirst = scoreFirst - 10;
scoreSection = scoreSection - 10;
counter = 1;
displayHighScores();
}
};
scoreboard_mc.next_mc.onRollOver = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
};
scoreboard_mc.next_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.3, transition:"easeoutback"});
};
scoreboard_mc.next_mc.onPress = function () {
trace("SCORE ME + " + highScore.length);
if (scoreFirst < highScore.length) {
scoreSection = scoreFirst;
scoreFirst = scoreFirst + 10;
scoreSection = scoreSection + 10;
counter = 1;
displayHighScores();
}
};
submitScore();
Instance of Symbol 915 MovieClip "ambientAudio_MC" in Frame 166
onClipEvent (load) {
}
Symbol 965 MovieClip [__Packages.caurina.transitions.properties.SoundShortcuts] Frame 0
class caurina.transitions.properties.SoundShortcuts
{
function SoundShortcuts () {
trace("This is an static class and should not be instantiated.");
}
static function init() {
caurina.transitions.Tweener.registerSpecialProperty("_sound_volume", _sound_volume_get, _sound_volume_set);
caurina.transitions.Tweener.registerSpecialProperty("_sound_pan", _sound_pan_get, _sound_pan_set);
}
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);
}
}
Symbol 966 MovieClip [__Packages.caurina.transitions.Tweener] Frame 0
class caurina.transitions.Tweener
{
static var _specialPropertySplitterList, _specialPropertyModifierList, _specialPropertyList, _transitionList, _currentTimeFrame, _currentTime, _tweenList;
function Tweener () {
trace("Tweener is an static class and should not be instantiated.");
}
static function addTween(p_scopes, p_parameters) {
if (p_scopes == undefined) {
return(false);
}
var _local3;
var _local7;
var _local2;
var _local11;
if (p_scopes instanceof Array) {
_local11 = p_scopes.concat();
} else {
_local11 = [p_scopes];
}
var _local5 = caurina.transitions.TweenListObj.makePropertiesChain(p_parameters);
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local19 = (isNaN(_local5.time) ? 0 : (_local5.time));
var _local12 = (isNaN(_local5.delay) ? 0 : (_local5.delay));
var _local4 = new Object();
var _local24 = {time:true, delay:true, useFrames:true, skipUpdates:true, transition:true, transitionParams:true, onStart:true, onUpdate:true, onComplete:true, onOverwrite:true, onError:true, rounded:true, onStartParams:true, onUpdateParams:true, onCompleteParams:true, onOverwriteParams:true, onStartScope:true, onUpdateScope:true, onCompleteScope:true, onOverwriteScope:true, onErrorScope:true, quickAdd:true};
var _local13 = new Object();
for (_local2 in _local5) {
if (!_local24[_local2]) {
if (_specialPropertySplitterList[_local2] != undefined) {
var _local8 = _specialPropertySplitterList[_local2].splitValues(_local5[_local2], _specialPropertySplitterList[_local2].parameters);
_local3 = 0;
while (_local3 < _local8.length) {
if (_specialPropertySplitterList[_local8[_local3].name] != undefined) {
var _local9 = _specialPropertySplitterList[_local8[_local3].name].splitValues(_local8[_local3].value, _specialPropertySplitterList[_local8[_local3].name].parameters);
_local7 = 0;
while (_local7 < _local9.length) {
_local4[_local9[_local7].name] = {valueStart:undefined, valueComplete:_local9[_local7].value, arrayIndex:_local9[_local7].arrayIndex, isSpecialProperty:false};
_local7++;
}
} else {
_local4[_local8[_local3].name] = {valueStart:undefined, valueComplete:_local8[_local3].value, arrayIndex:_local8[_local3].arrayIndex, isSpecialProperty:false};
}
_local3++;
}
} else if (_specialPropertyModifierList[_local2] != undefined) {
var _local10 = _specialPropertyModifierList[_local2].modifyValues(_local5[_local2]);
_local3 = 0;
while (_local3 < _local10.length) {
_local13[_local10[_local3].name] = {modifierParameters:_local10[_local3].parameters, modifierFunction:_specialPropertyModifierList[_local2].getValue};
_local3++;
}
} else {
_local4[_local2] = {valueStart:undefined, valueComplete:_local5[_local2]};
}
}
}
for (_local2 in _local4) {
if (_specialPropertyList[_local2] != undefined) {
_local4[_local2].isSpecialProperty = true;
} else if (_local11[0][_local2] == undefined) {
printError(((("The property '" + _local2) + "' doesn't seem to be a normal object property of ") + _local11[0].toString()) + " or a registered special property.");
}
}
for (_local2 in _local13) {
if (_local4[_local2] != undefined) {
_local4[_local2].modifierParameters = _local13[_local2].modifierParameters;
_local4[_local2].modifierFunction = _local13[_local2].modifierFunction;
}
}
var _local21;
if (typeof(_local5.transition) == "string") {
var _local26 = _local5.transition.toLowerCase();
_local21 = _transitionList[_local26];
} else {
_local21 = _local5.transition;
}
if (_local21 == undefined) {
_local21 = _transitionList.easeoutexpo;
}
var _local14;
var _local6;
var _local20;
_local3 = 0;
while (_local3 < _local11.length) {
_local14 = new Object();
for (_local2 in _local4) {
_local14[_local2] = new caurina.transitions.PropertyInfoObj(_local4[_local2].valueStart, _local4[_local2].valueComplete, _local4[_local2].valueComplete, _local4[_local2].arrayIndex, {}, _local4[_local2].isSpecialProperty, _local4[_local2].modifierFunction, _local4[_local2].modifierParameters);
}
if (_local5.useFrames == true) {
_local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTimeFrame + (_local12 / _timeScale), _currentTimeFrame + ((_local12 + _local19) / _timeScale), true, _local21, _local5.transitionParams);
} else {
_local6 = new caurina.transitions.TweenListObj(_local11[_local3], _currentTime + ((_local12 * 1000) / _timeScale), _currentTime + (((_local12 * 1000) + (_local19 * 1000)) / _timeScale), false, _local21, _local5.transitionParams);
}
_local6.properties = _local14;
_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.onStartScope = _local5.onStartScope;
_local6.onUpdateScope = _local5.onUpdateScope;
_local6.onCompleteScope = _local5.onCompleteScope;
_local6.onOverwriteScope = _local5.onOverwriteScope;
_local6.onErrorScope = _local5.onErrorScope;
_local6.rounded = _local5.rounded;
_local6.skipUpdates = _local5.skipUpdates;
if (!_local5.quickAdd) {
removeTweensByTime(_local6.scope, _local6.properties, _local6.timeStart, _local6.timeComplete);
}
_tweenList.push(_local6);
if ((_local19 == 0) && (_local12 == 0)) {
_local20 = _tweenList.length - 1;
updateTweenByIndex(_local20);
removeTweenByIndex(_local20);
}
_local3++;
}
return(true);
}
static function addCaller(p_scopes, p_parameters) {
if (p_scopes == undefined) {
return(false);
}
var _local5;
var _local6;
if (p_scopes instanceof Array) {
_local6 = p_scopes.concat();
} else {
_local6 = [p_scopes];
}
var _local3 = p_parameters;
if (!_inited) {
init();
}
if ((!_engineExists) || (_root[getControllerName()] == undefined)) {
startEngine();
}
var _local7 = (isNaN(_local3.time) ? 0 : (_local3.time));
var _local4 = (isNaN(_local3.delay) ? 0 : (_local3.delay));
var _local9;
if (typeof(_local3.transition) == "string") {
var _local11 = _local3.transition.toLowerCase();
_local9 = _transitionList[_local11];
} else {
_local9 = _local3.transition;
}
if (_local9 == undefined) {
_local9 = _transitionList.easeoutexpo;
}
var _local2;
var _local8;
_local5 = 0;
while (_local5 < _local6.length) {
if (_local3.useFrames == true) {
_local2 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTimeFrame + (_local4 / _timeScale), _currentTimeFrame + ((_local4 + _local7) / _timeScale), true, _local9, _local3.transitionParams);
} else {
_local2 = new caurina.transitions.TweenListObj(_local6[_local5], _currentTime + ((_local4 * 1000) / _timeScale), _currentTime + (((_local4 * 1000) + (_local7 * 1000)) / _timeScale), false, _local9, _local3.transitionParams);
}
_local2.properties = undefined;
_local2.onStart = _local3.onStart;
_local2.onUpdate = _local3.onUpdate;
_local2.onComplete = _local3.onComplete;
_local2.onOverwrite = _local3.onOverwrite;
_local2.onStartParams = _local3.onStartParams;
_local2.onUpdateParams = _local3.onUpdateParams;
_local2.onCompleteParams = _local3.onCompleteParams;
_local2.onOverwriteParams = _local3.onOverwriteParams;
_local2.onStartScope = _local3.onStartScope;
_local2.onUpdateScope = _local3.onUpdateScope;
_local2.onCompleteScope = _local3.onCompleteScope;
_local2.onOverwriteScope = _local3.onOverwriteScope;
_local2.onErrorScope = _local3.onErrorScope;
_local2.isCaller = true;
_local2.count = _local3.count;
_local2.waitFrames = _local3.waitFrames;
_tweenList.push(_local2);
if ((_local7 == 0) && (_local4 == 0)) {
_local8 = _tweenList.length - 1;
updateTweenByIndex(_local8);
removeTweenByIndex(_local8);
}
_local5++;
}
return(true);
}
static function removeTweensByTime(p_scope, p_properties, p_timeStart, p_timeComplete) {
var _local5 = false;
var _local4;
var _local1;
var _local7 = _tweenList.length;
var _local2;
_local1 = 0;
while (_local1 < _local7) {
if (p_scope == _tweenList[_local1].scope) {
if ((p_timeComplete > _tweenList[_local1].timeStart) && (p_timeStart < _tweenList[_local1].timeComplete)) {
_local4 = false;
for (_local2 in _tweenList[_local1].properties) {
if (p_properties[_local2] != undefined) {
if (_tweenList[_local1].onOverwrite != undefined) {
var _local3 = ((_tweenList[_local1].onOverwriteScope != undefined) ? (_tweenList[_local1].onOverwriteScope) : (_tweenList[_local1].scope));
try {
_tweenList[_local1].onOverwrite.apply(_local3, _tweenList[_local1].onOverwriteParams);
} catch(e:Error) {
handleError(_tweenList[_local1], e, "onOverwrite");
}
}
_tweenList[_local1].properties[_local2] = undefined;
delete _tweenList[_local1].properties[_local2];
_local4 = true;
_local5 = true;
}
}
if (_local4) {
if (caurina.transitions.AuxFunctions.getObjectLength(_tweenList[_local1].properties) == 0) {
removeTweenByIndex(_local1);
}
}
}
}
_local1++;
}
return(_local5);
}
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 = getCurrentTweeningTime(_local1);
_local1.isPaused = true;
return(true);
}
static function resumeTweenByIndex(p_tween) {
var _local1 = _tweenList[p_tween];
if ((_local1 == null) || (!_local1.isPaused)) {
return(false);
}
var _local2 = getCurrentTweeningTime(_local1);
_local1.timeStart = _local1.timeStart + (_local2 - _local1.timePaused);
_local1.timeComplete = _local1.timeComplete + (_local2 - _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 _local13 = false;
var _local14;
var _local3;
var _local7;
var _local10;
var _local9;
var _local6;
var _local2;
var _local12;
var _local5;
var _local8 = getCurrentTweeningTime(_local1);
var _local4;
if (_local8 >= _local1.timeStart) {
_local5 = _local1.scope;
if (_local1.isCaller) {
do {
_local7 = ((_local1.timeComplete - _local1.timeStart) / _local1.count) * (_local1.timesCalled + 1);
_local10 = _local1.timeStart;
_local9 = _local1.timeComplete - _local1.timeStart;
_local6 = _local1.timeComplete - _local1.timeStart;
_local3 = _local1.transition(_local7, _local10, _local9, _local6, _local1.transitionParams);
if (_local8 >= _local3) {
if (_local1.onUpdate != undefined) {
_local12 = ((_local1.onUpdateScope != undefined) ? (_local1.onUpdateScope) : (_local5));
try {
_local1.onUpdate.apply(_local12, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
_local1.timesCalled++;
if (_local1.timesCalled >= _local1.count) {
_local13 = true;
break;
}
if (_local1.waitFrames) {
break;
}
}
} while (_local8 >= _local3);
} else {
_local14 = ((_local1.skipUpdates < 1) || (_local1.skipUpdates == undefined)) || (_local1.updatesSkipped >= _local1.skipUpdates);
if (_local8 >= _local1.timeComplete) {
_local13 = true;
_local14 = true;
}
if (!_local1.hasStarted) {
if (_local1.onStart != undefined) {
_local12 = ((_local1.onStartScope != undefined) ? (_local1.onStartScope) : (_local5));
try {
_local1.onStart.apply(_local12, _local1.onStartParams);
} catch(e:Error) {
handleError(_local1, e, "onStart");
}
}
var _local11;
for (_local2 in _local1.properties) {
if (_local1.properties[_local2].isSpecialProperty) {
if (_specialPropertyList[_local2].preProcess != undefined) {
_local1.properties[_local2].valueComplete = _specialPropertyList[_local2].preProcess(_local5, _specialPropertyList[_local2].parameters, _local1.properties[_local2].originalValueComplete, _local1.properties[_local2].extra);
}
_local11 = _specialPropertyList[_local2].getValue(_local5, _specialPropertyList[_local2].parameters, _local1.properties[_local2].extra);
} else {
_local11 = _local5[_local2];
}
_local1.properties[_local2].valueStart = (isNaN(_local11) ? (_local1.properties[_local2].valueComplete) : (_local11));
}
_local14 = true;
_local1.hasStarted = true;
}
if (_local14) {
for (_local2 in _local1.properties) {
_local4 = _local1.properties[_local2];
if (_local13) {
_local3 = _local4.valueComplete;
} else if (_local4.hasModifier) {
_local7 = _local8 - _local1.timeStart;
_local6 = _local1.timeComplete - _local1.timeStart;
_local3 = _local1.transition(_local7, 0, 1, _local6, _local1.transitionParams);
_local3 = _local4.modifierFunction(_local4.valueStart, _local4.valueComplete, _local3, _local4.modifierParameters);
} else {
_local7 = _local8 - _local1.timeStart;
_local10 = _local4.valueStart;
_local9 = _local4.valueComplete - _local4.valueStart;
_local6 = _local1.timeComplete - _local1.timeStart;
_local3 = _local1.transition(_local7, _local10, _local9, _local6, _local1.transitionParams);
}
if (_local1.rounded) {
_local3 = Math.round(_local3);
}
if (_local4.isSpecialProperty) {
_specialPropertyList[_local2].setValue(_local5, _local3, _specialPropertyList[_local2].parameters, _local1.properties[_local2].extra);
} else {
_local5[_local2] = _local3;
}
}
_local1.updatesSkipped = 0;
if (_local1.onUpdate != undefined) {
_local12 = ((_local1.onUpdateScope != undefined) ? (_local1.onUpdateScope) : (_local5));
try {
_local1.onUpdate.apply(_local12, _local1.onUpdateParams);
} catch(e:Error) {
handleError(_local1, e, "onUpdate");
}
}
} else {
_local1.updatesSkipped++;
}
}
if (_local13 && (_local1.onComplete != undefined)) {
_local12 = ((_local1.onCompleteScope != undefined) ? (_local1.onCompleteScope) : (_local5));
try {
_local1.onComplete.apply(_local12, _local1.onCompleteParams);
} catch(e:Error) {
handleError(_local1, e, "onComplete");
}
}
return(!_local13);
}
return(true);
}
static function init() {
_inited = true;
_transitionList = new Object();
caurina.transitions.Equations.init();
_specialPropertyList = new Object();
_specialPropertyModifierList = new Object();
_specialPropertySplitterList = new Object();
}
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, p_preProcessFunction) {
if (!_inited) {
init();
}
var _local1 = new caurina.transitions.SpecialProperty(p_getFunction, p_setFunction, p_parameters, p_preProcessFunction);
_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();
};
_currentTimeFrame = 0;
updateTime();
}
static function stopEngine() {
_engineExists = false;
_tweenList = null;
_currentTime = 0;
_currentTimeFrame = 0;
delete _root[getControllerName()].onEnterFrame;
_root[getControllerName()].removeMovieClip();
}
static function updateTime() {
_currentTime = getTimer();
}
static function updateFrame() {
_currentTimeFrame++;
}
static function onEnterFrame() {
updateTime();
updateFrame();
var _local1 = false;
_local1 = updateTweens();
if (!_local1) {
stopEngine();
}
}
static function setTimeScale(p_time) {
var _local1;
var _local2;
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) {
_local2 = getCurrentTweeningTime(_tweenList[_local1]);
_tweenList[_local1].timeStart = _local2 - (((_local2 - _tweenList[_local1].timeStart) * _timeScale) / p_time);
_tweenList[_local1].timeComplete = _local2 - (((_local2 - _tweenList[_local1].timeComplete) * _timeScale) / p_time);
if (_tweenList[_local1].timePaused != undefined) {
_tweenList[_local1].timePaused = _local2 - (((_local2 - _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"))) {
var _local3 = ((pTweening.onErrorScope != undefined) ? (pTweening.onErrorScope) : (pTweening.scope));
try {
pTweening.onError.apply(_local3, [pTweening.scope, pError]);
} catch(metaError:Error) {
printError((((pTweening.scope.toString() + " raised an error while executing the 'onError' handler. Original error:\n ") + pError) + "\nonError error: ") + metaError);
}
} else if (pTweening.onError == undefined) {
printError((((pTweening.scope.toString() + " raised an error while executing the '") + pCallBackName.toString()) + "'handler. \n") + pError);
}
}
static function getCurrentTweeningTime(p_tweening) {
return((p_tweening.useFrames ? (_currentTimeFrame) : (_currentTime)));
}
static function getVersion() {
return("AS2 1.31.71");
}
static function getControllerName() {
return("__tweener_controller__" + getVersion());
}
static function printError(p_message) {
trace("## [Tweener] Error: " + p_message);
}
static var _engineExists = false;
static var _inited = false;
static var _timeScale = 1;
}
Symbol 967 MovieClip [__Packages.caurina.transitions.TweenListObj] Frame 0
class caurina.transitions.TweenListObj
{
var scope, timeStart, timeComplete, useFrames, transition, transitionParams, properties, isPaused, timePaused, isCaller, updatesSkipped, timesCalled, skipUpdates, hasStarted, onStart, onUpdate, onComplete, onOverwrite, onError, onStartParams, onUpdateParams, onCompleteParams, onOverwriteParams, onStartScope, onUpdateScope, onCompleteScope, onOverwriteScope, onErrorScope, rounded, count, waitFrames;
function TweenListObj (p_scope, p_timeStart, p_timeComplete, p_useFrames, p_transition, p_transitionParams) {
scope = p_scope;
timeStart = p_timeStart;
timeComplete = p_timeComplete;
useFrames = p_useFrames;
transition = p_transition;
transitionParams = p_transitionParams;
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, transitionParams);
_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.onStartScope = onStartScope;
_local2.onUpdateScope = onUpdateScope;
_local2.onCompleteScope = onCompleteScope;
_local2.onOverwriteScope = onOverwriteScope;
_local2.onErrorScope = onErrorScope;
}
_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));
_local2 = _local2 + (", transitionParams:" + String(transitionParams));
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 (onStartScope) {
_local2 = _local2 + (", onStartScope:" + String(onStartScope));
}
if (onUpdateScope) {
_local2 = _local2 + (", onUpdateScope:" + String(onUpdateScope));
}
if (onCompleteScope) {
_local2 = _local2 + (", onCompleteScope:" + String(onCompleteScope));
}
if (onOverwriteScope) {
_local2 = _local2 + (", onOverwriteScope:" + String(onOverwriteScope));
}
if (onErrorScope) {
_local2 = _local2 + (", onErrorScope:" + String(onErrorScope));
}
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 968 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 969 MovieClip [__Packages.caurina.transitions.PropertyInfoObj] Frame 0
class caurina.transitions.PropertyInfoObj
{
var valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, hasModifier, modifierFunction, modifierParameters;
function PropertyInfoObj (p_valueStart, p_valueComplete, p_originalValueComplete, p_arrayIndex, p_extra, p_isSpecialProperty, p_modifierFunction, p_modifierParameters) {
valueStart = p_valueStart;
valueComplete = p_valueComplete;
originalValueComplete = p_originalValueComplete;
arrayIndex = p_arrayIndex;
extra = p_extra;
isSpecialProperty = p_isSpecialProperty;
hasModifier = p_modifierFunction != undefined;
modifierFunction = p_modifierFunction;
modifierParameters = p_modifierParameters;
}
function clone() {
var _local2 = new caurina.transitions.PropertyInfoObj(valueStart, valueComplete, originalValueComplete, arrayIndex, extra, isSpecialProperty, 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 + ("originalValueComplete:" + String(originalValueComplete));
_local2 = _local2 + ", ";
_local2 = _local2 + ("arrayIndex:" + String(arrayIndex));
_local2 = _local2 + ", ";
_local2 = _local2 + ("extra:" + String(extra));
_local2 = _local2 + ", ";
_local2 = _local2 + ("isSpecialProperty:" + String(isSpecialProperty));
_local2 = _local2 + ", ";
_local2 = _local2 + ("hasModifier:" + String(hasModifier));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierFunction:" + String(modifierFunction));
_local2 = _local2 + ", ";
_local2 = _local2 + ("modifierParameters:" + String(modifierParameters));
_local2 = _local2 + "]\n";
return(_local2);
}
}
Symbol 970 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, p_params) {
return(((c * t) / d) + b);
}
static function easeInQuad(t, b, c, d, p_params) {
t = t / d;
return(((c * t) * t) + b);
}
static function easeOutQuad(t, b, c, d, p_params) {
t = t / d;
return((((-c) * t) * (t - 2)) + b);
}
static function easeInOutQuad(t, b, c, d, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutQuad(t * 2, b, c / 2, d, p_params));
}
return(easeInQuad((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInCubic(t, b, c, d, p_params) {
t = t / d;
return((((c * t) * t) * t) + b);
}
static function easeOutCubic(t, b, c, d, p_params) {
t = (t / d) - 1;
return((c * (((t * t) * t) + 1)) + b);
}
static function easeInOutCubic(t, b, c, d, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutCubic(t * 2, b, c / 2, d, p_params));
}
return(easeInCubic((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInQuart(t, b, c, d, p_params) {
t = t / d;
return(((((c * t) * t) * t) * t) + b);
}
static function easeOutQuart(t, b, c, d, p_params) {
t = (t / d) - 1;
return(((-c) * ((((t * t) * t) * t) - 1)) + b);
}
static function easeInOutQuart(t, b, c, d, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutQuart(t * 2, b, c / 2, d, p_params));
}
return(easeInQuart((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInQuint(t, b, c, d, p_params) {
t = t / d;
return((((((c * t) * t) * t) * t) * t) + b);
}
static function easeOutQuint(t, b, c, d, p_params) {
t = (t / d) - 1;
return((c * (((((t * t) * t) * t) * t) + 1)) + b);
}
static function easeInOutQuint(t, b, c, d, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutQuint(t * 2, b, c / 2, d, p_params));
}
return(easeInQuint((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInSine(t, b, c, d, p_params) {
return((((-c) * Math.cos((t / d) * (Math.PI/2))) + c) + b);
}
static function easeOutSine(t, b, c, d, p_params) {
return((c * Math.sin((t / d) * (Math.PI/2))) + b);
}
static function easeInOutSine(t, b, c, d, p_params) {
return((((-c) / 2) * (Math.cos((Math.PI * t) / d) - 1)) + b);
}
static function easeOutInSine(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutSine(t * 2, b, c / 2, d, p_params));
}
return(easeInSine((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInExpo(t, b, c, d, p_params) {
return(((t == 0) ? (b) : (((c * Math.pow(2, 10 * ((t / d) - 1))) + b) - (c * 0.001))));
}
static function easeOutExpo(t, b, c, d, p_params) {
return(((t == d) ? (b + c) : (((c * 1.001) * ((-Math.pow(2, (-10 * t) / d)) + 1)) + b)));
}
static function easeInOutExpo(t, b, c, d, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutExpo(t * 2, b, c / 2, d, p_params));
}
return(easeInExpo((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInCirc(t, b, c, d, p_params) {
t = t / d;
return(((-c) * (Math.sqrt(1 - (t * t)) - 1)) + b);
}
static function easeOutCirc(t, b, c, d, p_params) {
t = (t / d) - 1;
return((c * Math.sqrt(1 - (t * t))) + b);
}
static function easeInOutCirc(t, b, c, d, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutCirc(t * 2, b, c / 2, d, p_params));
}
return(easeInCirc((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInElastic(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
var _local2 = ((p_params.period == undefined) ? (d * 0.3) : (p_params.period));
var _local5;
var _local1 = p_params.amplitude;
if ((!_local1) || (_local1 < Math.abs(c))) {
_local1 = c;
_local5 = _local2 / 4;
} else {
_local5 = (_local2 / (Math.PI*2)) * Math.asin(c / _local1);
}
t = t - 1;
return((-((_local1 * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local2))) + b);
}
static function easeOutElastic(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
t = t / d;
if (t == 1) {
return(b + c);
}
var _local3 = ((p_params.period == undefined) ? (d * 0.3) : (p_params.period));
var _local5;
var _local1 = p_params.amplitude;
if ((!_local1) || (_local1 < Math.abs(c))) {
_local1 = c;
_local5 = _local3 / 4;
} else {
_local5 = (_local3 / (Math.PI*2)) * Math.asin(c / _local1);
}
return((((_local1 * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3)) + c) + b);
}
static function easeInOutElastic(t, b, c, d, p_params) {
if (t == 0) {
return(b);
}
t = t / (d / 2);
if (t == 2) {
return(b + c);
}
var _local3 = ((p_params.period == undefined) ? (d * 0.45) : (p_params.period));
var _local5;
var _local1 = p_params.amplitude;
if ((!_local1) || (_local1 < Math.abs(c))) {
_local1 = c;
_local5 = _local3 / 4;
} else {
_local5 = (_local3 / (Math.PI*2)) * Math.asin(c / _local1);
}
if (t < 1) {
t = t - 1;
return((-0.5 * ((_local1 * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3))) + b);
}
t = t - 1;
return(((((_local1 * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local5) * (Math.PI*2)) / _local3)) * 0.5) + c) + b);
}
static function easeOutInElastic(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutElastic(t * 2, b, c / 2, d, p_params));
}
return(easeInElastic((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInBack(t, b, c, d, p_params) {
var _local1 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot));
t = t / d;
return((((c * t) * t) * (((_local1 + 1) * t) - _local1)) + b);
}
static function easeOutBack(t, b, c, d, p_params) {
var _local2 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot));
t = (t / d) - 1;
return((c * (((t * t) * (((_local2 + 1) * t) + _local2)) + 1)) + b);
}
static function easeInOutBack(t, b, c, d, p_params) {
var _local2 = ((p_params.overshoot == undefined) ? 1.70158 : (p_params.overshoot));
t = t / (d / 2);
if (t < 1) {
_local2 = _local2 * 1.525;
return(((c / 2) * ((t * t) * (((_local2 + 1) * t) - _local2))) + b);
}
t = t - 2;
_local2 = _local2 * 1.525;
return(((c / 2) * (((t * t) * (((_local2 + 1) * t) + _local2)) + 2)) + b);
}
static function easeOutInBack(t, b, c, d, p_params) {
if (t < (d / 2)) {
return(easeOutBack(t * 2, b, c / 2, d, p_params));
}
return(easeInBack((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
static function easeInBounce(t, b, c, d, p_params) {
return((c - easeOutBounce(d - t, 0, c, d)) + b);
}
static function easeOutBounce(t, b, c, d, p_params) {
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, p_params) {
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, p_params) {
if (t < (d / 2)) {
return(easeOutBounce(t * 2, b, c / 2, d, p_params));
}
return(easeInBounce((t * 2) - d, b + (c / 2), c / 2, d, p_params));
}
}
Symbol 971 MovieClip [__Packages.caurina.transitions.SpecialProperty] Frame 0
class caurina.transitions.SpecialProperty
{
var getValue, setValue, parameters, preProcess;
function SpecialProperty (p_getFunction, p_setFunction, p_parameters, p_preProcessFunction) {
getValue = p_getFunction;
setValue = p_setFunction;
parameters = p_parameters;
preProcess = p_preProcessFunction;
}
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 + ", ";
_local2 = _local2 + ("preProcess:" + preProcess.toString());
_local2 = _local2 + "]";
return(_local2);
}
}
Symbol 972 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 973 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 974 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 107 MovieClip Frame 1
stop();
Symbol 201 MovieClip [fighter_mc] Frame 1
function introThumbs() {
checkUnlockables();
_root.stadium_mc.jumbotronScreen.gotoAndStop("choose");
var _local12 = pedistal_mc._y;
pedistal_mc._y = pedistal_mc._y + 100;
pedistal_mc._alpha = 0;
caurina.transitions.Tweener.addTween(pedistal_mc, {_y:_local12, _alpha:100, time:1, transition:"easeoutquint"});
var _local4 = 0;
while (_local4 < thumbsArr.length) {
var _local5 = thumbsArr[_local4].id;
var _local3 = this[_local5];
var _local6 = _local3._y;
_local3._y = _local3._y - 100;
_local3._alpha = 0;
caurina.transitions.Tweener.addTween(_local3, {_y:_local6, _alpha:100, delay:tempRandom, time:1, transition:"easeoutquint"});
if (_local4 == (thumbsArr.length - 1)) {
}
_local4++;
}
}
function outroThumbs() {
pedistal_mc.bluRayBox.enabled = false;
caurina.transitions.Tweener.addTween(pedistal_mc, {_y:pedistal_mc._y + 100, _alpha:0, time:1, transition:"easeoutquint", onComplete:function () {
_root.bass.start();
fighterTitles();
}});
var _local3 = 0;
while (_local3 < thumbsArr.length) {
var _local5 = thumbsArr[_local3].id;
var _local4 = this[_local5];
caurina.transitions.Tweener.addTween(_local4, {_y:_local4._y - 200, _alpha:0, delay:tempRandom, time:1, transition:"easeoutquint", onComplete:function () {
}});
_local3++;
}
}
function fighterTitles() {
var text1Origin = player1Text._y;
var text2Origin = player2Text._y;
_root.stadium_mc.jumbotronScreen.gotoAndStop("home");
_root.nameSlamSound.start();
var _local2 = 245;
caurina.transitions.Tweener.addTween(player1Text, {_alpha:100, _y:183.5 - _local2, delay:0, time:0.8, transition:"easeoutbounce", onComplete:function () {
caurina.transitions.Tweener.addTween(player1Text, {_alpha:0, _y:text1Origin, delay:2, time:0.8, transition:"easeoutquint", onComplete:function () {
introStadium();
}});
caurina.transitions.Tweener.addTween(vsText, {_alpha:0, delay:2, time:0.8, transition:"easeoutquint"});
caurina.transitions.Tweener.addTween(player2Text, {_alpha:0, _y:text2Origin, delay:2, time:0.8, transition:"easeoutquint"});
}});
caurina.transitions.Tweener.addTween(vsText, {_alpha:100, delay:0, time:0.8, transition:"easeoutquint"});
caurina.transitions.Tweener.addTween(player2Text, {_alpha:100, _y:287.5 - _local2, delay:0, time:0.8, transition:"easeoutbounce"});
}
function introStadium() {
var _local3 = _root.content_mc;
var _local2 = "stadium_mc";
var _local4 = "fighter_mc";
_root.prevSection = _root.content_mc[_local4];
_root.loadSection(_local3, _local2);
}
function thumbControls() {
var _local4 = 0;
while (_local4 < thumbsArr.length) {
var _local6 = 0;
while (_local6 < _root.activeThumbs.length) {
if (thumbsArr[_local4].id == _root.activeThumbs[_local6].id) {
var _local11 = _root.activeThumbs.length;
var randomChar = randRange(1, _local11);
var _local10 = thumbsArr[_local4].id;
var _local3 = this[_local10];
_local3.locked_mc._alpha = 0;
_local3.la = thumbsArr[_local4].la;
_local3.au = thumbsArr[_local4].au;
_local3.ab = thumbsArr[_local4].ab;
_local3.ac = thumbsArr[_local4].ac;
_local3.ad = thumbsArr[_local4].ad;
_local3.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:120, _yscale:120, time:0.4, transition:"easeoutback"});
_root.stadium_mc.jumbotronScreen.gotoAndStop(this.la);
};
_local3.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.4, transition:"easeoutquint"});
};
_local3.onPress = function () {
this.newID._alpha = 0;
_root.pSound.attachSound(this.au);
_root.pbSound.attachSound(this.ab);
_root.pcSound.attachSound(this.ac);
_root.pdSound.attachSound(this.ad);
_root.pSound.start();
var _local3 = 0;
while (_local3 < thumbsArr.length) {
var _local5 = thumbsArr[_local3].id;
var _local4 = Root[_local5];
_local4.enabled = false;
_local3++;
}
if (_root.soundIsOff == false) {
caurina.transitions.Tweener.addTween(_root.themeSong, {_sound_volume:5, time:2, transition:"linear"});
}
_root.clickSound.start();
_root.playerFighter = this.la;
var _local6 = thumbsArr[randomChar - 1].la;
_root.cSound.attachSound(thumbsArr[randomChar - 1].au);
_root.cbSound.attachSound(thumbsArr[randomChar - 1].ab);
_root.ccSound.attachSound(thumbsArr[randomChar - 1].ac);
_root.cdSound.attachSound(thumbsArr[randomChar - 1].ad);
_root.computerFighter = _local6;
player1Text.gotoAndStop(this.la);
player2Text.gotoAndStop(_local6);
outroThumbs();
_root.outroSelectionScreen();
};
}
_local6++;
}
_local4++;
}
}
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
caurina.transitions.properties.SoundShortcuts.init();
var tempRandom = 0;
var thumbsArr = new Array();
thumbsArr.push({id:"batmanThumb", nm:"BATMAN", la:"batman", au:"batman_bomb.mp3", ab:"batman_break.mp3", ac:"batman_confoundit.mp3", ad:"batman_criminalcunundrums.mp3"});
thumbsArr.push({id:"robinThumb", nm:"ROBIN", la:"robin", au:"robin_banana.mp3", ab:"robin_atomicbateries.mp3", ac:"robin_holycostumeparty.mp3", ad:"robin_holydemolition.mp3"});
thumbsArr.push({id:"jokerThumb", nm:"THE JOKER", la:"joker", au:"joker_delicious.mp3", ab:"joker_jokeaday.mp3", ac:"joker_laugh.mp3", ad:"joker_laugh.mp3"});
thumbsArr.push({id:"penguinThumb", nm:"PENGUIN", la:"penguin", au:"penguin_jetpackumbrellas.mp3", ab:"penguin_impulsive.mp3", ac:"penguin_sardine.mp3", ad:"penguin_skullduggery.mp3"});
thumbsArr.push({id:"riddlerThumb", nm:"THE RIDDLER", la:"riddler", au:"riddler_souldelite.mp3", ab:"riddler_paradise.mp3", ac:"riddler_souldelite.mp3", ad:"riddler_paradise.mp3"});
thumbsArr.push({id:"catwomanThumb", nm:"CATWOMAN", la:"catwoman", au:"catwoman_onemorestep.mp3", ab:"catwoman_nothingcanstop.mp3", ac:"catwoman_purrrfectly.mp3", ad:"catwoman_whatsthematter.mp3"});
thumbsArr.push({id:"bruceThumb", nm:"BRUCE WAYNE", la:"bruce", au:"bruce_criminals.mp3", ab:"bruce_carriedaway.mp3", ac:"bruce_rendyou.mp3", ad:"bruce_strangestfeeling.mp3"});
thumbsArr.push({id:"commishionerThumb", nm:"COMMISSIONER", la:"gordon", au:"gordon_fiendishattempt.mp3", ab:"gordon_fearsconfirmed.mp3", ac:"gordon_foulplay.mp3", ad:"gordon_greatscott.mp3"});
thumbsArr.push({id:"alfredThumb", nm:"ALFRED PENNYWORTH", la:"alfred", au:"alfred_discretion.mp3", ab:"alfred_blessmydustpan.mp3", ac:"alfred_anothercheckin.mp3", ad:"alfred_displeasingchore.mp3"});
thumbsArr.push({id:"boyThumb", nm:"DICK GRAYSON", la:"dick", au:"dick_police.mp3", ab:"dick_gosh.mp3", ac:"dick_onetinytinypeek.mp3", ad:"dick_wow.mp3"});
thumbsArr.push({id:"gpThumb", nm:"GOON", la:"goon", au:"JustGotScurvy", ab:"Haha", ac:"Laugh", ad:"YoHo"});
thumbsArr.push({id:"sharkThumb", nm:"SHARK", la:"shark", au:"Shark2", ab:"Shark3", ac:"Shark1", ad:"Shark3"});
caurina.transitions.Tweener.addTween(_root.crowdSound, {_sound_volume:0, time:3, transition:"linear"});
caurina.transitions.Tweener.addTween(_root.clickSound, {_sound_volume:0, time:3, transition:"linear"});
introThumbs();
checkUnlockables();
var newAlphas = 70;
switch (_root.unlockChar) {
case 0 :
if ((_root.totalScore >= 3000) && (_root.unlockChar == 0)) {
_root.activeThumbs.push({id:"bruceThumb"});
bruceThumb.newID._alpha = newAlphas;
_root.unlockChar = 1;
}
thumbControls();
break;
case 1 :
if ((_root.totalScore >= 6000) && (_root.unlockChar == 1)) {
_root.activeThumbs.push({id:"commishionerThumb"});
commishionerThumb.newID._alpha = newAlphas;
_root.unlockChar = 2;
}
thumbControls();
break;
case 2 :
if ((_root.totalScore >= 9000) && (_root.unlockChar == 2)) {
_root.activeThumbs.push({id:"alfredThumb"});
alfredThumb.newID._alpha = newAlphas;
_root.unlockChar = 3;
}
thumbControls();
break;
case 3 :
if ((_root.totalScore >= 12000) && (_root.unlockChar == 3)) {
_root.activeThumbs.push({id:"gpThumb"});
gpThumb.newID._alpha = newAlphas;
_root.unlockChar = 4;
}
thumbControls();
break;
case 4 :
if ((_root.totalScore >= 15000) && (_root.unlockChar == 4)) {
_root.activeThumbs.push({id:"boyThumb"});
boyThumb.newID._alpha = newAlphas;
_root.unlockChar = 5;
}
thumbControls();
break;
case 5 :
if ((_root.totalScore >= 18000) && (_root.unlockChar == 5)) {
_root.activeThumbs.push({id:"sharkThumb"});
sharkThumb.newID._alpha = newAlphas;
_root.unlockChar = 6;
}
thumbControls();
break;
default :
thumbControls();
}
pedistal_mc.bluRayBox.onRollOver = function () {
caurina.transitions.Tweener.addTween(preOrderMe, {_y:168, _alpha:100, time:0.5, transition:"easeoutquint"});
_root.rollSound.start();
};
pedistal_mc.bluRayBox.onRollOut = function () {
caurina.transitions.Tweener.addTween(preOrderMe, {_y:218.3, _alpha:0, time:0.4, transition:"easeoutquint"});
};
pedistal_mc.bluRayBox.onPress = function () {
getURL ("http://foxstore.com/detail.php?item=5468", "_blank");
_root.clickSound.start();
};
var Root = this;
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 3
stop();
Symbol 251 MovieClip Frame 4
stop();
Symbol 251 MovieClip Frame 5
stop();
Symbol 251 MovieClip Frame 6
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 2
function autoMove() {
var _local3 = random(3);
dir = ((_local3 < 1) ? 1 : -1);
moveCharacter(computer, dir);
var _local2 = 200 - _root.increaseDifficulty;
var _local4 = setTimeout(moveOrPunch, random(_local2) + 100);
}
function autoPunch() {
if ((computer._x - player._x) < 200) {
_root.punchSwoosh.start();
cpu.rArm.gotoAndPlay("punch");
}
var _local2 = 200 - _root.increaseDifficulty;
var _local3 = setTimeout(moveOrPunch, random(_local2) + 100);
}
function moveOrPunch() {
if (endGame == "off") {
var _local1 = random(20);
((_local1 < 10) ? (autoMove()) : (autoPunch()));
}
}
function startAutoFighter() {
moveOrPunch();
}
function moveCharacter(char, dir) {
if (((computer._x > leftBorder) && (dir == -1)) || ((computer._x < rightBorder) && (dir == 1))) {
var _local2 = computer._x + (dir * 30);
if (caurina.transitions.Tweener.isTweening(cpu)) {
} else if (_local2 > (player._x + 120)) {
if ((_local2 > leftBorder) && (_local2 < rightBorder)) {
punchingb = 1;
_root.moveSound.start();
makeRandomSound();
compPunched = true;
caurina.transitions.Tweener.addTween(computer, {_x:_local2, time:0.2, transition:"linear"});
}
}
}
}
function rPunch() {
recoiled = false;
_root.punchSwoosh.start();
fighter.rArm.gotoAndPlay("punch");
}
function lPunch() {
recoiled = false;
_root.punchSwoosh.start();
fighter.lArm.gotoAndPlay("punch");
}
function dodge() {
playerPunched = true;
var findPosition = player._x;
dodging = true;
caurina.transitions.Tweener.addTween(player, {_x:findPosition - 60, time:0.1, transition:"easeoutquint", onComplete:function () {
caurina.transitions.Tweener.addTween(player, {_x:findPosition, delay:0.1, time:0.1, transition:"easeoutquint", onComplete:function () {
dodging = false;
}});
}});
}
function fighterMove(fighterDir) {
var _local2 = player._x + fighterDir;
if (caurina.transitions.Tweener.isTweening(player)) {
} else if (_local2 < (computer._x - 120)) {
if ((_local2 > leftBorder) && (_local2 < rightBorder)) {
_root.moveSound.start();
makeRandomSound();
caurina.transitions.Tweener.addTween(player, {_x:_local2, time:0.1, transition:"easeoutquint"});
playerPunched = true;
}
}
}
function punch() {
var _local3 = handSwitch.hitTest(compHead);
if (_local3 == true) {
if (caurina.transitions.Tweener.isTweening(fighter)) {
} else {
compPunched = true;
randomZonk();
}
fighterHealth = fighterHealth - 10;
_root.punchSound.start();
computerHP.hpMask.masking._width = computerHP.hpMask.masking._width - 6;
computerHP.hpLight._x = (computerHP.hpMask.masking._width + computerHP.hpMask.masking._x) - (computerHP._width / 2);
if (computerHP.hpMask.masking._width < 10) {
goodEnding = true;
conclusion_mc.playText.gotoAndStop("victory");
endSound();
default_y = default_y - 120;
_root.stadium_mc.jumbotronScreen.gotoAndStop("victory");
ending();
}
punchCounter++;
_parent.conclusion_mc.punchCount.text = punchCounter;
}
}
function computerAttack() {
var _local2 = cpu.rArm.hitTest(buttHead);
if (_local2 == true) {
if (caurina.transitions.Tweener.isTweening(fighter)) {
} else {
playerPunched = true;
randomZonk();
}
computerHealth = computerHealth - 10;
_root.punchSound.start();
playerHP.hpMask.masking._width = playerHP.hpMask.masking._width - (6 + _root.punchHarder);
playerHP.hpLight._x = (playerHP.hpMask.masking._width + playerHP.hpMask.masking._x) - (playerHP._width / 2);
if (playerHP.hpMask.masking._width < 10) {
goodEnding = false;
conclusion_mc.playText.gotoAndStop("defeat");
endSound();
default_by = default_by - 120;
_root.stadium_mc.jumbotronScreen.gotoAndStop("defeat");
ending();
}
}
}
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
function checkRecoil() {
recoiled = true;
}
function fighterBobble() {
fighter.onEnterFrame = function () {
if (!playerPunched) {
bx = ((default_bx - buttHead._x) + Math.random(10)) * springiness;
by = ((default_by - buttHead._y) + Math.random(10)) * springiness;
} else {
if (punchingb == 0) {
bx = -5;
by = -5;
} else {
bx = -3;
punchingb = 0;
}
playerPunched = false;
}
wx = wx + bx;
wy = wy + by;
wx = wx * friction;
wy = wy * friction;
buttHead._x = buttHead._x + wx;
buttHead._y = buttHead._y + wy;
if (!playerPunched) {
buttHead._rotation = bx * 5;
}
};
}
function computerBobble() {
cpu.onEnterFrame = function () {
if (!compPunched) {
ax = ((default_x - compHead._x) + Math.random(10)) * springiness;
ay = ((default_y - compHead._y) + Math.random(10)) * springiness;
} else {
if (punching == 0) {
ax = -5;
ay = 5;
} else {
ax = -3;
punching = 0;
}
compPunched = false;
timingb = 0;
}
vx = vx + ax;
vy = vy + ay;
vx = vx * friction;
vy = vy * friction;
compHead._x = compHead._x + vx;
compHead._y = compHead._y + vy;
if (!compPunched) {
compHead._rotation = ax * 5;
}
};
}
function ending() {
endGame = "on";
_root.bellSound.start();
var _local6 = randRange(1, 5);
var _local7 = 5;
hpMultiplier = playerHP.hpMask.masking._width;
var _local5 = (hpMultiplier * 10000) * (_local6 / _local7);
_parent.conclusion_mc.roundScore.text = _local5;
_root.totalScore = _root.totalScore + _local5;
_parent.conclusion_mc.finalScore.text = _root.totalScore;
_root.submittedScore = _root.totalScore;
if (goodEnding == false) {
_root.totalScore = 0;
_root.increaseDifficulty = 20;
}
caurina.transitions.Tweener.addTween(player, {_x:-250, delay:1, time:1.5, transition:"easeoutquint", onComplete:function () {
caurina.transitions.Tweener.addTween(_parent.conclusion_mc, {_y:15, time:0.5, transition:"easeoutback"});
}});
caurina.transitions.Tweener.addTween(computer, {_x:250, delay:1, time:1.5, transition:"easeoutquint"});
var _local3 = 0;
while (_local3 < _root.highScore.length) {
var _local4 = _root.highScore[_local3].sco;
if (_local5 > _local4) {
_parent.placing = _local3;
_parent.scoring = submittedScore;
_local3 = _root.highScore.length;
}
_local3++;
}
}
function makeRandomSound() {
var _local3 = random(60);
if (_local3 > 55) {
if (isTalking == true) {
} else {
var _local2 = randRange(1, 7);
isTalking = true;
switch (_local2) {
case 0 :
_root.pSound.start();
_root.pSound.onSoundComplete = function () {
isTalking = false;
};
break;
case 1 :
_root.pbSound.start();
_root.pbSound.onSoundComplete = function () {
isTalking = false;
};
break;
case 2 :
_root.pcSound.start();
_root.pcSound.onSoundComplete = function () {
isTalking = false;
};
break;
case 3 :
_root.pdSound.start();
_root.pdSound.onSoundComplete = function () {
isTalking = false;
};
case 4 :
_root.cSound.start();
_root.cSound.onSoundComplete = function () {
isTalking = false;
};
break;
case 5 :
_root.cbSound.start();
_root.cbSound.onSoundComplete = function () {
isTalking = false;
};
break;
case 6 :
_root.ccSound.start();
_root.ccSound.onSoundComplete = function () {
isTalking = false;
};
break;
case 7 :
_root.cdSound.start();
_root.cdSound.onSoundComplete = function () {
isTalking = false;
};
}
}
}
}
function endSound() {
_root.pSound.stop();
_root.pbSound.stop();
_root.pcSound.stop();
_root.pdSound.stop();
_root.cSound.stop();
_root.cbSound.stop();
_root.ccSound.stop();
_root.cdSound.stop();
if (goodEnding == false) {
_root.cbSound.start();
} else {
_root.pbSound.start();
}
}
function randomZonk() {
var _local4 = random(60);
if (_local4 > 40) {
if (caurina.transitions.Tweener.isTweening(zonk_mc)) {
} else {
var _local2 = randRange(1, 3);
if (_local2 == 1) {
_root.zonkA.start();
} else if (_local2 == 2) {
_root.zonkB.start();
} else if (_local2 == 3) {
_root.zonkC.start();
}
zonk_mc._x = player._x + 40;
var _local3 = randRange(2, 6);
zonk_mc.gotoAndStop(_local3);
zonk_mc._xscale = (zonk_mc._yscale = 50);
zonk_mc._rotation = random(180);
caurina.transitions.Tweener.addTween(zonk_mc, {_alpha:100, _xscale:100, _rotation:0, _yscale:100, time:0.5, transition:"linear", onComplete:function () {
caurina.transitions.Tweener.addTween(zonk_mc, {_alpha:0, delay:0.5, time:0.5, transition:"linear"});
}});
}
}
}
function randRange(min, max) {
var _local1 = Math.floor(Math.random() * ((max - min) + 1)) + min;
return(_local1);
}
var compID = _root.computerFighter;
var playID = _root.playerFighter;
var cpu = computer[compID].character;
var fighter = player[playID].character;
var dir = -1;
var recoiled = true;
var goodEnding;
var isTalking = false;
if (_root.increaseDifficulty < 180) {
_root.increaseDifficulty = _root.increaseDifficulty + 40;
_root.punchHarder = _root.punchHarder + 0.3;
}
var leftBorder = (ring._x - ((ring._width / 2) - 120));
var rightBorder = (ring._x + ((ring._width / 2) - 120));
var fighterHealth = 100;
var computerHealth = 100;
var buttHead = fighter.head;
var compHead = cpu.head;
var springiness = 0.1;
var friction = 0.95;
var ax = 0;
var ay = 0;
vx = (vy = 0);
bx = (by = 0);
wx = (wy = 0);
var default_bx = buttHead._x;
var default_by = buttHead._y;
var default_x = compHead._x;
var default_y = compHead._y;
var playerPunched = false;
var computerPunched = false;
var endGame = "on";
var punchCounter = 0;
var roundScorer = 0;
var finalScorer = 0;
var hpMultiplier = 0;
var dodging = false;
var punching = 0;
var punchingb = 0;
var handSwitch;
var punchListener = new Object();
punchListener.onKeyDown = function () {
if (endGame == "off") {
if (Key.isDown(65)) {
if (recoiled == true) {
handSwitch = fighter.rArm;
rPunch();
}
} else if (Key.isDown(83)) {
if (recoiled == true) {
handSwitch = fighter.lArm;
lPunch();
}
} else if (Key.isDown(68)) {
if (dodging == false) {
dodge();
}
} else if (Key.isDown(39)) {
var _local1 = 40;
bx = 5;
punching = 1;
fighterMove(_local1);
} else if (Key.isDown(37)) {
var _local1 = -40;
fighterMove(_local1);
}
}
};
Key.addListener(punchListener);
var cpRot = cpu._rotation;
var rot = fighter._rotation;
var timing = 0;
var timingb = 0;
fighterBobble();
computerBobble();
Symbol 268 MovieClip Frame 1
stop();
Symbol 268 MovieClip Frame 2
stop();
Symbol 273 MovieClip [stadium_mc] Frame 1
function loadPlayer(targetContent, targetURL, choiceFunction) {
var _local2 = targetContent.attachMovie(targetURL, targetURL, targetContent.getNextHighestDepth());
_local2.character._x = 0;
_local2.character._y = 0;
_local2.character._xscale = (_local2.character._yscale = 70);
_local2.choiceFunction = choiceFunction;
var _local3 = _root.playerFighter;
var _local4 = _root.computerFighter;
fightingRing.p1.text = _local3.toUpperCase();
fightingRing.p2.text = _local4.toUpperCase();
initCharsCounter = initCharsCounter + 1;
if (initCharsCounter == 2) {
initRing();
}
}
function initRing() {
if (countInit == 0) {
countInit = 1;
_root.stadium_mc.gotoAndPlay("stage2");
caurina.transitions.Tweener.addTween(fightingRing, {_xscale:100, _yscale:100, _y:ringOriginY, _alpha:100, delay:0, time:1.5, transition:"easeoutquint", onComplete:function () {
_root.stadium_mc.jumbotronScreen.gotoAndStop("countdown");
fightingRing.gotoAndStop(2);
}});
}
}
function outroStadium() {
caurina.transitions.Tweener.addTween(conclusion_mc, {_y:-366.1, time:1, transition:"easeoutback"});
_root.stadium_mc.gotoAndPlay("outro");
caurina.transitions.Tweener.addTween(fightingRing, {_xscale:110, _yscale:110, _y:697, _alpha:0, delay:0, time:1.5, transition:"easeoutquint", onComplete:function () {
var _local3 = _root.content_mc;
var _local2 = "fighter_mc";
var _local4 = "stadium_mc";
_root.prevSection = _root.content_mc[_local4];
_root.loadSection(_local3, _local2);
}});
}
caurina.transitions.properties.SoundShortcuts.init();
var ringOriginY = fightingRing._y;
fightingRing._y = 697;
fightingRing._xscale = (fightingRing._yscale = 110);
fightingRing._alpha = 0;
_root.crowdSound.start(0, 9999);
_root.crowdSound.setVolume(0);
if (_root.soundIsOff == false) {
caurina.transitions.Tweener.addTween(_root.crowdSound, {_sound_volume:30, time:5, transition:"linear"});
}
var initCharsCounter = 0;
var playerUrl = _root.playerFighter;
var choiceFunction = "player";
loadPlayer(fightingRing.player, playerUrl, choiceFunction);
var computerUrl = _root.computerFighter;
var choiceFunction = "computer";
var countInit = 0;
var submitted = false;
loadPlayer(fightingRing.computer, computerUrl, choiceFunction);
var placing;
var nameEntered;
var scoring;
conclusion_mc.submit_mc.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
};
conclusion_mc.submit_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.3, transition:"easeoutback"});
};
var allowText = 0;
conclusion_mc.nameEntry.onSetFocus = function () {
conclusion_mc.nameEntry.text = "";
};
conclusion_mc.nameEntry.onChanged = function (textfield_txt) {
allowText = 1;
};
conclusion_mc.submit_mc.onPress = function () {
if ((allowText == 1) && (submitted == false)) {
var _local2 = 0;
while (_local2 < _root.highScore.length) {
if (_root.highScore[_local2].sco < _root.submittedScore) {
submitted = true;
placing = _local2;
var _local3 = conclusion_mc.nameEntry.text;
nameEntered = ((_local3 + " (") + _root.playerFighter) + ")";
_root.addScore(placing, nameEntered, _root.submittedScore);
_root.scoreboardDropdown();
_local2 = _root.highScore.length + 1;
_root.totalScore = 0;
}
_root.clickSound.start();
_local2++;
}
}
};
conclusion_mc.view_mc.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
};
conclusion_mc.view_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.3, transition:"easeoutback"});
};
conclusion_mc.view_mc.onPress = function () {
_root.scoreboardDropdown();
};
conclusion_mc.play_mc.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:110, _yscale:110, time:0.4, transition:"easeoutback"});
};
conclusion_mc.play_mc.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:100, _yscale:100, time:0.3, transition:"easeoutback"});
};
conclusion_mc.play_mc.onPress = function () {
_root.clickSound.start();
outroStadium();
};
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 293 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 3
_parent._parent.punch();
Symbol 302 MovieClip [alfred] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 322 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 326 MovieClip Frame 1
stop();
Symbol 326 MovieClip Frame 3
_parent._parent.punch();
Symbol 338 MovieClip [batman] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 358 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 3
_parent._parent.punch();
Symbol 376 MovieClip [bruce] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 396 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 3
_parent._parent.punch();
Symbol 414 MovieClip [catwoman] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 434 MovieClip Frame 1
stop();
Symbol 434 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 434 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 438 MovieClip Frame 1
stop();
Symbol 438 MovieClip Frame 3
_parent._parent.punch();
Symbol 452 MovieClip [dick] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 472 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 472 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 476 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 3
_parent._parent.punch();
Symbol 487 MovieClip [gordon] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 510 MovieClip Frame 1
stop();
Symbol 510 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 510 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 518 MovieClip [joker] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 538 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 538 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 3
_parent._parent.punch();
Symbol 571 MovieClip [penguin] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 591 MovieClip Frame 1
stop();
Symbol 591 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 591 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 595 MovieClip Frame 1
stop();
Symbol 595 MovieClip Frame 3
_parent._parent.punch();
Symbol 606 MovieClip [riddler] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 626 MovieClip Frame 1
stop();
Symbol 626 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 626 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 630 MovieClip Frame 1
stop();
Symbol 630 MovieClip Frame 3
_parent._parent.punch();
Symbol 660 MovieClip [robin] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 670 MovieClip Frame 1
stop();
Symbol 670 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 670 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 3
_parent._parent.punch();
Symbol 694 MovieClip [shark] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 714 MovieClip Frame 1
stop();
Symbol 714 MovieClip Frame 3
_parent._parent.playerPunch();
Symbol 714 MovieClip Frame 6
_parent._parent._parent._parent.checkRecoil();
Symbol 718 MovieClip Frame 1
stop();
Symbol 718 MovieClip Frame 3
_parent._parent.punch();
Symbol 729 MovieClip [goon] Frame 1
function playerPunch() {
if (choiceFunction == "player") {
_parent._parent.punch();
} else if (choiceFunction == "computer") {
_parent._parent.computerAttack();
}
}
Symbol 737 Button
on (release) {
getURL ("http://secure-us.imrworldwide.com/cgi-bin/b?cg=ugoplayer_flash_games&ci=us-ugclicks&tu=http://www.ugoplayer.com", "_blank");
}
Symbol 793 MovieClip Frame 5
_root.beepSound.start();
Symbol 793 MovieClip Frame 17
_root.beepSound.start();
Symbol 793 MovieClip Frame 31
_root.beepSound.start();
Symbol 793 MovieClip Frame 42
_root.content_mc.stadium_mc.fightingRing.endGame = "off";
_root.content_mc.stadium_mc.fightingRing.startAutoFighter();
Symbol 793 MovieClip Frame 46
_root.bellSound.start();
Symbol 793 MovieClip Frame 56
stop();
Symbol 794 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 30
stop();
Symbol 795 MovieClip Frame 75
stop();
Symbol 795 MovieClip Frame 105
gotoAndStop (30);
Symbol 855 MovieClip Frame 1
stop();
Symbol 855 MovieClip Frame 40
stop();
Symbol 907 Button
on (rollOver) {
audioOn_MC.colorTo(10066329, 1);
}
on (rollOut) {
audioOn_MC.colorTo(6710886, 1);
}
on (release) {
audioOn_MC.colorTo(6710886, 1);
gotoAndPlay ("soundOn");
}
Symbol 911 Button
on (rollOver) {
audioOff_MC.colorTo(10066329, 1);
}
on (rollOut) {
audioOff_MC.colorTo(6710886, 1);
}
on (release) {
audioOff_MC.colorTo(6710886, 1);
gotoAndPlay ("soundOff");
}
Symbol 913 MovieClip Frame 1
_root.themeSong.setVolume(30);
_root.crowdSound.setVolume(30);
_root.soundIsOff = false;
Symbol 913 MovieClip Frame 2
stop();
Symbol 913 MovieClip Frame 12
_root.themeSong.setVolume(0);
_root.crowdSound.setVolume(0);
_root.soundIsOff = true;
Symbol 913 MovieClip Frame 13
stop();
Symbol 915 MovieClip Frame 1
Instance of Symbol 914 MovieClip "music_mc" in Symbol 915 MovieClip Frame 1
/* no clip actions */
Symbol 928 MovieClip Frame 14
stop();
Symbol 951 MovieClip Frame 20
stop();
Symbol 964 MovieClip Frame 39
stop();
_root.initStage();
var visTempScale = preOrder._xscale;
visitWebsite.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:visTempScale + 5, _yscale:visTempScale + 5, time:0.3, transition:"easeoutback"});
};
visitWebsite.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:visTempScale, _yscale:visTempScale, time:0.3, transition:"easeoutback"});
};
visitWebsite.onPress = function () {
getURL ("http://www.foxhome.com", "_blank");
};
var preTempScale = preOrder._xscale;
preOrder.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:preTempScale + 5, _yscale:preTempScale + 5, time:0.3, transition:"easeoutback"});
};
preOrder.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:preTempScale, _yscale:preTempScale, time:0.3, transition:"easeoutback"});
};
preOrder.onPress = function () {
getURL ("http://foxstore.com/detail.php?item=5468", "_blank");
};
var playTempScale = preOrder._xscale;
playMore.onRollOver = function () {
_root.rollSound.start();
caurina.transitions.Tweener.addTween(this, {_xscale:playTempScale + 5, _yscale:playTempScale + 5, time:0.3, transition:"easeoutback"});
};
playMore.onRollOut = function () {
caurina.transitions.Tweener.addTween(this, {_xscale:playTempScale, _yscale:playTempScale, time:0.3, transition:"easeoutback"});
};
playMore.onPress = function () {
getURL ("http://secure-us.imrworldwide.com/cgi-bin/b?cg=ugoplayer_flash_games&ci=us-ugclicks&tu=http://www.ugoplayer.com", "_blank");
};