home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 November / WPCNOV96.ISO / grownov.dxr / 00014_groanimatesection.ls < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.5 KB  |  52 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.   if the castNum of sprite 10 <> "0" then
  35.     if the type of member the member of sprite 10 = #digitalVideo then
  36.       case the castNum of sprite 10 of
  37.         "93":
  38.           set the castNum of sprite 21 to the number of member "nameone"
  39.           set the loc of sprite 21 to point(43, 402)
  40.         "94":
  41.           set the castNum of sprite 21 to the number of member "nameone"
  42.           set the loc of sprite 21 to point(43, 402)
  43.           updateStage()
  44.         "95":
  45.           set the castNum of sprite 21 to the number of member "nameone"
  46.           set the loc of sprite 21 to point(43, 402)
  47.           updateStage()
  48.       end case
  49.     end if
  50.   end if
  51. end
  52.