Flash Gallery | Flash Templates | Flash Menu | Flash Design | Flash Audio & Video

flash page flip

Actionscript 3.0 video tutorials

+ Reply to Thread
Results 1 to 2 of 2

Thread: Set focus to TextField

  1. #1
    Junior Member Settled In venkatesh is on a distinguished road
    Join Date
    Jun 2008
    Posts
    1
    Rep Power
    0

    Set focus to TextField

    amazing Flash templates
    Hi Flep,
    I have an issue with the stage.focus !

    Actually, I am developing a site with flex 3 and java ROs. And I have login page, when the page loads Iam trying to set the focus to the username textfield.

    txtUserName.setFocus();

    but this does not put the cursor in the txtUserName.

    I read in some forums to use stage.focus = txtUserName.

    and it does not work ! can you please help

    Thanks
    -Venky

    Quote Originally Posted by Flep View Post
    Set focus to TextField
    Let's say we have 2 TextFields: one_txt and two_txt.

    If you want to give focus at one_txt:

    Code:
    stage.focus=one_txt;

  2. #2

+ Reply to Thread

Similar Threads

  1. Focus events
    By xFlashStudentx in forum advanced Actionscript 3.0
    Replies: 0
    Last Post: 26-10-09, 02:58
  2. Problema Tab e Focus
    By Everett in forum Actionscript 3.0 base
    Replies: 1
    Last Post: 27-04-09, 16:10
  3. problema con testo di input ed i vari focus - actionscript 2
    By ubaldello in forum Actionscript 3.0 avanzato
    Replies: 3
    Last Post: 17-02-09, 20:18
  4. Focus su testo di input
    By CrowSix in forum Flash Italiano
    Replies: 1
    Last Post: 04-06-08, 07:54
  5. TAB ordine e focus su componenti sullo stage
    By rtrimarchi in forum Actionscript 3.0 base
    Replies: 5
    Last Post: 23-11-07, 18:28

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Optimization by vBSEO