Macromedia Flash Server - Re: mx pro media controller: tabIndex bug? SOLVED

This is Interesting: Free IT Magazines  
Home > Archive > Macromedia Flash Server > April 2005 > Re: mx pro media controller: tabIndex bug? SOLVED





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: mx pro media controller: tabIndex bug? SOLVED
Jim Duber

2005-04-07, 5:56 pm

Hi Folks

It seems that the documentation on tabChildren is wrong. Here's the
entry:

Property; undefined by default. If tabChildren is undefined or true,
the children of a movie clip are included in automatic tab ordering.
If the value of tabChildren is false, the children of a movie clip are
not
included in automatic tab ordering.

My tests consistently show that if tabChildren is undefined, then the
children of a movie clip are NOT included in automatic tab ordering.
According to my findings: the tabChildren property must be set to true
and the items (mc's, textareas, buttons) must be given a tabIndex to
included.

I've submitted my notes on this to the LiveDocs page and in the MM Bug
Report Form.

As for the media controller, here's what I ended up using:

myController.tabEnabled = false;
myController.tabChildren = true;
//

myController["_buttons"]["playPauseButtons"]["_playPauseButton"].tabInde
x = 1;

myController["_buttons"]["toStartButton"]["toStartSimpleButton"].tabInde
x = 2;
myController["_buttons"]["toEndButton"]["toEndSimpleButton"].tabIndex
= 3;

myController["_volumeControl"]["_muteButton"]["muteSimpleButton"].tabInd
ex = 4;

myController["_volumeControl"]["_loudButton"]["loudSimpleButton"].tabInd
ex = 5;

The use of the array access operator, "[]", stops the compiler from
complaining that these are private members. Yo, MediaController,
welcome to the tabIndex club!

All the best,

Jim


=-----------------------------------------------------------
Supported by Fig Leaf Software - http://www.figleaf.com
=-----------------------------------------------------------

To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com