Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

Adobe Flash CS5.5 and AS3 – Setting Tab Index and showing Tab Order

When you first drag controls onto the stage, the tab index is not set that you can see them in the IDE, but the tab order is set nevertheless in the order that the controls were placed onto to the stage. 
To see what I mean, drag a button onto the far left of the stage. Drag another button in the middle of the stage. Drag another button in-between the two buttons already on the screen. Lastly, drag a button to the far right of the stage. Run the program and keep hitting the tab key. Notice that the tab order is Button 1, Button 3, Button 2, then Button 4.

To see that the tab index is not set visually in the IDE, on the menu bar, click View, then click Show Tab Order. Notice that nothing has changed visually in the IDE. No sequence number appears at the top left corner of the controls.

Let’s look to see if they are set visually another way. On the menu bar, click Windows, then Other Panels, then Accessibility. With this window up, click the buttons on the stage one at a time. Notice there is nothing in the Tab Index TextField at the bottom of the Accessibility window. Again, there is no evidence in the IDE that the tab index is set. Somewhere in the *.FLA that are set internally, but the tab index is not transferred by default in the Show Tab order view or via the Accessibility window.

With that said, how do we change the tab index to put the controls in the proper tab order. Again, click each control one at a time, but before clicking the next control, enter a number, beginning with 1, in the Tab Index TextField at the bottom of the Accessibility window. When done, go back and click each control again and notice that the Tab Index TextField visually shows and maintains the Tab Index of the controls.

Now, even though the Show Tab Order option is checked under the menu bar, View, you will not be able to see the TabIndex at the top left corner of the control until you click the Tab Order, OFF then ON again. For some reason, every time the tab index order is changed, you must click, OFF, then ON the Tab Order selection on the View menu to see the changed results.


Leave a Reply