Frame 1
function moveLarry(which) {
switch (which) {
case 1 :
caurina.transitions.Tweener.addTween(leftlarry, {_x:(410 - (Stage.width / 2)) + leftlarry._width, time:1, transition:"easeOutExpo"});
caurina.transitions.Tweener.addTween(leftlarry, {_x:410 - (Stage.width / 2), time:1, delay:1, transition:"easeOutExpo", onComplete:function () {
_root.loaderOpen = true;
}});
break;
case 2 :
caurina.transitions.Tweener.addTween(rightlarry, {_x:(410 + (Stage.width / 2)) - rightlarry._width, time:1, transition:"easeOutExpo"});
caurina.transitions.Tweener.addTween(rightlarry, {_x:410 + (Stage.width / 2), time:1, delay:1, transition:"easeOutExpo", onComplete:function () {
_root.loaderOpen = true;
}});
break;
case 3 :
caurina.transitions.Tweener.addTween(toplarry, {_y:400, time:3, transition:"easeOutElastic"});
caurina.transitions.Tweener.addTween(toplarry, {_y:-100, time:2, delay:3, transition:"easeOutExpo", onComplete:function () {
_root.loaderOpen = true;
}});
break;
case 4 :
caurina.transitions.Tweener.addTween(bottomlarry, {_y:250, time:1, transition:"easeOutExpo"});
caurina.transitions.Tweener.addTween(bottomlarry, {_y:Stage.height, time:0.6, delay:1, transition:"easeInExpo", onComplete:function () {
_root.loaderOpen = true;
}});
}
}
function adjustLarry() {
leftlarry._x = 410 - (Stage.width / 2);
rightlarry._x = 410 + (Stage.width / 2);
bottomlarry._y = Stage.height;
}
function fadeAudio(audio, goal, myFas) {
if (volumeLevel > 0) {
_root.fas++;
var fas = _root.fas;
if (myFas) {
fas = myFas;
}
_root.createEmptyMovieClip("fadeAudioMC" + fas, 100 + fas);
var _local2 = audio.getVolume();
var currentVol = _local2;
if (_local2 < goal) {
var positive = true;
} else {
_root["fadeAudioMC" + fas].positive = false;
}
_root["fadeAudioMC" + fas].onEnterFrame = function () {
if (positive && (currentVol < goal)) {
currentVol = currentVol + 2;
audio.setVolume(currentVol);
} else if (currentVol > goal) {
currentVol = currentVol - 2;
audio.setVolume(currentVol);
}
if (currentVol == goal) {
_root["fadeAudioMC" + fas].removeMovieClip();
}
};
} else {
audio.setVolume(0);
}
}
volumeLevel = 80;
selectedVolumeLevel = 80;
adjustLarry();
preloader = new Array();
i = 0;
ii = 0;
loaderOpen = true;
onEnterFrame = function () {
l = _root.getBytesLoaded();
t = _root.getBytesTotal();
ratio = 103 - Math.round((l * 100) / t);
preloader.var1 = ratio;
preloader.var2 = ratio - 1;
preloader.var3 = ratio - 2;
if (((!goLarry4) && (ratio <= 5)) && (loaderOpen)) {
goLarry1 = true;
goLarry2 = true;
goLarry3 = true;
goLarry4 = true;
loaderOpen = false;
moveLarry(4);
}
if (((!goLarry3) && (ratio <= 25)) && (loaderOpen)) {
goLarry1 = true;
goLarry2 = true;
goLarry3 = true;
loaderOpen = false;
moveLarry(3);
}
if (((!goLarry2) && (ratio <= 55)) && (loaderOpen)) {
goLarry1 = true;
goLarry2 = true;
loaderOpen = false;
moveLarry(2);
}
if (((!goLarry1) && (ratio <= 80)) && (loaderOpen)) {
goLarry1 = true;
loaderOpen = false;
moveLarry(1);
}
if ((i >= 28) && (l >= t)) {
play();
this.onEnterFrame = null;
} else {
stop();
}
i++;
};
var stageL = new Object();
stageL.onResize = function () {
adjustLarry();
};
Stage.addListener(stageL);
var mainAudio = new Sound();
mainAudio.loadSound("sounds/loop4.mp3", true);
mainAudio.setVolume(0);
mainAudio.stop();
mainAudio.onSoundComplete = function () {
mainAudio.start();
};
_root.fas = 0;
Frame 14
introAudio.start();
Frame 17
function fillBG() {
background_image._width = Stage.width;
background_image._height = Stage.height;
background_image._y = Stage.height / 2;
if ((!page_open) && (!onMySushi)) {
nav_container._y = Stage.height / 2;
}
}
function adjustHotSpots() {
hotspot_1._x = 410 - (Stage.width / 2);
upper_left_blink._x = 410 - (Stage.width / 2);
hotspot_1.background_image._width = Stage.width;
hotspot_1.background_image._height = Stage.height;
hotspot_1.background_image._y = Stage.height / 2;
hotspot_2._x = 410 - (Stage.width / 2);
hotspot_2._y = Stage.height - 10;
lower_left_blink._x = 410 - (Stage.width / 2);
lower_left_blink._y = Stage.height - 10;
news_desk._x = (410 + (Stage.width / 2)) - 290;
news_desk._y = Stage.height - 150;
mutebutton._x = ((410 + (Stage.width / 2)) - 20) + mutediff;
copyright._x = 400 - (Stage.width / 2);
rightlarry2._x = 410 + (Stage.width / 2);
custom_sushi._x = 400 + (Stage.width / 2);
mySushiMC._y = (Stage.height - 20) + mySushiDiff;
}
fillBG();
mutediff = 240;
mySushiDiff = 500;
var stageL = new Object();
stageL.onResize = function () {
fillBG();
adjustHotSpots();
};
Stage.addListener(stageL);
Frame 77
fillBG();
Frame 87
fillBG();
fadeAudio(introAudio, 0);
mainAudio.start();
fadeAudio(mainAudio, _root.volumeLevel);
adjustHotSpots();
Frame 117
function createNavItem(item_skin) {
navItems++;
nav_container.attachMovie("nav_object", "disconav" + navItems, 1000 - navItems, {_x:0});
orbit = new Orbit(nav_container["disconav" + navItems], nav_container.orbit_ellipse, navItems);
orbit.selectSkin(item_skin);
nav_container["disconav" + navItems].item_skin = item_skin;
return(orbit);
}
function deactivateNavItems() {
i = 1;
while (i <= 4) {
_root["orbit" + i].selectSkin(nav_container["disconav" + i].item_skin + "_off");
i++;
}
}
function activateNavItems() {
i = 1;
while (i <= 4) {
_root["orbit" + i].selectSkin(nav_container["disconav" + i].item_skin);
i++;
}
}
function loadPage(page_name, replace) {
if (_root.pageLoading) {
return(false);
}
if (_root.backtohome && (!page_name)) {
closeCurrentPage();
return(undefined);
}
shrinkNav();
if (!replace) {
rightlarry2.gotoAndPlay(2);
_root.createEmptyMovieClip("loadingpage", 512);
_root.pageLoading = true;
loadingpage.onEnterFrame = function () {
if ((_root.new_page.getBytesLoaded() >= _root.new_page.getBytesTotal()) && (_root.new_page.getBytesTotal() > 18)) {
_root.loadComplete();
_root.loadingpage.removeMovieClip();
}
};
_root.currentPage = page_name;
news_desk.container.reverseNews();
if (page_open && (page_name)) {
_root.new_page.play();
return(undefined);
}
_root.createEmptyMovieClip("new_page", 2000);
if (!page_name) {
if (rnum < 6) {
rnum++;
} else {
rnum = 1;
}
switch (rnum) {
case 1 :
page_name = "videos";
break;
case 2 :
page_name = "emailafriend";
break;
case 3 :
page_name = "customwallpaper";
break;
case 4 :
page_name = "screensavers";
break;
case 5 :
page_name = "buddyicons";
break;
case 6 :
page_name = "music";
break;
default :
page_name = "videos";
}
}
deactivateNavItems();
}
new_page._visible = false;
new_page.stop();
_root.currentPage = page_name;
if (page_name == "news") {
_root.news_desk.container.startNews();
}
_root.page_open = true;
_root.new_page.loadMovie(("swf/pages/" + page_name) + ".swf");
_root.new_page.onPress = function () {
caurina.transitions.Tweener.addTween(upper_left_blink, {_alpha:100, time:4, transition:"easeOut"});
};
_root.new_page.useHandCursor = false;
_root.new_page._y = 200;
}
function loadComplete() {
new_page._visible = true;
new_page.play();
_root.pageLoading = false;
_root.rightlarry2.gotoAndPlay("loaded");
}
function closeCurrentPage() {
activateNavItems();
_root.pageLoading = false;
_root.rightlarry2.gotoAndStop(1);
_root.page_open = false;
resetNav();
_root.new_page.play();
_root.currentPage = "home";
news_desk.container.reverseNews();
fadeAudio(mainAudio, volumeLevel);
}
function shrinkNav() {
_root.backtohome = true;
_root.onEnterFrame = function () {
_global.sushi_speed = 0;
nav_container._y = nav_container._y + ((50 - nav_container._y) / 5);
nav_container._xscale = nav_container._xscale + ((20 - nav_container._xscale) / 5);
nav_container._yscale = nav_container._yscale + ((20 - nav_container._yscale) / 5);
if (nav_container._y <= 51) {
_root.onEnterFrame = null;
}
};
}
function resetNav() {
_global.sushi_speed = 10;
_root.backtohome = false;
_root.onEnterFrame = function () {
if ((!_root.currentPage) || (_root.currentPage == "home")) {
nav_container._y = nav_container._y + ((nav_orig_y - nav_container._y) / 5);
nav_container._xscale = nav_container._xscale + ((100 - nav_container._xscale) / 5);
nav_container._yscale = nav_container._yscale + ((100 - nav_container._yscale) / 5);
if (nav_container._y >= (nav_orig_y - 1)) {
_root.onEnterFrame = null;
}
} else {
shrinkNav();
}
};
}
function updateSushi(sushiType, eyes, mouth) {
custom_sushi.play();
if (!mySushi.type) {
mySushi.type = sushiType;
}
mySushi.eyes = eyes;
mySushi.mouth = mouth;
}
function mySushiView() {
if (_root.onMySushi) {
news_desk._visible = true;
_root.onMySushi = false;
background_image.onEnterFrame = function () {
if (this._currentframe > 1) {
this.gotoAndStop(this._currentframe - 1);
} else {
this.onEnterFrame = null;
}
};
resetNav();
mySushiDiff = 500;
caurina.transitions.Tweener.addTween(mySushiMC, {_y:(Stage.height - 20) + mySushiDiff, time:0.3, delay:0, transition:"easeInExpo", onComplete:function () {
mySushiMC.gotoAndStop(1);
}});
mutediff = 0;
caurina.transitions.Tweener.addTween(mutebutton, {_x:((410 + (Stage.width / 2)) - 20) + mutediff, time:0.5, delay:1, transition:"easeOutExpo"});
customwallpaperlink.gotoAndPlay("main");
} else {
news_desk._visible = false;
closeCurrentPage();
_root.onMySushi = true;
shrinkNav();
deactivateNavItems();
background_image.play();
mySushiDiff = 0;
caurina.transitions.Tweener.addTween(mySushiMC, {_y:(Stage.height - 50) + mySushiDiff, time:0.8, delay:0.5, transition:"easeOutExpo"});
mutediff = 240;
caurina.transitions.Tweener.addTween(mutebutton, {_x:((410 + (Stage.width / 2)) - 20) + mutediff, time:0.5, delay:1, transition:"easeOutExpo"});
mySushiMC.gotoAndStop(mySushi.type);
customwallpaperlink.gotoAndPlay(1);
}
}
function stopDSMusic() {
ds_music.stop();
}
function clearAllAudio() {
newsAudio.setVolume(0);
mainAudio.setVolume(0);
corner1Audio.stop();
corner2Audio.stop();
}
caurina.transitions.Tweener.addTween(upper_left_blink, {_alpha:0, time:4, delay:3, transition:"easeOut"});
caurina.transitions.Tweener.addTween(lower_left_blink, {_alpha:0, time:4, delay:3, transition:"easeOut"});
_root.hotspot_bl_complete = true;
fillBG();
main_sushi_speed = 6;
_global.sushi_speed = 10;
navItems = 0;
_global.sushi_live = 0;
nav_orig_x = nav_container._x;
nav_orig_y = nav_container._y;
_root.attachMovie("news_desk", "news_desk", 3000);
news_desk._xscale = 50;
news_desk._yscale = 50;
adjustHotSpots();
mutediff = 0;
caurina.transitions.Tweener.addTween(mutebutton, {_x:((410 + (Stage.width / 2)) - 20) + mutediff, time:0.5, delay:1, transition:"easeOutExpo"});
nav_container.attachMovie("disco_ball_mc", "disco_ball", 1000, {_y:-560, _xscale:164.2, _yscale:164.2});
orbit1 = createNavItem("meep");
orbit2 = createNavItem("roro");
orbit3 = createNavItem("larry");
orbit4 = createNavItem("salmon");
nav_container.onEnterFrame = function () {
orbit1.startOrbit();
orbit2.startOrbit();
orbit3.startOrbit();
orbit4.startOrbit();
};
rnum = 0;
mySushi = new Array();
newsAudio = new Sound();
newsAudio.loadSound("sounds/news_loop.mp3", true);
newsAudio.setVolume(0);
newsAudio.onSoundComplete = function () {
newsAudio.start();
};
corner1Audio = new Sound();
corner1Audio.loadSound("sounds/loop7.mp3", true);
corner1Audio.setVolume(volumeLevel);
corner1Audio.stop();
corner1Audio.onSoundComplete = function () {
corner1Audio.start();
};
corner2Audio = new Sound();
corner2Audio.loadSound("sounds/loop1.mp3", true);
corner2Audio.setVolume(volumeLevel);
corner2Audio.stop();
corner2Audio.onSoundComplete = function () {
};
this.createEmptyMovieClip("ds_music_mc", _root.getNextHighestDepth());
ds_music = new Sound(ds_music_mc);
ds_music.onSoundComplete = function () {
new_page.songComplete();
};
seriesMC.onRollOver = function () {
this.gotoAndStop(2);
};
seriesMC.onRollOut = function () {
this.gotoAndStop(1);
};
seriesMC.onPress = function () {
getURL ("http://www.dancingsushi.com/series", "_self");
};
fbPromo.onPress = function () {
getURL ("http://apps.facebook.com/dancingsushi/", "_blank");
};
fbPromo.onRollOver = function () {
this.gotoAndStop(2);
};
fbPromo.onRollOut = function () {
this.gotoAndStop(1);
};
stop();
Instance of Symbol 1117 MovieClip "rightlarry2" in Frame 117
/* no clip actions */
Symbol 6 MovieClip Frame 49
stop();
Symbol 7 Button
on (release) {
_root.closeCurrentPage();
if (_root.onMySushi) {
_root.mySushiView();
}
}
Symbol 8 MovieClip Frame 1
stop();
Symbol 8 MovieClip Frame 2
stop();
Symbol 15 MovieClip [disco_ball_mc] Frame 1
if (_root.backtohome) {
discoball.gotoAndStop(2);
discoball.ballbutton.useHandCursor = true;
} else {
discoball.gotoAndStop(1);
discoball.ballbutton.useHandCursor = false;
}
Symbol 127 MovieClip Frame 8
var1 = _root.preloader.var1;
var2 = _root.preloader.var2;
var3 = _root.preloader.var3;
Symbol 1247 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 1248 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 1249 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 1250 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 1251 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 1252 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 1253 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 1254 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 1255 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 1256 MovieClip [__Packages.Orbit] Frame 0
class Orbit extends MovieClip
{
var orbit_mc, orbit_path, a, b, h, k, sushi_speed, sushi_distance, id_num, timer, virgin, placement;
function Orbit (main_mc, ellipse, sent_id) {
super();
orbit_mc = main_mc;
orbit_mc._visible = false;
orbit_path = ellipse;
a = orbit_path._width / 2;
b = orbit_path._height / 2;
h = orbit_path._x + a;
k = orbit_path._y + b;
sushi_speed = _global.sushi_speed;
sushi_distance = 270;
id_num = sent_id;
timer = (sushi_distance / sushi_speed) * (id_num - 1);
orbit_mc.sign = true;
virgin = true;
}
function startOrbit() {
var _local3;
var _local4;
if (_global.sushi_speed > 0) {
sushi_speed = _global.sushi_speed;
if (timer <= 0) {
orbit_mc._visible = true;
if (orbit_mc._x > (orbit_path._x + orbit_path._width)) {
orbit_mc.sign = true;
orbit_mc.swapDepths(1000 - id_num);
}
if (orbit_mc._x < orbit_path._x) {
orbit_mc.sign = false;
orbit_mc.swapDepths(1000 + id_num);
}
placement = (orbit_path._width / 2) - Math.abs((orbit_path._width / 2) - (orbit_mc._x - orbit_path._x));
_local3 = sushi_speed;
if (orbit_mc.sign) {
orbit_mc._x = orbit_mc._x - _local3;
orbit_mc._xscale = 120 - (placement / 5);
orbit_mc._yscale = 120 - (placement / 5);
} else {
orbit_mc._x = orbit_mc._x + _local3;
orbit_mc._xscale = 120 + (placement / 10);
orbit_mc._yscale = 120 + (placement / 10);
}
_local4 = (getOrbitY() - orbit_mc._y) / 3;
if (_local4) {
orbit_mc._y = orbit_mc._y + _local4;
}
if (virgin) {
_global.sushi_live = id_num;
virgin = false;
}
} else {
timer--;
}
}
}
function getOrbitY() {
var _local3;
var _local2;
if (orbit_mc.sign) {
_local2 = b * 0.666666666666667;
_local3 = Math.sqrt((1 - (Math.pow(orbit_mc._x - h, 2) / Math.pow(a, 2))) * Math.pow(_local2, 2)) + k;
} else {
_local2 = b;
_local3 = k - Math.sqrt((1 - (Math.pow(orbit_mc._x - h, 2) / Math.pow(a, 2))) * Math.pow(_local2, 2));
}
return(_local3);
}
function selectSkin(newSkin) {
orbit_mc.gotoAndStop(newSkin);
}
}
Symbol 267 MovieClip Frame 77
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 296 MovieClip Frame 36
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 306 MovieClip Frame 24
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 331 MovieClip Frame 25
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 336 MovieClip Frame 26
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 377 MovieClip Frame 39
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 444 MovieClip Frame 64
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 451 MovieClip Frame 35
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 461 MovieClip Frame 69
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 471 MovieClip Frame 30
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 530 MovieClip Frame 17
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 579 MovieClip Frame 30
_root.hotspot_bl_complete = true;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.hotspot_fill_2.removeMovieClip();
Symbol 580 MovieClip [hotspot_fill_2] Frame 1
rnum = Math.round(Math.random() * 12) + 1;
gotoAndStop(rnum);
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 2
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 3
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 4
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 5
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 6
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 7
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 8
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 9
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 10
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 11
stop();
Symbol 580 MovieClip [hotspot_fill_2] Frame 12
stop();
Symbol 597 Button
on (rollOver) {
current_speed = _global.sushi_speed;
_global.sushi_speed = 0;
_root.onSushi = true;
}
on (rollOut) {
_global.sushi_speed = current_speed;
_root.onSushi = false;
}
on (release) {
_root.loadPage();
_root.updateSushi("larry", currentEyes, currentMouth);
}
Symbol 608 Button
on (rollOver) {
current_speed = _global.sushi_speed;
_global.sushi_speed = 0;
_root.onSushi = true;
}
on (rollOut) {
_global.sushi_speed = current_speed;
_root.onSushi = false;
}
on (release) {
_root.loadPage();
_root.updateSushi("meep", currentEyes, currentMouth);
}
Symbol 632 Button
on (rollOver) {
current_speed = _global.sushi_speed;
_global.sushi_speed = 0;
_root.onSushi = true;
}
on (rollOut) {
_global.sushi_speed = current_speed;
_root.onSushi = false;
}
on (release) {
_root.loadPage();
_root.updateSushi("roro", currentEyes, currentMouth);
}
Symbol 657 Button
on (rollOver) {
current_speed = _global.sushi_speed;
_global.sushi_speed = 0;
_root.onSushi = true;
}
on (rollOut) {
_global.sushi_speed = current_speed;
_root.onSushi = false;
}
on (release) {
_root.loadPage();
_root.updateSushi("salmon", currentEyes, currentMouth);
}
Symbol 658 MovieClip [nav_object] Frame 1
#initclip 11
Object.registerClass("nav_object", Orbit);
#endinitclip
stop();
Symbol 658 MovieClip [nav_object] Frame 7
stop();
Symbol 658 MovieClip [nav_object] Frame 8
stop();
Symbol 658 MovieClip [nav_object] Frame 14
stop();
Symbol 658 MovieClip [nav_object] Frame 15
stop();
Symbol 658 MovieClip [nav_object] Frame 21
stop();
Symbol 658 MovieClip [nav_object] Frame 22
stop();
Symbol 658 MovieClip [nav_object] Frame 28
stop();
Symbol 660 Button
on (rollOver) {
startNews();
}
on (rollOut) {
reverseNews();
}
on (release) {
if (_root.currentPage != "news") {
_root.loadPage("news");
}
}
Symbol 770 Button
on (rollOver) {
_root.news_desk.container.startNews();
_parent.hold = true;
}
on (rollOut) {
_root.news_desk.container.reverseNews();
_parent.hold = false;
}
Symbol 774 MovieClip Frame 1
total_newses = 0;
ii = 0;
news_orig_width = 2675;
news_stage_orig = news_text_stage._x;
onEnterFrame = function () {
if (!_parent.hold) {
news_text_stage._x = news_text_stage._x - 8;
} else {
news_text_stage._x = news_text_stage._x - 2;
}
if (news_text_stage._x < (news_stage_orig - (total_newses * news_orig_width))) {
ii++;
if (ii > 3) {
ii = 0;
}
news_text_stage.attachMovie("news_text", "news_text" + total_newses, ii);
news_text_stage["news_text" + total_newses]._x = total_newses * news_orig_width;
total_newses++;
}
};
stop();
Symbol 803 MovieClip Frame 66
stop();
Symbol 868 MovieClip Frame 111
stop();
Symbol 967 MovieClip Frame 95
stop();
Symbol 968 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.randomNum) {
switch (_parent.randomNum) {
case 1 :
range1 = 2;
range2 = 12;
break;
case 2 :
range1 = 14;
range2 = 24;
break;
case 3 :
range1 = 26;
range2 = 37;
}
if ((_currentframe == 1) || (((_currentframe >= range1) && (_currentframe < (range2 - 3))) && (newsforward))) {
gotoAndStop((range1 + _parent._currentframe) - 10);
} else if ((!newsforward) && (_currentframe >= range1)) {
gotoAndStop((range1 + _parent._currentframe) - 10);
}
}
};
stop();
Symbol 968 MovieClip Frame 13
stop();
Symbol 968 MovieClip Frame 25
stop();
Symbol 968 MovieClip Frame 37
stop();
Symbol 969 MovieClip [news_desk] Frame 1
function reverseNews() {
onEnterFrame = function () {
if (_root.currentPage != "news") {
if (!hold) {
if (audioRunning) {
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.fadeAudio(_root.newsAudio, 0, -1);
audioRunning = false;
}
gotoAndStop(_currentframe - 1);
if (_currentframe == 1) {
onEnterFrame = null;
}
} else {
gotoAndStop(_currentframe + 1);
}
}
};
newsforward = true;
}
function startNews() {
this.audioRunning = true;
onEnterFrame = function () {
if (!hold) {
gotoAndStop(_currentframe + 1);
if (_currentframe >= 22) {
onEnterFrame = null;
}
}
};
_root.fadeAudio(_root.mainAudio, 0);
_root.fadeAudio(_root.newsAudio, _root.volumeLevel, -1);
newsforward = true;
}
stop();
Symbol 969 MovieClip [news_desk] Frame 10
if (newsforward) {
randomNum = Math.round(Math.random() * 2) + 1;
}
trace(randomNum);
Symbol 969 MovieClip [news_desk] Frame 21
stop();
Symbol 974 Button
on (rollOver) {
_root.news_desk.container.startNews();
_parent._parent._parent._parent.hold = true;
}
on (rollOut) {
_root.news_desk.container.reverseNews();
_parent._parent._parent._parent.hold = false;
}
on (release) {
_root.closeCurrentPage();
}
Symbol 975 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 976 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 976 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 980 Button
on (rollOver) {
_root.news_desk.container.startNews();
_parent._parent._parent._parent.hold = true;
}
on (rollOut) {
_root.news_desk.container.reverseNews();
_parent._parent._parent._parent.hold = false;
}
on (release) {
_root.loadPage("music");
}
Symbol 981 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 982 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 982 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 986 Button
on (rollOver) {
_root.news_desk.container.startNews();
_parent._parent._parent._parent.hold = true;
}
on (rollOut) {
_root.news_desk.container.reverseNews();
_parent._parent._parent._parent.hold = false;
}
on (release) {
_root.loadPage("videos");
}
Symbol 987 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 988 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 988 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 992 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
on (release) {
_root.loadPage("customwallpaper");
}
Symbol 993 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 994 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 994 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 998 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
on (release) {
_root.loadPage("screensavers");
}
Symbol 999 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 1000 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 1000 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 1004 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
on (release) {
_root.loadPage("buddyicons");
}
Symbol 1005 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 1006 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 1006 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 1010 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
on (release) {
_root.loadPage("emailafriend");
}
Symbol 1011 Button
on (rollOver) {
_parent._parent._parent._parent.hold = true;
_root.news_desk.container.startNews();
}
on (rollOut) {
_parent._parent._parent._parent.hold = false;
_root.news_desk.container.reverseNews();
}
Symbol 1012 MovieClip Frame 1
navbutton.useHandCursor = true;
stop();
Symbol 1012 MovieClip Frame 2
navbutton.useHandCursor = false;
stop();
Symbol 1013 MovieClip [news_text] Frame 1
onEnterFrame = function () {
home.gotoAndStop(1);
music.gotoAndStop(1);
videos.gotoAndStop(1);
customwallpaper.gotoAndStop(1);
screensavers.gotoAndStop(1);
buddyicons.gotoAndStop(1);
emailafriend.gotoAndStop(1);
this[_root.currentPage].gotoAndStop(2);
};
Symbol 1088 MovieClip Frame 1
stop();
Symbol 1101 MovieClip Frame 1
onMouseMove = function () {
starburst.gotoAndStop(Math.round((_root._xmouse / Stage.width) * 24));
};
onPress = function () {
_root.closeCurrentPage();
};
this.useHandCursor = false;
stop();
Symbol 1101 MovieClip Frame 2
onMouseMove = null;
onPress = null;
this.useHandCursor = false;
Symbol 1101 MovieClip Frame 20
stop();
Symbol 1116 MovieClip Frame 31
stop();
Symbol 1117 MovieClip Frame 1
stop();
Symbol 1117 MovieClip Frame 9
stop();
Instance of Symbol 1119 MovieClip "orbit_ellipse" in Symbol 1120 MovieClip Frame 1
onClipEvent (mouseMove) {
}
Symbol 1122 Button
on (rollOver) {
_root.attachMovie("hotspot_fill_1", "hotspot_fill_1", 4000);
_root.hotspot_fill_1.background_image._width = Stage.width;
_root.hotspot_fill_1.background_image._height = Stage.height;
_root.hotspot_fill_1.background_image._y = Stage.height / 2;
_root.clearAllAudio();
_root.corner1Audio.setVolume(_root.volumeLevel);
_root.corner1Audio.start();
}
on (rollOut) {
_root.hotspot_fill_1.removeMovieClip();
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
_root.corner1Audio.stop();
}
Symbol 1124 Button
on (rollOver) {
if (_root.hotspot_bl_complete) {
_root.attachMovie("hotspot_fill_2", "hotspot_fill_2", 4000);
_root.hotspot_fill_2.background_image._width = Stage.width;
_root.hotspot_fill_2.background_image._height = Stage.height;
_root.hotspot_fill_2.background_image._y = Stage.height / 2;
_root.clearAllAudio();
_root.corner2Audio.setVolume(_root.volumeLevel);
_root.corner2Audio.start();
_root.hotspot_bl_complete = false;
}
}
Symbol 1136 Button
on (release) {
getURL ("http://www.nicktoons.com", _blank);
}
Symbol 1137 Button
on (release) {
getURL ("http://www.animationcollective.com", _blank);
}
Symbol 1138 MovieClip Frame 12
stop();
Symbol 1142 Button
on (release) {
_root.clearAllAudio();
_root.selectedVolumeLevel = 0;
_root.volumeLevel = 0;
gotoAndStop (2);
}
Symbol 1146 Button
on (release) {
getURL ("http://www.cafepress.com/dancingsushi", "_new");
}
Symbol 1149 Button
on (release) {
_root.selectedVolumeLevel = 80;
_root.volumeLevel = 80;
_root.fadeAudio(_root.mainAudio, _root.volumeLevel);
this.gotoAndStop(1);
}
Symbol 1150 MovieClip Frame 1
stop();
Symbol 1150 MovieClip Frame 2
stop();
Symbol 1161 MovieClip Frame 1
stop();
Symbol 1161 MovieClip Frame 2
stop();
Symbol 1161 MovieClip Frame 3
stop();
Symbol 1161 MovieClip Frame 4
stop();
Symbol 1165 Button
on (rollOver) {
bios.gotoAndStop(1);
}
Symbol 1168 Button
on (rollOver) {
bios.gotoAndStop(2);
}
Symbol 1170 Button
on (rollOver) {
bios.gotoAndStop(3);
}
Symbol 1172 Button
on (rollOver) {
bios.gotoAndStop(4);
}
Symbol 1173 MovieClip Frame 1
stop();
Symbol 1175 Button
on (release) {
_root.mySushiView();
}
Symbol 1176 MovieClip Frame 1
stop();
Symbol 1177 MovieClip Frame 1
stop();
Symbol 1177 MovieClip Frame 28
stop();
Symbol 1182 MovieClip Frame 1
stop();
Symbol 1246 MovieClip Frame 1
stop();