Frame 1
function LoadIntroNav() {
bkgd.blnIntroMode = 1;
if ((!_level6.nav.bln_CoreNavLoading) && (!_level6.nav.bln_ExtendedNavLoading)) {
_level6.startNavEntrance();
}
}
function unLoadIntro() {
unloadMovie (_level4);
}
function LoadInitialInteractive() {
if (!bkgd.blnDisableSkip) {
bkgd.blnDisableSkip = 1;
bkgd.blnIntroMode = 0;
resetMenuStates();
if ((!_level6.nav.bln_CoreNavLoading) && (!_level6.nav.bln_ExtendedNavLoading)) {
if ((!_level6.nav.bln_CoreNavLoaded) && (!_level6.nav.bln_ExtendedNavLoaded)) {
_level6.startNavEntrance();
} else {
_level6.startAddedNav();
}
}
if (bkgd.OSVersion == "Pro") {
bkgd.doAttractLoop = 1;
loadMovieNum ("segment4.swf", 4);
} else {
bkgd.doAttractLoop = 1;
loadMovieNum ("segment5.swf", 4);
}
}
}
function resetMenuStates() {
var counter;
var currArrayPos;
currArrayPos = 0;
counter = 0;
_level6.yellow.gotoAndPlay("out");
_level6.red.gotoAndPlay("out");
_level6.green.gotoAndPlay("out");
_level6.blue.gotoAndPlay("out");
_level6.silver.gotoAndPlay("out");
}
function testState() {
_level6.red.hideMe();
}
function sceneStarting(strScene) {
bkgd.currScene = strScene;
_level0.waiter.waitForVal("_level6.nav.bln_CoreNavLoaded", 1, 1, strScene);
}
function callBack(intTarg) {
if (intTarg == 1) {
showSceneMenu();
}
}
function showSceneMenu() {
if ((bkgd.OSVersion == "Pro") && (bkgd.blnIntroMode)) {
if (bkgd.currScene == "BestForBusiness") {
bkgd.menuState = [1, 0, 0, 0, 0];
_level6.yellowPro.gotoAndPlay("over");
} else if (bkgd.currScene == "SafeAndEasy") {
bkgd.menuState = [0, 1, 0, 0, 0];
_level6.yellowPro.gotoAndPlay("out");
_level6.redPro.gotoAndPlay("over");
} else if (bkgd.currScene == "UnlockMedia") {
bkgd.menuState = [0, 0, 1, 0, 0];
_level6.redPro.gotoAndPlay("out");
_level6.greenPro.gotoAndPlay("over");
} else if (bkgd.currScene == "ConnectedHome") {
bkgd.menuState = [0, 0, 0, 1, 0];
_level6.greenPro.gotoAndPlay("out");
_level6.bluePro.gotoAndPlay("over");
} else if (bkgd.currScene == "StartHere") {
bkgd.menuState = [0, 0, 0, 0, 1];
_level6.bluePro.gotoAndPlay("out");
_level6.silverPro.gotoAndPlay("over");
}
} else if ((bkgd.OSVersion == "Pro") && (!bkgd.blnIntroMode)) {
bkgd.nav.setSelect = 1;
} else if ((bkgd.OSVersion == "Per") && (bkgd.blnIntroMode == 1)) {
if (bkgd.currScene == "StartHere") {
bkgd.menuState = [0, 0, 0, 1];
_level6.yellowPer.gotoAndPlay("over");
} else if (bkgd.currScene == "SafeAndEasy") {
bkgd.menuState = [0, 1, 0, 0];
_level6.yellowPer.gotoAndPlay("out");
_level6.redPer.gotoAndPlay("over");
} else if (bkgd.currScene == "UnlockMedia") {
bkgd.menuState = [0, 0, 1, 0];
_level6.redPer.gotoAndPlay("out");
_level6.greenPer.gotoAndPlay("over");
} else if (bkgd.currScene == "ConnectedHome") {
bkgd.menuState = [0, 0, 0, 1];
_level6.greenPer.gotoAndPlay("out");
_level6.bluePer.gotoAndPlay("over");
}
} else if ((bkgd.OSVersion == "Per") && (!bkgd.blnIntroMode)) {
bkgd.nav.setSelect = 1;
}
}
function restartTour() {
_level6.gotoAndPlay(1);
unloadMovieNum (_level4);
loadMovieNum ("intro.swf", 4);
_level0.bkgd.blnDisableSkip = 0;
}
function setTimeMark() {
bkgd.timeTarg = getTimer();
}
function timeMarkDone(timeIncrement) {
bkgd.vo.recentTimeRequest = timeIncrement;
currTime = getTimer();
targTime = bkgd.timeTarg + timeIncrement;
if (targTime < currTime) {
return(1);
}
return(0);
}
function pauseDone() {
if (0 < bkgd.vo.pauseMark) {
if (getTimer() < bkgd.vo.pauseMark) {
return(0);
}
return(0);
}
}
function markSnd(sndName, bufferTime) {
sndLength = getSndTime(sndName);
if (sndLength == null) {
trace("markSnd(): no sound length");
}
if (bufferTime == null) {
sndBuffer = bkgd.vo.bufferDefault;
} else {
sndBuffer = bufferTime;
}
bkgd.vo.timeBase = getTimer();
bkgd.vo.targTime = (bkgd.vo.timeBase + sndLength) + sndBuffer;
}
function markSndSegment(sndName) {
trace("markSndSegment called, sndName = " + sndName);
sndLength = getSndTime(sndName);
if (sndLength == null) {
trace("mrkSndSegment: no sound length");
}
sndBuffer = bkgd.vo.bufferDefault;
bkgd.vo.targTime = (bkgd.vo.timeBase + sndLength) + sndBuffer;
}
function sndDonePlaying() {
currTime = getTimer();
if (bkgd.vo.targTime < currTime) {
_level4.markSndDone();
return(1);
}
return(0);
}
function getSndTime(whichSound) {
counter = 0;
duration = sndTimeLib.length + 1;
if (subID == null) {
do {
if (sndTimeLib[counter][0] == whichSound) {
return(sndTimeLib[counter][1]);
}
counter++;
} while (counter < duration);
}
}
function initMusic(whichSection) {
trace("initMusic() called, whichSection = " + whichSection);
trace("Music: Stopping current sound.");
sndMusic.stop();
doSndSet = 0;
if (whichSection == "Intro") {
doSndSet = 1;
trace("Music: attaching intro loop");
sndMusic.attachSound("introLoop");
} else if (whichSection == "BestForBusiness") {
doSndSet = 1;
trace("Music: attaching Best For Business loop");
sndMusic.attachSound("loop1");
} else if (whichSection == "SafeAndEasy") {
doSndSet = 1;
trace("Music: attaching Safe and Easy loop");
sndMusic.attachSound("loop2");
} else if (whichSection == "UnlockMedia") {
doSndSet = 1;
trace("Music: attaching Unlock Media loop");
sndMusic.attachSound("loop3");
} else if (whichSection == "ConnectedHome") {
doSndSet = 1;
trace("Music: Connected Home");
sndMusic.attachSound("loop5");
} else if (whichSection == "StartHere") {
doSndSet = 1;
trace("Music: attaching Start Here loop");
sndMusic.attachSound("loop6");
}
if (doSndSet) {
if (bkgd.musicOn == "noInit") {
bkgd.musicOn = 1;
sndMusic.setVolume(bkgd.MusicVol);
} else if (bkgd.musicOn) {
sndMusic.setVolume(bkgd.MusicVol);
} else {
sndMusic.setVolume(0);
}
sndMusic.start(0, 9999);
}
}
function toggleMusic() {
if (bkgd.musicOn) {
bkgd.musicOn = 0;
sndMusic.setVolume(0);
} else {
bkgd.musicOn = 1;
sndMusic.setVolume(bkgd.MusicVol);
}
}
fscommand ("showmenu", "false");
fscommand ("allowscale", "true");
fscommand ("fullscreen", "true");
fscommand ("trapallkeys", "true");
_focusrect = 0;
if (typeof(bkgd) != "object") {
bkgd = null;
}
bkgd = new Object();
bkgd.blnIntroMode = 1;
bkgd.blnRollMode = 0;
bkgd.OSVersion = "Pro";
bkgd.blnDisableSkip = 0;
bkgd.msLogoPresent = 0;
bkgd.menuState = [0];
bkgd.VOvol = 100;
bkgd.MusicVol = 50;
bkgd.musicOn = "noInit";
bkgd.timeTarg = 0;
bkgd.currScene = "";
bkgd.doAttractLoop = 0;
bkgd.AttractLoopWaitTime = 10000;
bkgd.doKioskMode = 1;
bkgd.kioskModeWaitTime = 7000;
bkgd.kioskModeWaitLong = 7000;
bkgd.vo = new Object();
bkgd.vo.timeMark = 0;
bkgd.vo.targTime = 0;
bkgd.vo.timeBase = 0;
bkgd.vo.bufferDefault = 500;
bkgd.vo.activeSnd = 0;
bkgd.vo.sndTarg = 0;
bkgd.vo.recentTimeRequest = 0;
bkgd.vo.pauseMark = 0;
bkgd.vo.pauseTime = 0;
bkgd.vo.doRamp = 0;
bkgd.nav = new Object();
bkgd.nav.setSelect = 0;
loadMovieNum ("nav.swf", 6);
loadMovieNum ("intro.swf", 4);
sndTimeLib = [];
sndTimeLib.push(["TOUR05", 6368]);
sndTimeLib.push(["TOUR06", 3758]);
sndTimeLib.push(["TOUR07", 1123]);
sndTimeLib.push(["TOUR08", 11064]);
sndTimeLib.push(["TOUR09", 2423]);
sndTimeLib.push(["TOUR10", 12979]);
sndTimeLib.push(["TOUR11", 2205]);
sndTimeLib.push(["TOUR12", 8870]);
sndTimeLib.push(["TOUR13", 2191]);
sndTimeLib.push(["TOUR14", 7639]);
sndTimeLib.push(["TOUR15", 1651]);
sndTimeLib.push(["TOUR16", 9171]);
sndTimeLib.push(["TOUR17", 6861]);
sndTimeLib.push(["TOUR19", 4922]);
sndTimeLib.push(["TOUR20", 2049]);
sndTimeLib.push(["TOUR21a", 6408]);
sndTimeLib.push(["TOUR21b", 9357]);
sndTimeLib.push(["TOUR22a", 4620]);
sndTimeLib.push(["TOUR22b", 7732]);
sndTimeLib.push(["TOUR22c", 8893]);
sndTimeLib.push(["TOUR22d", 10007]);
sndTimeLib.push(["TOUR22e", 11099]);
sndTimeLib.push(["TOUR22f", 12360]);
sndTimeLib.push(["TOUR23", 1367]);
sndTimeLib.push(["TOUR24a", 3587]);
sndTimeLib.push(["TOUR24b", 7987]);
sndTimeLib.push(["TOUR25a", 1927]);
sndTimeLib.push(["TOUR25b", 5131]);
sndTimeLib.push(["TOUR25c", 8452]);
sndTimeLib.push(["TOUR26a", 5108]);
sndTimeLib.push(["TOUR26b", 9276]);
sndTimeLib.push(["TOUR27", 9171]);
sndTimeLib.push(["TOUR28a", 4365]);
sndTimeLib.push(["TOUR28b", 21733]);
sndTimeLib.push(["TOUR29", 1300]);
sndTimeLib.push(["TOUR30a", 1927]);
sndTimeLib.push(["TOUR30b", 4620]);
sndTimeLib.push(["TOUR30c", 7024]);
sndTimeLib.push(["TOUR31a", 2902]);
sndTimeLib.push(["TOUR31b", 10983]);
sndTimeLib.push(["TOUR32a", 2589]);
sndTimeLib.push(["TOUR32b", 4109]);
sndTimeLib.push(["TOUR32c", 6315]);
sndTimeLib.push(["TOUR32d", 13119]);
sndTimeLib.push(["TOUR33a", 5735]);
sndTimeLib.push(["TOUR33b", 7624]);
sndTimeLib.push(["TOUR33c", 12097]);
sndTimeLib.push(["TOUR33d", 16068]);
sndTimeLib.push(["TOUR34", 1352]);
sndTimeLib.push(["TOUR35a", 4597]);
sndTimeLib.push(["TOUR35b", 9729]);
sndTimeLib.push(["TOUR36a", 3900]);
sndTimeLib.push(["TOUR36b", 5619]);
sndTimeLib.push(["TOUR36c", 6710]);
sndTimeLib.push(["TOUR36d", 8080]);
sndTimeLib.push(["TOUR36e", 8823]);
sndTimeLib.push(["TOUR36f", 10820]);
sndTimeLib.push(["TOUR36g", 11493]);
sndTimeLib.push(["TOUR37", 12135]);
sndTimeLib.push(["TOUR38a", 4899]);
sndTimeLib.push(["TOUR38b", 11052]);
sndTimeLib.push(["TOUR39", 1613]);
sndTimeLib.push(["TOUR40a", 2809]);
sndTimeLib.push(["TOUR40b", 6408]);
sndTimeLib.push(["TOUR42", 3993]);
sndTimeLib.push(["TOUR43a", 5526]);
sndTimeLib.push(["TOUR43b", 6431]);
sndTimeLib.push(["TOUR43c", 11308]);
sndTimeLib.push(["TOUR45", 1173]);
sndTimeLib.push(["TOUR46", 6362]);
sndTimeLib.push(["TOUR47", 3517]);
sndTimeLib.push(["TOUR49a", 3204]);
sndTimeLib.push(["TOUR49b", 4794]);
sndTimeLib.push(["TOUR49c", 5886]);
sndTimeLib.push(["TOUR49d", 7418]);
sndTimeLib.push(["TOUR49e", 8695]);
sndTimeLib.push(["TOUR50a", 5352]);
sndTimeLib.push(["TOUR50b", 8591]);
sndTimeLib.push(["TOUR51a", 6362]);
sndTimeLib.push(["TOUR51b", 9357]);
sndTimeLib.push(["TOUR51c", 11075]);
sndTimeLib.push(["TOUR51d", 15789]);
sndTimeLib.push(["TOUR52a", 3459]);
sndTimeLib.push(["TOUR52b", 7941]);
sndTimeLib.push(["TOUR52c", 10379]);
sndTimeLib.push(["TOUR54", 1140]);
sndTimeLib.push(["TOUR55", 7221]);
sndTimeLib.push(["TOUR56a", 3482]);
sndTimeLib.push(["TOUR56b", 5108]);
sndTimeLib.push(["TOUR56c", 6315]);
sndTimeLib.push(["TOUR56d", 8057]);
sndTimeLib.push(["TOUR56e", 9682]);
sndTimeLib.push(["TOUR58", 1326]);
sndTimeLib.push(["TOUR59a", 5642]);
sndTimeLib.push(["TOUR59b", 7174]);
sndTimeLib.push(["TOUR59c", 8196]);
sndTimeLib.push(["TOUR59d", 11493]);
sndTimeLib.push(["TOUR60a", 3065]);
sndTimeLib.push(["TOUR60b", 7337]);
sndTimeLib.push(["TOUR60c", 8962]);
sndTimeLib.push(["TOUR60d", 10750]);
sndTimeLib.push(["TOUR60e", 12863]);
sndTimeLib.push(["TOUR62", 5410]);
sndTimeLib.push(["TOUR63", 1758]);
sndTimeLib.push(["TOUR64a", 4141]);
sndTimeLib.push(["TOUR64b", 10147]);
sndTimeLib.push(["TOUR65a", 6000]);
sndTimeLib.push(["TOUR65b", 8452]);
sndTimeLib.push(["TOUR66", 7569]);
sndTimeLib.push(["TOUR67", 1912]);
sndTimeLib.push(["TOUR68", 6072]);
sndTimeLib.push(["TOUR69a", 3750]);
sndTimeLib.push(["TOUR69b", 8115]);
sndTimeLib.push(["TOUR70", 8742]);
sndTimeLib.push(["TOUR71", 3378]);
sndTimeLib.push(["TOUR72a", 3343]);
sndTimeLib.push(["TOUR72b", 4376]);
sndTimeLib.push(["TOUR73", 2171]);
sndTimeLib.push(["TOUR74a", 3018]);
sndTimeLib.push(["TOUR74b", 4133]);
sndTimeLib.push(["TOUR74c", 8382]);
sndTimeLib.push(["TOUR74d", 9914]);
sndTimeLib.push(["TOUR74e", 11331]);
sndTimeLib.push(["TOUR74f", 11911]);
sndTimeLib.push(["TOUR74g", 16695]);
sndTimeLib.push(["TOUR76", 7592]);
sndTimeLib.push(["TOUR77", 6222]);
sndTimeLib.push(["TOUR78", 4226]);
sndTimeLib.push(["TOUR79", 6849]);
sndTimeLib.push(["TOUR81", 5317]);
sndTimeLib.push(["TOUR82", 2989]);
sndTimeLib.push(["TOUR83a", 6524]);
sndTimeLib.push(["TOUR83b", 8730]);
sndTimeLib.push(["TOUR83c", 13305]);
sndTimeLib.push(["TOUR84", 4366]);
sndTimeLib.push(["TOUR85", 4156]);
sndTimeLib.push(["TOUR86", 2664]);
sndTimeLib.push(["TOUR87a", 4667]);
sndTimeLib.push(["TOUR87b", 16462]);
sndTimeLib.push(["TOUR88", 4876]);
sndTimeLib.push(["TOUR89", 7871]);
sndTimeLib.push(["TOUR90", 8103]);
sndTimeLib.push(["TOUR91", 2351]);
sndTimeLib.push(["TOUR92", 2925]);
sndTimeLib.push(["TOUR93", 9241]);
sndTimeLib.push(["TOUR94", 5677]);
sndTimeLib.push(["TOUR95", 10123]);
sndTimeLib.push(["TOUR97", 5398]);
sndTimeLib.push(["TOUR98", 3041]);
sndTimeLib.push(["TOUR99", 5375]);
sndTimeLib.push(["TOUR100", 13955]);
sndTimeLib.push(["TOUR101", 4736]);
sndTimeLib.push(["TOUR102a", 6664]);
sndTimeLib.push(["TOUR102b", 9473]);
sndTimeLib.push(["TOUR103", 2739]);
sndTimeLib.push(["TOUR104", 2879]);
sndTimeLib.push(["TOUR105", 8034]);
sndTimeLib.push(["TOUR106", 4481]);
sndTimeLib.push(["TOUR107", 10147]);
sndTimeLib.push(["TOUR108", 5259]);
sndTimeLib.push(["TOUR109", 14814]);
sndTimeLib.push(["TOUR110", 2014]);
sndTimeLib.push(["TOUR111", 7801]);
sndTimeLib.push(["TOUR112", 5410]);
sndTimeLib.push(["TOUR113", 11215]);
sndTimeLib.push(["TOUR114", 2919]);
sndTimeLib.push(["TOUR115", 6072]);
sndTimeLib.push(["TOUR116", 6280]);
sndTimeLib.push(["TOUR117", 9055]);
sndTimeLib.push(["TOUR119", 9067]);
sndTimeLib.push(["TOUR120", 2780]);
sndTimeLib.push(["TOUR121", 9822]);
sndTimeLib.push(["TOUR122", 15510]);
sndTimeLib.push(["TOUR123", 4829]);
sndTimeLib.push(["TOUR124", 10866]);
sndTimeLib.push(["TOUR125", 6466]);
sndTimeLib.push(["TOUR126a", 4504]);
sndTimeLib.push(["TOUR126b", 9752]);
sndTimeLib.push(["TOUR126c", 14396]);
sndTimeLib.push(["TOUR127a", 6013]);
sndTimeLib.push(["TOUR127b", 12120]);
sndTimeLib.push(["TOUR128", 2693]);
sndTimeLib.push(["TOUR129a", 6176]);
sndTimeLib.push(["TOUR129b", 15139]);
sndTimeLib.push(["TOUR130", 9090]);
sndTimeLib.push(["TOUR131", 9543]);
sndTimeLib.push(["TOUR132a", 7476]);
sndTimeLib.push(["TOUR132b", 12422]);
sndTimeLib.push(["TOUR132c", 20712]);
sndTimeLib.push(["TOUR133", 13583]);
sndTimeLib.push(["TOUR134", 5735]);
sndTimeLib.push(["TOUR135", 2792]);
sndTimeLib.push(["TOUR136", 5955]);
sndTimeLib.push(["TOUR137", 6153]);
sndTimeLib.push(["TOUR138", 15650]);
sndTimeLib.push(["TOUR139", 3837]);
sndTimeLib.push(["TOUR140", 14721]);
sndTimeLib.push(["TOUR141", 9613]);
sndTimeLib.push(["TOUR142", 13165]);
sndMusic = new Sound(this);
Frame 2
function doRelease(strTarget) {
if (!_level0.bkgd.blnIntroMode) {
puntMovie();
_level6.showInner();
loadMovieNum (strTarget, intMovieTargLevel);
}
}
function puntMovie() {
unloadMovieNum (intMovieTargLevel);
}
var intMovieTargLevel;
intMovieTargLevel = 4;
Frame 3
stop();
Symbol 9 MovieClip Frame 1
function startTimer(intWaitTime, callBackNum) {
intTargTime = intWaitTime;
objTargCall = callBackNum;
gotoAndPlay (5);
}
function waitForVal(whichObj, whichValue, callBackNum) {
targObj = whichObj;
targVal = whichValue;
objTargCall = callBackNum;
gotoAndPlay (15);
}
function timeIsUp() {
_level0.callBack(objTargCall);
}
var intTargTime;
var objTargCall;
var targObj;
var targVal;
var counter;
intTargTime = 0;
counter = 0;
Symbol 9 MovieClip Frame 2
stop();
Symbol 9 MovieClip Frame 6
currTime = getTimer();
if (intTargTime < currTime) {
timeIsUp(objTargCall);
gotoAndStop (1);
} else {
gotoAndPlay (5);
}
Symbol 9 MovieClip Frame 16
if (eval (targObj) == targVal) {
timeIsUp(objTargCall);
gotoAndStop (1);
} else {
counter = counter + 1;
gotoAndPlay (15);
}
Symbol 10 MovieClip Frame 1
play();
Symbol 10 MovieClip Frame 2
if (_parent.bkgd.vo.doRamp) {
_level4.doRamp();
}
gotoAndPlay(_currentframe - 1);