home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 February / WPCFEB97.ISO / dxrs / artwfeb.dxr / 00500.ls < prev    next >
Encoding:
Text File  |  1996-12-05  |  1.0 KB  |  39 lines

  1. on exitFrame
  2.   global ARTImageGO, ARTWhichImageName, DriveLtr
  3.   go(the frame)
  4.   set the locH of sprite 48 to 2000
  5.   if the mouseUp and (ARTImageGO = 0) then
  6.     set ARTImageGO to 1
  7.   end if
  8.   if the mouseDown and (ARTImageGO = 1) then
  9.     set ARTImageGO to 2
  10.   end if
  11.   if the mouseDown and (ARTImageGO = 2) and not rollOver(3) then
  12.     repeat with t = 2 to 3
  13.       puppetSprite(t, 1)
  14.       set the locH of sprite t to 1500
  15.     end repeat
  16.     updateStage()
  17.     set x to the frame
  18.     go(x + 1)
  19.   end if
  20.   if rollOver(3) and (ARTImageGO = 1) then
  21.     puppetSprite(3, 1)
  22.     set the castNum of sprite 3 to the castNum of sprite 3 + 1
  23.     updateStage()
  24.     repeat while rollOver(3)
  25.       if the mouseDown then
  26.         set a to DriveLtr & "IMAGES\" & ARTWhichImageName
  27.         set b to the pathName & "COPY.EXE"
  28.         open(a, b)
  29.         put "a", a
  30.         put "b", b
  31.         set ARTImageGO to 0
  32.         exit repeat
  33.       end if
  34.     end repeat
  35.     set the castNum of sprite 3 to the castNum of sprite 3 - 1
  36.     updateStage()
  37.   end if
  38. end
  39.