home *** CD-ROM | disk | FTP | other *** search
/ Pro One: Netcracker Netscape Navigator / ProOne: Netcracker Netscape Navigator.iso / pc / nc / nct11030.geo / 00035.ls < prev    next >
Encoding:
Text File  |  1997-03-19  |  3.0 KB  |  143 lines

  1. on startMovie
  2.   Set_CDcounter(1)
  3.   initLesson()
  4.   CheckForTagWd()
  5. end
  6.  
  7. on HideLastStep
  8.   if Get_NEXT() = 2 then
  9.     set the movieRate of sprite 15 to 0
  10.   else
  11.     if Get_NEXT() = 3 then
  12.       set the movieRate of sprite 15 to 0
  13.     else
  14.       if Get_NEXT() = 4 then
  15.         set the movieRate of sprite 15 to 0
  16.       else
  17.         if Get_NEXT() = 5 then
  18.           set the movieRate of sprite 15 to 0
  19.         end if
  20.       end if
  21.     end if
  22.   end if
  23. end
  24.  
  25. on continueQT
  26.   if the castNum of sprite 12 <> 0 then
  27.     if Get_NEXT() = 2 then
  28.       set the movieRate of sprite 15 to 0
  29.       set the movieRate of sprite 15 to 1
  30.     else
  31.       if Get_NEXT() = 3 then
  32.         set the movieRate of sprite 15 to 0
  33.         set the movieRate of sprite 15 to 1
  34.       else
  35.         if Get_NEXT() = 4 then
  36.           set the movieRate of sprite 15 to 0
  37.           set the movieRate of sprite 15 to 1
  38.         else
  39.           if Get_NEXT() = 5 then
  40.             set the movieRate of sprite 15 to 0
  41.             set the movieRate of sprite 15 to 1
  42.           end if
  43.         end if
  44.       end if
  45.     end if
  46.   end if
  47. end
  48.  
  49. on TheinitCursor
  50.   initCursorCastNum()
  51.   initCursorList(1)
  52.   set CursorCastNum to getCursor(2)
  53.   cursor([CursorCastNum, CursorCastNum + 1])
  54. end
  55.  
  56. on checkScreenStatus
  57.   CheckRollOver()
  58.   CheckSnakeStatus()
  59.   go(the frame)
  60. end
  61.  
  62. on BlinkNext
  63.   if (the timer > getTimer()) and not soundBusy(2) then
  64.     startTimer()
  65.     if the name of cast the castNum of sprite get_NEXTSprite() = "NEXT" then
  66.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT_E"
  67.     else
  68.       set the castNum of sprite get_NEXTSprite() to the number of cast "NEXT"
  69.     end if
  70.   end if
  71. end
  72.  
  73. on playTheTSound theTSnd
  74.   PlaySound("NCT11030.s0" & theTSnd)
  75. end
  76.  
  77. on GoNext
  78.   if not get_Disabled() then
  79.     sound stop 1
  80.     sound stop 2
  81.     if Get_NEXT() < 5 then
  82.       set the stageColor to the stageColor
  83.       RestoreHilites()
  84.     end if
  85.     if Get_NEXT() = 4 then
  86.       UpdateCursors(16, 3)
  87.     end if
  88.     if Get_NEXT() = 6 then
  89.       GoNextMovie()
  90.     else
  91.       go("t" & Get_NEXT())
  92.     end if
  93.     Set_NEXT(Get_NEXT() + 1)
  94.   end if
  95. end
  96.  
  97. on GoEndMovie
  98.   global ReturnToMenu
  99.   PlaySound("GOSOUND.SO1")
  100.   SaveSeenScreens()
  101.   if (ReturnToMenu = "SUBJECT") and (Get_ScreenSubject() <> "11") then
  102.     set theNum to integer(Get_ScreenSubject())
  103.     go(1, "NCS" & Get_ScreenSubject() & "010.GEO")
  104.   else
  105.     if ReturnToMenu = "TOOL" then
  106.       go(1, "NC_MM020.GEO")
  107.     else
  108.       if ReturnToMenu = "SECTION" then
  109.         go(1, "NC_MM040.GEO")
  110.       else
  111.         if ReturnToMenu = "MAIN MENU" then
  112.           go(1, "NC_MM010.GEO")
  113.         else
  114.           go(1, "NC_MM010.GEO")
  115.         end if
  116.       end if
  117.     end if
  118.   end if
  119. end
  120.  
  121. on replay
  122.   HideLastStep()
  123.   set the stageColor to the stageColor
  124.   RestoreHilites()
  125.   Set_NEXT(2)
  126.   go("t1")
  127. end
  128.  
  129. on stopMovie
  130.   sound stop 1
  131.   unLoad()
  132.   setEmptyCursor()
  133. end
  134.  
  135. on GoNextMovie
  136.   PlaySound("GOSOUND.SO1")
  137.   SaveHilite()
  138.   Add_CDcounter(1)
  139.   set cdNum to Get_CDcounter()
  140.   set movieName to item cdNum of Get_CurrentSnakeScreens()
  141.   go("INIT" & Get_ScreenSubject(), movieName & ".GEO")
  142. end
  143.