Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / General Flash Topics / July 2008



Tip: Looking for answers? Try searching our database.

Selection.setFocus and HTML

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
budd101 - 10 Jul 2008 08:54 GMT
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 - 10 Jul 2008 12:58 GMT
You need to use javascript to set the window's focus on the flash.
budd101 - 11 Jul 2008 05:02 GMT
Thanks for your help.  

For Internet Explorer goto
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_15586 for the
solution.

For Firefox it is a lot more complicated.  Goto
http://wwwx.cs.unc.edu/~gb/wp/blog/2007/06/08/fixing-firefox-flash-foolishness/

I haven't tried the solution for Firefox yet
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.