home *** CD-ROM | disk | FTP | other *** search
- global gsel, currentscope
-
- on keyDown
- if not voidp(gsel) then
- ass = the keyPressed
- if "abcdefghijklmnopqrstuvwxyz" contains ass then
- if not voidp(gsel) then
- puppetSound(4, "typeletter")
- if not voidp(the keyPressed) then
- gsel.member = member(the keyPressed)
- gsel.init()
- gsel.proceed()
- end if
- end if
- else
- if keyPressed(BACKSPACE) then
- if currentscope = #across then
- gsel.moveit(#left)
- else
- gsel.moveit(#up)
- end if
- else
- if keyCode() = 127 then
- gsel.member = member("tile1")
- gsel.init()
- else
- if keyCode() = 123 then
- if currentscope = #across then
- gsel.moveit(#left)
- else
- gsel.moveit(#up)
- end if
- else
- if keyCode() = 124 then
- if currentscope = #across then
- gsel.moveit(#right)
- else
- gsel.moveit(#ldo)
- end if
- else
- if keyCode() = 126 then
- if currentscope = #down then
- gsel.moveit(#up)
- else
- gsel.moveit(#left)
- end if
- else
- if keyCode() = 125 then
- if currentscope = #down then
- gsel.moveit(#ldo)
- else
- gsel.moveit(#right)
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end if
- end
-