home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Meet MediaBand
/
meetmediaband.bin
/
archives
/
content
/
techno.dxr
/
00002_Field_2.txt
< prev
next >
Wrap
Text File
|
1995-08-30
|
1KB
|
41 lines
macro MakePopCT
global PopCT
-- dispose of any previous instances, if any
if objectP( PopCT ) then PopCT( mDispose )
set menuList = the text of cast A61
-- Be sure to set parameter itemNum for PopNum or PopText to zero.
set PopCT = PopMenu(mNew, menuList, 202)
PopCT(mSetItemMark,0)
if not objectP( PopCT ) then
alert "PopMenu Object not made: " & string( PopCT )
end if
macro CTMenu -- a pop up menu returning item number
global PopCT, CTChapter, selection
-- PopMenu uses screen cošrdinates, which must be changed
-- to window cošrdinates with the StageLeft & stageTop functions
set sH = the mouseH
set sV = the mouseV
puppetsound "buttonclick"
updatestage
set result = PopCT(mPopNum, sH, sV, 0)
puppetsound 0
if string( result ) = "0" then
exit
else
if result=1 then exit
if result=2 then exit
popquit
if result=3 then set CTchapter = "A - MARC"
if result=4 then set CTchapter = "B - CT"
if result=5 then set CTchapter = "C - TODD"
if result=6 then set CTchapter = "D - JOHN"
play movie CTchapter
end if