Solved

tabIndex Help

Posted on 2006-06-16
4
690 Views
Last Modified: 2008-03-06
hi

how do i apply the tabIndex action script to a combobox component

i have my text boxes

name.tabIndex = 1;
tel.tabIndex = 2;      
email.tabIndex = 3;
enquiry.tabIndex = 4;
?
?
?
where.tabIndex = 8;

but i have 3 combo boxes (week,day and phone)

that i want to make 5,6,7 respectivly

what is the required actionscript for this


thanks
0
Comment
Question by:socross
  • 2
  • 2
4 Comments
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 400 total points
ID: 16926238
it will work same way:

name.tabIndex = 1;
tel.tabIndex = 2;    
email.tabIndex = 3;
enquiry.tabIndex = 4;
combo1.tabIndex = 5;
combo2.tabIndex = 6;
combo3.tabIndex = 7;
where.tabIndex = 8;


by the way, you can start tablIndex from 0

Rgds
Aneesh
0
 
LVL 1

Author Comment

by:socross
ID: 16926377
hi

i tried that initially and i gets stuck on the first combo and wont go any further

here is my actionscript


name.tabIndex = 0;
tel.tabIndex = 1;      
email.tabIndex = 2;
enquiry.tabIndex = 3;
week.tabIndex = 4;
day.tabIndex = 5;
phone.tabIndex = 6;
where.tabIndex = 7;

Any idea why this might happen?

Thanks
0
 
LVL 34

Expert Comment

by:Aneesh Chopra
ID: 16926379
This is the way, it works..

compile swf using same code

and try it by double clicking in Explorer, or run it through IE and check the result..

If you would try to test the tab key directly in Flash authoring tool, it may not response properly...
0
 
LVL 1

Author Comment

by:socross
ID: 16926442
so simple

thanks all working fine now

excellent stuff yet again

0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question