Skip to main content
Known Participant
July 20, 2007
Question

Setting focus on component on startup

  • July 20, 2007
  • 3 replies
  • 203 views
Hey, the first "page" of my flash movie is a login page, and I want the movie to automatically put the input on the "username" input box. I tried using "focusManager.setFocus(myInput)" and "myInput.setFocus". Both of these allowed the user to input text to the inputs, but you can't delete. Also, the blinking line does not appear in the input box to indicate that it has focus. Is there another way to do this?
This topic has been closed for replies.

3 replies

Known Participant
July 20, 2007
haha, so you are correct. I uploaded it to my server and it worked just fine. How strange. Thanks
Participating Frequently
July 20, 2007
Are you testing this thru flash; test movie? Because it won't work there but will when you publish it or just run the swf file. I had the same issue with a flash project I made until I tested it as above. check comments on bottom page:
http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00002659.html
Known Participant
July 20, 2007
anyone?