Focus Manager over different MC's

I have a app that has MC's with different components on it. i want the tabing to work from one MC to the next what is the best approach.
So far i have a key listener set up so that when the tab is pressed on the last component on thefirst MC it will call a function in the next MC which then uses setfocus to the first component on that MC, doesnt quite work,

is this the approach that i should take
jockmahon01Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
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.

Spy6Commented:
Hi!

Use tabindex on the components. It's simpler and doesn't require much code and it's always reliable.

http://livedocs.adobe.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000898.html
0
jockmahon01Author Commented:
yes i know of this, my problem is that the components are not all on the same MC, also the main form which has a few components on it has several child MC's that all have their own components on then, (iv using tab navigation, like in window Properties)
0
jockmahon01Author Commented:
yes i know of this, my problem is that the components are not all on the same MC, also the main form which has a few components on it has several child MC's that all have their own components on then, (iv using tab navigation, like in window Properties)
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.

Spy6Commented:
Please read the link I have sent, it should help you.

It doesn't matter if they are or not in the same mc. Just use the dot syntax to reach all of them and asign the tab index and it should work.

component1.field1.tabIndex = 1
component1.button1.tabIndex = 2
component2.subComponent1.field1.tabIndex = 3
component2.subMc1.subMc3.field1.tabIndex = 4
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 with the following as long as the child mc dont have tabing

            tabChildren                     = true;
            mc1.tabChildren       = true;
            mc2.tabChildren   = true;
            mc3.tabChildren = true;
            tabEnabled                      = false;
      
            mc1..element1.tabIndex      = 1;
            mc2.element1.tabIndex           = 2;
            mc3.element1.tabIndex          = 3;
0
jockmahon01Author Commented:
my comment below is the correct solution
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.