home *** CD-ROM | disk | FTP | other *** search
- on SPEAK
- set the movieTime of sprite 40 to 0
- set the movieRate of sprite 40 to 1.0
- end
-
- on checkKey
- if the commandDown and ((the key = "q") or (the key = ".")) then
- endMOVIE()
- end if
- end
-
- on CLEANUP
- global cVID
- unPuppetVisPlus()
- set cVID to the castNum of sprite 40
- if cVID > 0 then
- if the castType of cast cVID = #digitalVideo then
- set the movieRate of sprite 40 to 0
- end if
- end if
- checkMem()
- end
-
- on checkMem
- global gMinimumRAM
- if (the freeBlock / 1024) < gMinimumRAM then
- unLoadCast()
- end if
- end
-
- on unPuppetVisPlus myList
- if not (the paramCount) then
- repeat with n = 48 down to 1
- puppetSprite(n, 0)
- set the visible of sprite n to 1
- end repeat
- else
- repeat with n in myList
- puppetSprite(n, 0)
- set the visible of sprite n to 1
- end repeat
- end if
- end
-