home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 1997 September / Personal_Computer_World_Sep_97.iso / DXRS / HANPCW09.Dxr / 00004_HANChoosePages.ls < prev    next >
Encoding:
Text File  |  1997-06-25  |  941 b   |  30 lines

  1. on HANChoosePages
  2.   global HANIconSprite, HANSoftWareSelected, HANTextSprite, HANFindAcrobat, HANAcroAlOption
  3.   if the mouseCast = the memberNum of sprite HANIconSprite then
  4.     set the member of sprite HANIconSprite to member "HANICONTWO"
  5.     set the hilite of member "HANTEXT" to 0
  6.     set HANSoftWareSelected to 0
  7.     updateStage()
  8.     repeat while (the mouseCast = the memberNum of sprite HANIconSprite) and not rollOver(HANTextSprite)
  9.       if the mouseDown then
  10.         set the member of sprite HANIconSprite to member "HANICONTHREE"
  11.         updateStage()
  12.         repeat while the mouseDown
  13.         end repeat
  14.         set HANFindAcrobat to 1
  15.         exit repeat
  16.       end if
  17.     end repeat
  18.     if HANFindAcrobat = 0 then
  19.       set the member of sprite HANIconSprite to member "HANICONONE"
  20.       updateStage()
  21.     end if
  22.   end if
  23.   case HANFindAcrobat of
  24.     1:
  25.       HANLaunchACRO()
  26.       set HANFindAcrobat to 0
  27.     0:
  28.   end case
  29. end
  30.