home *** CD-ROM | disk | FTP | other *** search
- global gActivityClicked, gContentClicked, gActivityList, gSpriteList, gPlaybackType, gDownloadObject, gPlayerGlobals, gJNWebSite, gPlayAgain, gMessageObject, gMoaType, gGamePlayed, gNetTestID, gNoConnection, gTestStartTime, gSelectedActivityCode
-
- on startMovie
- code = member("Activity Code Init").text
- gActivityClicked = [#Icon: code]
- gSelectedActivityCode = code
- gPlaybackType = #exe
- if voidp(gGamePlayed) then
- go("intro")
- gNetTestID = getNetText("http://www.juniornet.com")
- gNoConnection = 1
- gTestStartTime = the milliSeconds
- else
- go("extro")
- end if
- end
-
- on stopMovie
- global gDownloadObject
- gDownloadObject = VOID
- if the runMode = "Author" then
- Extension = ".cst"
- else
- Extension = ".cct"
- end if
- end
-
- on DownloadDone
- go("ready")
- end
-
- on convertlisttotext targetList
- textList = EMPTY
- repeat with record in targetList
- textList = textList & record & RETURN
- end repeat
- return textList
- end
-
- on convertTextToList textList
- foundAll = 0
- repeat while foundAll = 0
- currentChar = offset(RETURN, textList)
- if currentChar = 0 then
- foundAll = 1
- next repeat
- end if
- delete textList.char[currentChar]
- end repeat
- newList = value(textList)
- return newList
- end
-