home *** CD-ROM | disk | FTP | other *** search
/ Boot Disc 1 / boot-disc-1996-08.iso / bootcd.dir / 00499_Script_499 < prev    next >
Text File  |  1996-07-02  |  1KB  |  20 lines

  1. on mouseUp
  2.   global gDemosCategory,gDemosExecutable
  3.   --Note that mouseLine only works on fields now, NOT text members
  4.   --This handler assumes that for every line in this field,
  5.   --there is a corresponding path and executable name on the SAME LINE
  6.   --of the corresponding DemosCategory lookuptable field.
  7.   --The name of the DemosCategory lookuptable field is generated
  8.   --with the formula: "Demos" && gDemosCategory && "Executables"
  9.   
  10.   set executableLine = (the mouseLine)
  11.   put "executableLine = " && executableLine
  12.   --Hilite the selected line in this field and hilite the launch button
  13.   hilite line executableLine of member (the mouseCast)
  14.   set the memberNum of sprite 6 = the number of member "Demos Go There Button"
  15.   updateStage
  16.   set executableMenu = "Demos" && gDemosCategory && "Executables"
  17.   set gDemosExecutable = the pathname & line executableLine of ¼
  18.     (the text of member executableMenu)
  19.   --The programs are actually executed by clicking the "Go There" button
  20. end