| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Jan 2001
Location: Manchester UK
Posts: 4
|
I've got a series of form fields in a flash movie (Not the initial movie that is loaded into the page!) that I wish to be able to tab through. I works perfectly as a stand alone player.
However, when I embed it into html, even if I click in the field I want to use, I cannot tab out of it properly because it tabs to the browser address bar. Also when I tab from there, I get buttons and text fields highlighted in a seemingly illogical, though repeatable (Therefore not at random!) manner. Obviously I want to be able to tab through the text fields in a controlled and ordered manner, just like it does as a standalone player. You can see the whole item at http://www.alwaysoncue.com/groundzero if it is any help. FYI There is an initial intro movie that loads, which is then replaced by the movie with the forms in it.Has anyone got any ideas, because I've had enough of trying to figure it out myself. This is also posted on were-here.com forums |
|
|
|
|
|
#2 |
|
Member
Join Date: Feb 2001
Posts: 73
|
Have you ever found an answer to this question. I seem to be having the same problem.
Thanks. |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2001
Location: eastcoast
Posts: 42
|
thats a known issue with flash. MM offers some type of algorhythm to fix the problem but i've never heard that it works 100%.
|
|
|
|
|
|
#4 |
|
Registered User
Join Date: Jan 2001
Location: Manchester UK
Posts: 4
|
I ended up using the keyboard based arrow keys!! Not perfect, but at least it works!!!
|
|
|
|
|
|
#5 |
|
Member
Join Date: Feb 2001
Posts: 73
|
Found this yesterday.
Basically make a new button (I just made a small dot the same color as the background), put it in your movie and apply the following actions to it... on (keyPress "<Tab>") { if (Selection.getFocus() == "_level30.Sign_Name") { Selection.setFocus("_level30.Sign_Street"); } else if (Selection.getFocus() == "_level30.Sign_Street") { Selection.setFocus("_level30.Sign_City"); } else if (Selection.getFocus() == "_level30.Sign_City") { Selection.setFocus("_level30.Sign_State"); } else if (Selection.getFocus() == "_level30.Sign_State") { Selection.setFocus("_level30.Sign_Zip"); } else if (Selection.getFocus() == "_level30.Sign_Zip") { Selection.setFocus("_level30.Sign_Phone"); } else if (Selection.getFocus() == "_level30.Sign_Phone") { Selection.setFocus("_level30.Sign_Email"); } else if (Selection.getFocus() == "_level30.Sign_Email") { Selection.setFocus("_level30.Sign_URL"); } else if (Selection.getFocus() == "_level30.Sign_URL") { Selection.setFocus("_level30.Sign_Comments"); } else if (Selection.getFocus() == "_level30.Sign_Comments") { Selection.setFocus("_level30.Sign_Name"); } } What it's doing is searching to see what field the cursor is in, then when you hit the TAB key it will go to the next field. Only thing you should need to change is your variable names. Hope this helps. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| loading images into dynamic text boxes | mprovojr | ActionScript 2.0 | 5 | 10-09-2007 07:10 PM |
| tabs inside a text field! | falltimemusic | ActionScript 2.0 | 19 | 02-28-2006 09:04 AM |
| set focus on text field | womblies | ActionScript 2.0 | 0 | 11-08-2004 11:12 AM |
| Setting focus on form field when page first loads | john89 | ActionScript 1.0 (and below) | 5 | 05-19-2001 07:13 AM |
| Set form field focus | john89 | ActionScript 1.0 (and below) | 3 | 05-15-2001 01:23 PM |