home *** CD-ROM | disk | FTP | other *** search
- on keyUp
- global autor, pagina
- set ke to the keyCode
- if (ke = 124) or (ke = 123) then
- if ke = 124 then
- set pagina to pagina + 1
- else
- set pagina to pagina - 1
- end if
- if pagina > 20 then
- set pagina to 1
- end if
- if pagina < 1 then
- set pagina to 20
- end if
- set the castNum of sprite 6 to 200 + ((autor - 1) * 20) + (pagina - 1)
- set the locV of sprite 6 to 232
- set the locH of sprite (9 + pagina) to 16 + ((pagina - 1) * 32)
- set the castNum of sprite 30 to 240 + pagina
- set the locH of sprite 30 to 16 + ((pagina - 1) * 32)
- updateStage()
- end if
- end
-
- on exitFrame
- global teclado, aparece
- set rr to 0
- if (the mouseV < 23) and (aparece = 1) then
- set teclado to 0
- end if
- if (the mouseV < 23) or (teclado = 53) then
- set the locV of sprite 8 to 37
- set the locH of sprite 8 to 320
- updateStage()
- set aparece to 1
- set rr to 2
- end if
- if rr = 0 then
- set aparece to 0
- set teclado to 0
- set the locV of sprite 8 to -30
- set the locH of sprite 8 to -324
- end if
- go(marker(0))
- end
-