-
Hello,
I have a form and want the first text entry field to be in focus when the flash movie loads. ie, when the user starts to type in, the cursor is already in the first box.
Thanks.....Rob
-
Senior Member
Hi,
This should do it
Selection.setFocus("_root.myVar");
_root.mVar being the variable of the particular text box
-
Tried it, doesn't work for me...
Yup, I have the same problem. Selection.setFocus sort of works, but not really. The cursor comes up in the right text field, but when you start typing, nothing happens. You still have to click on the field before you can successfully type anything. Arg! Any ideas on why this is? Thanks...
-
try adding in a Selection.setSelection(0, 0);
other than that, setFocus works fine for me.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|