|  | Selection.setFocus and HTML |  | |
| | | budd101 |  |
| Posted: Thu Jul 10, 2008 7:54 am Post subject: Selection.setFocus and HTML |  |
When publishing in HTML I cannot get the focus to set on my input text box.
Using Selection.setFocus in the action script and Transparent Windowless in the Windows Mode in Publish Settings, I am able to get a flashing cursor, but I still must click on the screen to allow for keyboard input.
It works fine when I open it as an swf file, but not when I open it embedded in an HTML file. I have read that this is a problem that must be fixed in HTML, but I have not found the solution. Any suggestions?
Thank you |
| |
| | | rritchey |  |
| Posted: Thu Jul 10, 2008 11:58 am Post subject: Re: Selection.setFocus and HTML |  |
| You need to use javascript to set the window's focus on the flash. |
| |
| | | budd101 |  |
| Posted: Fri Jul 11, 2008 4:02 am Post subject: Re: Selection.setFocus and HTML |  |
Thanks for your help.
For Internet Explorer goto LINK for the solution.
For Firefox it is a lot more complicated. Goto LINK
I haven't tried the solution for Firefox yet |
| |
|
|