home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- cursor(-1)
- sound stop 3
- set the hilite of cast "Degrees" to 1
- set the hilite of cast "Radians" to 0
- set the keyDownScript to "printPass"
- set the keyUpScript to "numsOnly"
- end
-
- on initializeCircle
- set the cursor of sprite 6 to [321, 322]
- puppetSprite(5, 1)
- puppetSprite(6, 1)
- puppetSprite(19, 1)
- set the trails of sprite 19 to 1
- set the foreColor of sprite 19 to 6
- put "1.1" into field "theta"
- end
-
- on deInitializeCircle
- set the cursor of sprite 6 to 0
- puppetSprite(5, 0)
- puppetSprite(6, 0)
- puppetSprite(19, 0)
- set the trails of sprite 19 to 0
- end
-
- on numsOnly
- if ((the key < "0") or (the key > "9")) and (the key <> "-") and (the key <> ".") and (the key <> numToChar(9)) and (the key <> numToChar(8)) then
- dontPassEvent()
- end if
- end
-