Solved

Tabbing over different MC's in flash

Posted on 2009-07-07
14
179 Views
Last Modified: 2012-05-07
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
0
Comment
Question by:jockmahon01
  • 7
  • 7
14 Comments
 
LVL 8

Expert Comment

by:wal_toor
ID: 24801017
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
 

Author Comment

by:jockmahon01
ID: 24801128
here is the fla

tabng.txt
0
 
LVL 8

Expert Comment

by:wal_toor
ID: 24801372
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
 

Author Comment

by:jockmahon01
ID: 24801382
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
 
LVL 8

Expert Comment

by:wal_toor
ID: 24801454
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
 

Author Comment

by:jockmahon01
ID: 24801813
when i try to open this i get unexpected file format, i renamed to fla, im using flash 8
0
 
LVL 8

Expert Comment

by:wal_toor
ID: 24802262
Ah sorry,

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

greetz,
walter
0
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.

 
LVL 8

Expert Comment

by:wal_toor
ID: 24802268
And the file....
tabindex-8.txt
0
 

Author Comment

by:jockmahon01
ID: 24802370
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
 
LVL 8

Expert Comment

by:wal_toor
ID: 24802473
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
 

Author Comment

by:jockmahon01
ID: 24802870
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
 
LVL 8

Accepted Solution

by:
wal_toor earned 500 total points
ID: 24820865
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
 

Author Comment

by:jockmahon01
ID: 24913326
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
 

Author Closing Comment

by:jockmahon01
ID: 31600733
my comment is teh correct solution that i found
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

Suggested Solutions

Title # Comments Views Activity
How to block online streaming via TMG2010 ? 2 122
Shouldn't i be able to use an old win xp machine as an internet radio? 7 120
Removing Flash from Website 6 45
Flash Converter 8 113
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

910 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

23 Experts available now in Live!

Get 1:1 Help Now