MACROMEDIA FLASH MX 2004-USING COMPONENTS Use Manual page 101

Using components
Hide thumbs Also See for FLASH MX 2004-USING COMPONENTS:
Table of Contents

Advertisement

Style
openDuration
openEasing
Using skins with the Accordion component
The Accordion component uses skins to represent the visual states of its header buttons. To skin
the buttons and title bar while authoring, modify skin symbols in the Flash UI Components 2/
Themes/MMDefault/Accordion Assets skins states folder in the library of one of the themes FLA
files. For more information, see
An Accordion component is composed of its border, background, header buttons, and children.
The border and background are provided by the RectBorder class by default. For information on
skinning the RectBorder class, see
the skins listed below.
Property
falseUpSkin
falseDownSkin
falseOverSkin
falseDisabled
trueUpSkin
trueDownSkin
trueOverSkin
trueDisabledSkin
Using ActionScript to draw the Accordion header
The default headers in both the Halo and Sample themes use the same skin element for all states
and draw the actual graphics through ActionScript. The Halo implementation uses an extension
of the RectBorder class and custom drawing API code to draw the states. The Sample
implementation uses the same skin and the same ActionScript class as the Button skin.
Theme Description
Both
The duration, in milliseconds, of the transition animation.
Both
A reference to a tweening function that controls the animation.
Defaults to sine in/out. For more information, see
component animations" on page
"About skinning components" on page
"RectBorder class" on page
Description
The up (normal) state of the header above all
collapsed children.
The pressed state of the header above all collapsed
children.
The rolled-over state of the header above all collapsed
children.
The disabled state of the header above all collapsed
children.
The up (normal) state of the header above the
expanded child.
The pressed state of the header above the expanded
child.
The rolled-over state of the header above the
expanded child.
The disabled state of the header above the expanded
child.
75.
647. You can sking the headers with
Accordion component (Flash Professional only)
"Customizing
80.
Default value
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
101

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-USING COMPONENTS and is the answer not in the manual?

This manual is also suitable for:

Flash mx

Table of Contents