Solved

tabIndex Help

Posted on 2006-06-16
4
686 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
so simple

thanks all working fine now

excellent stuff yet again

0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now