dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Text field set focus problem!!!! download.

  1. #1
    Senior Member Wancieho's Avatar
    Join Date
    May 2002
    Posts
    370
    This is driving me totally insane. I have done this before but cannot replicate it! Check this file out to see what I mean:
    http://www.3dart.co.za/cgtalk/ahhhh.fla

    I have placed this on frame 10 of the mc "holding" the textfield:
    Code:
    Selection.setFocus("name");
    What's the problem I don't see one!? Any help please cause i'm gonna start crying

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    So what is the problem?

  3. #3
    Senior Member Wancieho's Avatar
    Join Date
    May 2002
    Posts
    370
    Maybe I got a little carried away. Basically the "blinking cursor" does not appear in the text field that I have told to have "focus".

  4. #4
    Senior Member
    Join Date
    Jul 2002
    Posts
    153
    Wan, I downloaded your fla and everything seems to work fine. When I hit the button your movieclip plays, goes to the text field, and has focus.

    Unless you are trying to get something else to happen?

    -John

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    That's what I ment!

  6. #6
    Senior Member Wancieho's Avatar
    Join Date
    May 2002
    Posts
    370
    Okay I see what one of the problems is. If you run this file in MX it doesn't set focus? If you run the swf file it works? What the heck?

    Secondly check this page out:
    http://www.mayhem.co.za
    Go to "your details". It won't set focus to the name text field? can't figure it out. The code is identical to the ahhhh.fla Also when you click submit, if you haven't specified an email it should set focus to the email text field, that don't work either!!!!!!!!!!!

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