home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global edMovie, ionamus, edmus, bcMus, BCmovie, intro, spacer, KidMovie, myObj, pathToMain, firstStart, lang, langPrefix, pathTolang, muppetplayed, reallyQuit, initialtime
- set initialtime to 0
- set reallyQuit to 1
- set muppetplayed to 0
- if the machineType = 256 then
- set spacer to "\"
- else
- set spacer to ":"
- end if
- if the machineType <> 256 then
- end if
- if the visible of window "EXERCISE" then
- forget(window "EXERCISE")
- end if
- set the timeoutLength to 50 * 60
- if the machineType <> 256 then
- if not objectp(myObj) then
- openXLib("rearWindow.xobj")
- set myObj to rearwindow(mnew, "M")
- set myPic to the picture of cast "black"
- set resultCode to myObj(mCastToWindow, myPic, 0, 0)
- end if
- end if
- end
-
- on stopMovie
- global myObj, reallyQuit
- if reallyQuit = 1 then
- if objectp(myObj) then
- myObj(mdispose)
- end if
- unLoadCast()
- play frame "exit"
- end if
- end
-