home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Computer Buyer 1995 November
/
SHOWCASE.ISO
/
files
/
shared.dir
/
31999_Script_31999
< prev
next >
Wrap
Text File
|
1995-06-14
|
2KB
|
114 lines
-- MOVIE SCRIPT BACKUP COPY --
--
-- òò -- Lingo coding by David K. Anderson and Terry R. Schussler -- òò --
--
--
--=============================================--
-- SUPPORT.DIR movie script handlers --
--=============================================--
--
--on startmovie
-- global gserviceList, gstartVar, gPressed
-- set the preLoadEventAbort = TRUE
-- set the preLoadRAM = FALSE
-- put ["conference","on-line","access","training","developer","consulting","major","user",¼
--"international","education","reseller"] into gserviceList
-- set the visible of sprite 17 to true
-- puppetSprite 17, TRUE
-- set gstartVar = 0
-- put 0 into gPressed
-- global cAudioLevel
-- put 46 into cAudioLevel -- channel for volume indicator
-- global tProductSelect, tSectionSelect, tFirsttimeFlag
-- global soundlevel
-- if voidP(soundlevel) then put 3 into soundlevel
-- global lastSprite
-- put 0 into lastSprite
--end
--
-- this routine handles a Support button selection and jumps to the appropriate frame if necessary
--on supportSelect
-- global tProductPressed, tSectionPressed, tProductSelect, tSectionSelect, tFirsttimeFlag
-- global gpressed,gserviceList, gstartVar
-- puppetSound "click"
-- put the clickOn into whichSprite
-- set gpressed = whichSprite
-- puppetSprite whichSprite, TRUE
-- set the castnum of sprite whichSprite = the number of cast ("Button " & string(whichsprite - 1) && "down")
-- repeat with n = 2 to 12
-- if n <> whichSprite then puppetSprite n, FALSE
-- end repeat
-- updateStage
-- go to frame getAt(gservicelist,whichSprite-1)
--end supportSelect
--
--
--on changeHotspot
-- -- Capture the sprite info before anything can change the value
-- put the mouseCast into whichCast
-- put the clickOn into whichSprite
-- puppetsprite whichSprite, 1
-- put (the name of cast whichCast) into myName
-- put the last word of myName into myNum
-- put not value(myNum) into word (the number of words in myName) of myName
-- set the castNum of sprite whichSprite = cast myName
-- updatestage
--end changeHotspot
--
--
--
-- -- THIS IS THE END OF THE LINGO SCRIPTS
--
--
on ramtester
if (the mousedown) and (the key = RETURN) then
puppetsound "Zed"
updatestage
end if
end ramtester