home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sears Catalog 2006 Spring/Summer (French Canadian)
/
SearsCanada-AutomneEte2006-FrenchVersion-WinMac.bin
/
fr
/
main.swf
/
scripts
/
frame_3
/
DoAction.as
Wrap
Text File
|
2005-12-05
|
1KB
|
46 lines
function bookOff(type)
{
trace("FROM BOOK OFF FUNCTION type = " + type);
state = type;
switch(type)
{
case "content":
sectionClip.gotoAndStop("off");
instruction_MC.gotoAndStop(3);
this.hideSectionMc._visible = true;
break;
case "section":
sectionClip.gotoAndStop("off");
this.hideSectionMc._visible = false;
break;
case "lrg":
sectionClip.gotoAndStop("lrgOff");
break;
default:
trace("no case tested true");
}
}
function bookOn(type)
{
trace("FROM BOOK ON FUNCTION type = " + type);
state = type;
switch(type)
{
case "content":
sectionClip.gotoAndStop("off");
this.hideSectionMc._visible = true;
break;
case "section":
sectionClip.gotoAndStop("stay");
instruction_MC.gotoAndStop(2);
this.hideSectionMc._visible = false;
break;
case "lrg":
sectionClip.gotoAndStop("lrg");
break;
default:
trace("no case tested true");
}
}
state = "section";