Bloquear tecla ESC en Director

Hola que tal
Oye necesito que me ayudes por favor a resolver un problemita que nose como hacerle:
como puedo hacerle para bloquear la tecla ESC y darle otra funcion, si me puedes explicar te lo agradecere mucho

1 respuesta

Respuesta
1
Crea un movieScript(no behavior script) y copia el siguiente codigo en él:
On prepareMovie me
the exitLock = TRUE
the keyDownScript = "checkExit()"
end
on checkExit me
if (((the commandDown or the controlDown) and (the key = "." or the key = "q" or the key = "c")) or charToNum(the key) = 27) and the exitLock = TRUE then go to "Credit"
end
Para este ejemplo, debe haber un marker llamado "Credit", a partir de ese frame puedes poner la animacion o el tiempo de espera.

Añade tu respuesta

Haz clic para o

Más respuestas relacionadas