home *** CD-ROM | disk | FTP | other *** search
- global gPrefSettings
-
- on startMovie
- set the randomSeed to the ticks
- readPrefs()
- readExternalParams()
- if not voidp(getaProp(gPrefSettings, "bandwidth")) then
- set bandOp to string(getaProp(gPrefSettings, "bandwidth"))
- else
- set bandOp to "0"
- end if
- radio(bandOp & "-band")
- end
-
- on stopMovie
- writePrefs()
- end
-
- on idle
- global gBitTestFlag
- if gBitTestFlag = 1 then
- checkBitstream()
- end if
- end
-
- on debug arg, theField
- if voidp(theField) then
- set theField to "debugger"
- end if
- set the text of field theField to arg
- set the textSize of field theField to 9
- end
-