A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Setting an input text as selected

  1. #1
    shamanic coder
    Join Date
    Jun 2002
    Location
    johnstown, pa, usa
    Posts
    87

    Setting an input text as selected

    Hey all- Does anyone know how to have an input box load as selected, I mean where when the page comes up the cursor is blinking in the first input box, ready to type? Any help would be greatly appreciated.

    thanks
    cognizen

  2. #2
    Senior Member
    Join Date
    Mar 2003
    Location
    Maryland
    Posts
    378
    set.focus or something like that.

    This question was answered in the action scripting form like 1 page back, and you posted this same question in this form AND in AS.

    Tisk Tisk.....

  3. #3
    Moderator enpstudios's Avatar
    Join Date
    Jun 2001
    Location
    Tampa, Fl.
    Posts
    11,282
    From MM:

    http://www.macromedia.com/support/fl.../set_focus.htm


    Code:
    Selection.setFocus("yourTextField");

  4. #4
    shamanic coder
    Join Date
    Jun 2002
    Location
    johnstown, pa, usa
    Posts
    87
    my aplogies for the double post, but I wasn't sure if this was a property setting or an action script thing, so I posted in both places. Thank you for your assistance though.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center