home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 December / WPCDEC97.ISO / DXRS / GROWDEC.DXR / 00014_groanimatesection.ls < prev    next >
Encoding:
Text File  |  1997-10-14  |  1.5 KB  |  51 lines

  1. on groANIMATESection
  2.   if the castNum of sprite 10 <> "93" then
  3.     set the castNum of sprite 4 to 19
  4.   end if
  5.   if the castNum of sprite 10 <> "94" then
  6.     set the castNum of sprite 5 to 20
  7.   end if
  8.   if the castNum of sprite 10 <> "95" then
  9.     set the castNum of sprite 6 to 21
  10.   end if
  11.   set the castNum of sprite 27 to 99
  12.   set the castNum of sprite 28 to 98
  13.   if the mouseUp then
  14.     case the rollOver of
  15.       "4":
  16.         if the castNum of sprite 10 <> "93" then
  17.           set the castNum of sprite 4 to 47
  18.         end if
  19.       "5":
  20.         if the castNum of sprite 10 <> "94" then
  21.           set the castNum of sprite 5 to 48
  22.         end if
  23.       "6":
  24.         if the castNum of sprite 10 <> "95" then
  25.           set the castNum of sprite 6 to 49
  26.         end if
  27.       "27":
  28.         set the castNum of sprite 27 to 101
  29.       "28":
  30.         set the castNum of sprite 28 to 100
  31.     end case
  32.   end if
  33.   if the castNum of sprite 10 <> "0" then
  34.     if the type of member the member of sprite 10 = #digitalVideo then
  35.       case the castNum of sprite 10 of
  36.         "93":
  37.           set the castNum of sprite 21 to the number of member "nameone"
  38.           set the loc of sprite 21 to point(43, 402)
  39.         "94":
  40.           set the castNum of sprite 21 to the number of member "nameone"
  41.           set the loc of sprite 21 to point(43, 402)
  42.           updateStage()
  43.         "95":
  44.           set the castNum of sprite 21 to the number of member "nameone"
  45.           set the loc of sprite 21 to point(43, 402)
  46.           updateStage()
  47.       end case
  48.     end if
  49.   end if
  50. end
  51.