Solved

tabIndex Help

Posted on 2006-06-16
4
688 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

947 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

22 Experts available now in Live!

Get 1:1 Help Now