function restartTour( ){
_level6.gotoAndPlay("1" )
getURL ("" ,window="_level" add _level4 )
getURL ("intro.swf" , Target = "_level4");
_level0."bkgd"."blnDisableSkip" = "0.000000"
}
function setTimeMark( ){
bkgd."timeTarg" = getTimer ()
}
function timeMarkDone( timeIncrement){
bkgd."vo"."recentTimeRequest" = timeIncrement
currTime = getTimer ();
targTime = bkgd."timeTarg" + timeIncrement;
if (targTime < currTime ){
return ("1")
else
return ("0.000000")
}
}
function pauseDone( ){
if ("0.000000" < bkgd."vo"."pauseMark" ){
if ( getTimer () < bkgd."vo"."pauseMark" ){
return ("0.000000")
else
return ("0.000000")
}
}
}
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")
else
return ("0.000000")
}
}
function getSndTime( whichSound){
counter = "0.000000";
duration = sndTimeLib."length" + 1;
if (subID == "NULL" ){
do {
if (sndTimeLib.counter."0.000000" == whichSound ){
return (sndTimeLib.counter."1")
else
counter = counter++;
}
if (counter < duration ){
}
}
function initMusic( whichSection){
TRACE("initMusic() called, whichSection = " + whichSection)
TRACE("Music: Stopping current sound.")
sndMusic.stop( )
doSndSet = "0.000000";
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.000000" )
}
}
sndMusic.start("0.000000" , "9999" )
}
}
function toggleMusic( ){
if (bkgd."musicOn" ){
bkgd."musicOn" = "0.000000"
sndMusic.setVolume("0.000000" )
else
bkgd."musicOn" = "1"
sndMusic.setVolume(bkgd."MusicVol" )
}
}
getURL ("FSCommand:showmenu" , Target = "false");
getURL ("FSCommand:allowscale" , Target = "true");
getURL ("FSCommand:fullscreen" , Target = "true");
getURL ("FSCommand:trapallkeys" , Target = "true");
setProperty ("",_focusrect) = "0.000000"
if ( not (bkgd.valueOf() == "object") ){
bkgd = "NULL";
}
bkgd = new "Object"( );;
bkgd."blnIntroMode" = "1"
bkgd."blnRollMode" = "0.000000"
bkgd."OSVersion" = "Pro"
bkgd."blnDisableSkip" = "0.000000"
bkgd."msLogoPresent" = "0.000000"
?stackempty?.bkgd = "menuState":"0.000000"
bkgd."VOvol" = "100"
bkgd."MusicVol" = "50"
bkgd."musicOn" = "noInit"
bkgd."timeTarg" = "0.000000"
bkgd."currScene" = ""
bkgd."doAttractLoop" = "0.000000"
bkgd."AttractLoopWaitTime" = "10000"
bkgd."doKioskMode" = "1"
bkgd."kioskModeWaitTime" = "7000"
bkgd."kioskModeWaitLong" = "7000"
bkgd."vo" = new "Object"( );
bkgd."vo"."timeMark" = "0.000000"
bkgd."vo"."targTime" = "0.000000"
bkgd."vo"."timeBase" = "0.000000"
bkgd."vo"."bufferDefault" = "500"
bkgd."vo"."activeSnd" = "0.000000"
bkgd."vo"."sndTarg" = "0.000000"
bkgd."vo"."recentTimeRequest" = "0.000000"
bkgd."vo"."pauseMark" = "0.000000"
bkgd."vo"."pauseTime" = "0.000000"
bkgd."vo"."doRamp" = "0.000000"
bkgd."nav" = new "Object"( );
bkgd."nav"."setSelect" = "0.000000"
getURL ("nav.swf" , Target = "_level6");
getURL ("intro.swf" , Target = "_level4");
sndTimeLib = "";
sndTimeLib.push("6368":"TOUR05"?stackempty?:?stackempty? )
sndTimeLib.push("3758":"TOUR06"?stackempty?:?stackempty? )
sndTimeLib.push("1123":"TOUR07"?stackempty?:?stackempty? )
Достарыңызбен бөлісу: |