capture flash key event "escape"

Posted by P.. on Stack Overflow See other posts from Stack Overflow or by P..
Published on 2010-04-28T03:42:49Z Indexed on 2010/04/28 4:03 UTC
Read the original article Hit count: 442

Filed under:
|
|
|

I have a flash site that users can view full Screen video. the trouble is, I am making only the video player full screen (hiding the rest of the site behind it).

my "toggle full screen" button works in that it reduces the video player back to normal size when the user toggles out of full screen back.

but when the user hits the escape key, my flash script doesn't know that the video player should be reduced in size.

it seems there's no way to capture the ESCAPE key as a key event. any ideas?

© Stack Overflow or respective owner

Related posts about flash

Related posts about fullscreen