home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global currentCD, changeObject, needToEject
- set regionList to []
- append(regionList, getButtonData("okDn", "okAction"))
- append(regionList, getButtonData("cancelDn", "cancelAction"))
- set changeObject to new(script "buttonObject", 5, regionList)
- if voidp(currentCD) then
- set currentCD to 1
- end if
- set needToEject to 1
- if currentCD = 1 then
- go(5)
- else
- go(10)
- end if
- end
-