A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: tab order on level2 or higher

  1. #1
    FK M.D. pheck's Avatar
    Join Date
    Jul 2001
    Location
    MN
    Posts
    807
    Hi,

    do any of you know how to get the tab order to work for movies (swfs) loaded into a main swf? I am targeting empty MCs to load in these swf's. As it stands now, the tab order is correct, but you have to hit tab twice to get to the next textbox. Also, it won't go to the last tab stop (the submit button). I've tried the tabIndex feature using relative and full paths (i.e.-submit.tabIndex= vs _root.movies.submit.tabIndex=) ---forgive me if my syntax is a little off here....can't remember the exact code now, but you get the idea, but still have this problem. you can see what i mean on my DM site. thanks in advance.

    oh, btw, i had it working fine before when i had the loaded in swf's playing stand alone (i.e.-not loaded into the main swf).
    [Edited by pheck on 05-03-2002 at 03:49 PM]

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Choice of 2!

    Look up this tutorial that should also work in MX, or post a link to your .fla!

    http://www.flashkit.com/tutorials/In...69/index.shtml

  3. #3
    FK M.D. pheck's Avatar
    Join Date
    Jul 2001
    Location
    MN
    Posts
    807
    thanks oldnewbie for replying.

    i tried the method pointed out in that tut (creating a non functioning button to control tabbing), but it didn't work. when tab is hit from one text box, nothing is selected next. as opposed to the problem now where you hit tab twice and then the next field is selected. here's my code:

    Code:
    name1.tabIndex = 1;
    email1.tabIndex = 2;
    company1.tabIndex = 3;
    hear1.tabIndex = 4;
    comments1.tabIndex = 5;
    submit1.tabIndex = 6;
    it is relative pathway hierarchy, but even when i go _root.movies.contactUs.EnterData.name1.tabIndex = 1; it still doesn't work. any thoughts?

  4. #4
    Actkid
    Join Date
    Feb 2001
    Location
    Surat
    Posts
    764

    Post Hi pheck

    try it this way

    Code:
    name1.tabIndex = 0;
    email1.tabIndex = 1;
    company1.tabIndex = 2;
    hear1.tabIndex = 3;
    comments1.tabIndex = 4;
    submit1.tabIndex = 5;
    This is working i tried.


  5. #5
    FK M.D. pheck's Avatar
    Join Date
    Jul 2001
    Location
    MN
    Posts
    807
    rock,

    thanks for dropping in.

    tried your idea and same result as with what i have now. thanks tho.

  6. #6
    FK M.D. pheck's Avatar
    Join Date
    Jul 2001
    Location
    MN
    Posts
    807

    *fixed*

    case closed...

    the problem was that i was asking both loaded in swf's to have the same tab order. that is, there were two textboxes on _root then with index=0, two with index=1, etc. thanks for all your time in looking this over!

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