Solved

tabIndex Help

Posted on 2006-06-16
4
692 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Flash player plugin 13 7 356
Youtube video error 30 869
How to block online streaming via TMG2010 ? 2 152
Movies become choppy/laggy after playing for 5 episodes or more 8 114
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
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.

739 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