I´m trying to catch KEY_UP event if I press ENTER, without clicking on stage.
I´ve already disabled keyboard shorcuts for flash player, and added stage.focus = stage.
It only works if I click on stage.
It seems that for the other keys the KEY_UP works.
Works for projector files, no need to click on stage.
How do I set flash focus for Chrome?
I know that for IE is document.getElementById("movieID").focus();
What is needed to set flash focus on Chrome?
To the <BODY> tag, add an onLoad handler that gives focus to the Flash movie, as shown below: <body onLoad="window.document.movieID.focus();"> Make sure that movieID in the onLoad handler matches the name given to the OBJECT tag used to embed the Flash movie, as shown below. <object classid="..." codebase="...." width=550 height=400 name="movieID"> You can give any name to the OBJECT tag as long as it doesn't contain any spaces or other special characters.
Yes, but that is used for Internet Explorer.
That doesn´t work on Chrome, and I think for Firefox too.
What is used for Chrome?
I´ve tried to use ExternalInterface and LoaderInfo in addition to some js.
It only gives flash focus I think, doesn´t seems to give keyboard focus.
I have an input text field on my swf.
The cursor blinks inside the text input, but I can´t write (type) anything inside the input text.