home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Boot Disc 2
/
boot-disc-1996-10.iso
/
bootcd.dir
/
00281_Script_281
< prev
next >
Wrap
Text File
|
1996-08-09
|
2KB
|
40 lines
on mouseDown
set membername=the name of member the membernum of sprite the clickon
set pos=offset("Text",membername)
delete char pos to length(membername) of membername
SelectDemo membername
global treeobj
set the activebase of treeobj to "Demos"
set the activemid of treeobj to membername
puppetsprite 10,true
set the membernum of sprite 10 to the number of member "justdoit"
if the mouseline<1 then
put "You must click on the name of a game or application to select it." into field "DemoInfo"
set the activeleaf of treeobj to 0
else
repeat with fieldname in ["Gamestext","LeisureText","AppsText"]
set the textstyle of field fieldname to "plain"
end repeat
set the textstyle of line the mouseline of field (the membernum of sprite the clickon) to "bold"
set leaf=line the mouseline of field (the membernum of sprite the clickon)
if the mouseline>0 then
set tv=getobj("TVClass")
stopvideo tv
set the activeleaf of treeobj to leaf
if char 1 of leaf="#" then
set the DosMode of treeobj to true
delete char 1 of leaf
end if
global gStatus
setBtnText gStatus,"default",leaf
put the text of member ("de_"&leaf) into field "DemoInfo"
set the forecolor of member "DemoInfo" to 212
puppetsprite 10,true
set the membernum of sprite 10 to the number of member "justdoithi"
else
put "You need to click on an application." into field "DemoInfo"
end if
end if
updateStage
end