Tabbing over different MC's in flash

Im trying to get tabbing working over many movie clips that have components in them, but cant get to work, i posted a sample, can some one hav a look at this and see what im doing wrong

Create a flash that has a movie clip of type main.as, this movie clip has two movie clips one of type mc1 and one mc2, each of these movie clips has a single textinput called t1 and t2

i would load up the flash but ee dont allow

thanks
main.txt
mc1.txt
mc2.txt
jockmahon01Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

wal_toorCommented:
Hellow jock,

If you rename the .fla extension to .txt it will allow the upload. Please upload it and i will take a look.

greetz,
walter
0
jockmahon01Author Commented:
here is the fla

tabng.txt
0
wal_toorCommented:
Hello jock,

It seems that the textinputs need to be in the same movieclip. Because the individual textinputs are nested within their own movieclips the tabindex does not work.

Is there a reason why you use all these external class files?

greetz,
walter
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

jockmahon01Author Commented:
Well this is only an example, my app is actually a few hundred as files as is a large web app
One form i have is several MC's each with components that i need to tab over
0
wal_toorCommented:
Hello jock,

I made this little example of a form with tabIndexes. All the input fields are in the same movieclip. Hope this is useful for you.

greetz,
walter
tabindex.txt
0
jockmahon01Author Commented:
when i try to open this i get unexpected file format, i renamed to fla, im using flash 8
0
wal_toorCommented:
Ah sorry,

It was a CS3 file. I have saved it as a flash 8 file.

greetz,
walter
0
wal_toorCommented:
And the file....
tabindex-8.txt
0
jockmahon01Author Commented:
Thanks for the effort but still have the same problem, i added another mc to ur example with one textinput in it but cant get it to tab from ur field_6 to mine
0
wal_toorCommented:
Thats because your textinput exists in another movieclip the tabindex is used only on the inputboxes within the movieclip. You need to put your textinput in the 'inputBoxes' movieclip.

greetz,
walter
0
jockmahon01Author Commented:
Thats not really an option, the way i have got around this before is set up a key listener in the parent key listening for tab, then if the current focus is the first input set the focus to the next
0
wal_toorCommented:
Hellow jock,

So, i think that is the only solution for tabindexing on multiple movieclips. As far as i know tabindexing on multiple movieclips does not work.

sorry that i cannot help you any further.

greetz
walter
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jockmahon01Author Commented:
got this working the following code does the job as long as the child mc's dont have any tab index's

            tabChildren                     = true;
            mc1.tabChildren       = true;
            mc2.tabChildren   = true;
            mc3.tabChildren = true;

            tabEnabled                      = false;
      
            mc1.element1.tabIndex      = 1;
            mc2.element2.tabIndex           = 2;
            mc3.element3.tabIndex           = 3;
      
      
0
jockmahon01Author Commented:
my comment is teh correct solution that i found
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.