| | | xplatform |  |
| Posted: Tue Jun 24, 2008 3:24 pm Post subject: Selection.setFocus tabbing problem |  |
| |  | |
Hi ,
I have a bunch of movieclips, each has a single input text box inside it and I use the Selection.setFocus as follows, see code below
This works fine when I test it inside flash, however when I test the tabbing in the html page inside my browser both firefox and safari the cursor is placed in the correct input box, however hitting the tab key does not change the selection at all, the cursor remains inside the first input text and does not shift at all?
I am a bit stumped why this works inside flash but not inside the browser,
thanks in advance :)
revolutionary_mc.my_text.tabIndex = 1; simultaneously_mc.my_text.tabIndex = 2; converse_mc.my_text.tabIndex = 3; conversational_mc.my_text.tabIndex = 4; phenomenal_mc.my_text.tabIndex = 5; phenomenally_mc.my_text.tabIndex = 6; dynamic_mc.my_text.tabIndex = 7; dynamically_mc.my_text.tabIndex = 8; speciality_mc.my_text.tabIndex = 9; specialise_mc.my_text.tabIndex = 10; specially_mc.my_text.tabIndex = 11; tradition_mc.my_text.tabIndex = 12; traditionally_mc.my_text.tabIndex = 13; Selection.setFocus(revolutionary_mc.my_text); |
|