home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 1
/
boot-disc-1996-08.iso
/
bootcd.dir
/
00499_Script_499
< prev
next >
Wrap
Text File
|
1996-07-02
|
1KB
|
20 lines
on mouseUp
global gDemosCategory,gDemosExecutable
--Note that mouseLine only works on fields now, NOT text members
--This handler assumes that for every line in this field,
--there is a corresponding path and executable name on the SAME LINE
--of the corresponding DemosCategory lookuptable field.
--The name of the DemosCategory lookuptable field is generated
--with the formula: "Demos" && gDemosCategory && "Executables"
set executableLine = (the mouseLine)
put "executableLine = " && executableLine
--Hilite the selected line in this field and hilite the launch button
hilite line executableLine of member (the mouseCast)
set the memberNum of sprite 6 = the number of member "Demos Go There Button"
updateStage
set executableMenu = "Demos" && gDemosCategory && "Executables"
set gDemosExecutable = the pathname & line executableLine of ¼
(the text of member executableMenu)
--The programs are actually executed by clicking the "Go There" button
end