home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 August / WPCAUG96.ISO / growaug.dxr / 00070_groanimatesection.ls < prev    next >
Encoding:
Text File  |  1996-06-17  |  1.9 KB  |  67 lines

  1. on groanimatesection
  2.   global playvid
  3.   if the castNum of sprite 10 <> "93" then
  4.     set the castNum of sprite 4 to 19
  5.   end if
  6.   if the castNum of sprite 10 <> "94" then
  7.     set the castNum of sprite 5 to 20
  8.   end if
  9.   if the castNum of sprite 10 <> "95" then
  10.     set the castNum of sprite 6 to 21
  11.   end if
  12.   set the castNum of sprite 27 to 99
  13.   set the castNum of sprite 28 to 98
  14.   if the mouseUp then
  15.     case the rollOver of
  16.       "4":
  17.         if the castNum of sprite 10 <> "93" then
  18.           set the castNum of sprite 4 to 47
  19.         end if
  20.       "5":
  21.         if the castNum of sprite 10 <> "94" then
  22.           set the castNum of sprite 5 to 48
  23.         end if
  24.       "6":
  25.         if the castNum of sprite 10 <> "95" then
  26.           set the castNum of sprite 6 to 49
  27.         end if
  28.       "27":
  29.         set the castNum of sprite 27 to 101
  30.       "28":
  31.         set the castNum of sprite 28 to 100
  32.     end case
  33.   end if
  34.   case the clickOn of
  35.     "4":
  36.       puppetSound(0)
  37.       set the castNum of sprite 10 to 93
  38.       set the castNum of sprite 4 to 51
  39.       updateStage()
  40.       if the movieTime of sprite 10 < the duration of cast 93 then
  41.         set the movieRate of sprite 10 to 1
  42.       end if
  43.     "5":
  44.       puppetSound(0)
  45.       set the castNum of sprite 10 to 94
  46.       set the castNum of sprite 5 to 52
  47.       updateStage()
  48.       if the movieTime of sprite 10 < the duration of cast 94 then
  49.         set the movieRate of sprite 10 to 1
  50.       end if
  51.     "6":
  52.       puppetSound(0)
  53.       set the castNum of sprite 10 to 95
  54.       set the castNum of sprite 6 to 53
  55.       updateStage()
  56.       if the movieRate of sprite 10 < the duration of cast 94 then
  57.         set the movieRate of sprite 10 to 1
  58.       end if
  59.     "27":
  60.       if the castNum of sprite 10 <> "0" then
  61.         if the type of member the member of sprite 10 = #digitalVideo then
  62.           set the movieRate of sprite 10 to 0
  63.         end if
  64.       end if
  65.   end case
  66. end
  67.