-
Learning Flash ! <Continue>
Control the tab order and reading order 25
If you have Flash MX Professional 2004,follow this procedure to view a tab order:
•Select View >Show Tab Order.
The tab index number that you entered appears next to the instance on the Stage.
Note:A tab order created with ActionScript,rather than the Accessibility panel,does not appear
when Show Tab Order is enabled.
Follow this procedure to control the tab order and reading order using ActionScript:
1 In the Timeline,select Frame 1 of the Actions layer.
2 In the Actions panel (Window >Development Panels >Actions),view the ActionScript that
creates the tab index for each instance in the document.
3 If you ’re using Flash MX 2004,or if you ’re using Flash MX Professional 2004 and you did not
create the tab index using the Accessibility panel,delete the /*and */in the script to un-
comment the script:
_root.logo_mc.tabIndex =1;
_root.dealers_btn.tabIndex =2;
_root.orders_btn.tabIndex =3;
_root.research_btn.tabIndex =4;
_root.text4_txt.tabIndex =5;
_root.overview_btn.tabIndex =6;
_root.powerplant_btn.tabIndex =7;
_root.news_btn.tabIndex =8;
_root.safety_mc.tabIndex =9;
_root.text8_txt.tabIndex =10;
_root.text9_txt.tabIndex =11;
_root.bevel_mc.tabIndex =12;
overview_btn 6
powerplant_btn 7
news_btn 8
safety_mc 9
text8_txt 10
text9_txt 11
bevel_mc 12
Instance name Enter the following number in the Tab Index text box
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks