Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Setting a textfiled focus when movie is loaded?

    Hello Everyone,

    I would like to be able to set focus on a text field when movie is loaded. So lets say if I have two fields:

    First Name
    Last Name

    I would like FirstName_txt to get the focus when movie is loaded so user just can type without having to mouse click first. I have tried setFocus() method but not getting anywhere. Any suggestion, how can I go about get this functionality going?

    Thanks a lot.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Well ok, first you would have to make sure the focus is set to the flash window, and then set the flash window focus to the text field.

    http://www.artifactinteractive.com.au/dev/focus.html
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •