A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: button tab order (?)

  1. #1
    Senior Member Pporksoda's Avatar
    Join Date
    Jul 2000
    Location
    baltimore
    Posts
    174
    how do you define the tab order of input fields and/or buttons in a movie? is there a way to script it, or is based on a hierarchy of position and layering?

  2. #2
    HELP>>>ACTIONSCRIPT DICTIONARY
    Join Date
    Feb 2000
    Location
    In the Present Moment
    Posts
    1,041
    myButton.tabIndex = someNumber;
    myTextField.tabIndex = someNumber;
    myMovieClip.tabIndex = someNumber;

    So, if -

    myButton.tabIndex = 1;
    myOtherButton.tabIndex = 2;
    antibodyButton.tabIndex = 3;

    then when you hit tab, myButton, having a tabIndex of 1, is um first, ;p , and each subsequent tap of the tab key will cycle through the rest.

    Good Luck!

    /me looks around for my Tab soda, "I know it is here somewhere".

  3. #3
    Senior Member Pporksoda's Avatar
    Join Date
    Jul 2000
    Location
    baltimore
    Posts
    174
    freekin shweet. thanks man.

  4. #4
    HELP>>>ACTIONSCRIPT DICTIONARY
    Join Date
    Feb 2000
    Location
    In the Present Moment
    Posts
    1,041
    Glad to be of service.

    /me shivers at what on earth a pork soda may be.
    "I'm stickin' to good ole Mountain Dew, thanks all the same." ;p

    cul8r

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