Accordion component (Flash Professional only)
The Accordion component is a navigator that contains a sequence of children that it displays one
at a time. The children must be objects that inherit from the UIObject class (which includes all
components and screens built with version 2 of the Macromedia Component Architecture); most
often, children are a subclass of the View class. This includes movie clips assigned to the class
mx.core.View. To maintain tabbing order in an accordion's children, the children must also be
instances of the View class.
An accordion creates and manages header buttons that a user can click to navigate between the
accordion's children. An accordion has a vertical layout with header buttons that span the width
of the component. One header is associated with each child, and each header belongs to the
accordion—not to the child. When a user clicks a header, the associated child is displayed below
that header. The transition to the new child uses a transition animation.
An accordion with children accepts focus, and changes the appearance of its headers to display
focus. When a user tabs into an accordion, the selected header displays the focus indicator. An
accordion with no children does not accept focus. Clicking components that can take focus
within the selected child gives them focus. When an Accordion instance has focus, you can use
the following keys to control it:
Key
Down Arrow, Right
Arrow
Up Arrow, Left Arrow
End
Enter/Space
Home
Page Down
Page Up
Shift+Tab
Tab
The Accordion component cannot be made accessible to screen readers.
96
Chapter 6: Components Dictionary
Description
Moves focus to the next child header. Focus cycles from last to first
without changing the selected child.
Moves focus to the previous child header. Focus cycles from first to last
without changing the selected child.
Selects the last child.
Selects the child associated with the header that has focus.
Selects the first child.
Selects the next child. Selection cycles from the last child to the first child.
Selects the previous child. Selection cycles from the first child to the
last child.
Moves focus to the previous component. This component may be inside
the selected child, or outside the accordion; it is never another header in
the same accordion.
Moves focus to the next component. This component may be inside the
selected child, or outside the accordion; it is never another header in the
same accordion.
CHAPTER 6
Components Dictionary
Need help?
Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?
Questions and answers