Skip to main content
AshokSuccess
Inspiring
July 8, 2008
Question

focusManager.setFocus

  • July 8, 2008
  • 1 reply
  • 265 views
I have made one loging screen in Flash there I am setting focus for the Email Field first when the page loads.

Following are the lines of code I have used
Selection.setFocus("emailBox");


Now the problem I am facing is it works fine Flash Authoring environment but it does not works in the Browser unless user clicks on the swf object anywhere.



Please help me out and also let me know your comments about the site look and feel.
This topic has been closed for replies.

1 reply

Inspiring
July 8, 2008
Well I don't see your code, but, "Yup, that is how it works."

As far as I know the swf has to get focus fromt he user before you can setFocus on any object.