Property
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.
To create an ActionScript class to use as the skin and provide different states, the skin can read
the
style property of the skin to determine the state. The following table shows
borderStyle
the border style that is set for each skin:
Property
falseUpSkin
falseDownSkin
falseOverSkin
falseDisabled
trueUpSkin
trueDownSkin
trueOverSkin
trueDisabledSkin
Description
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.
Border style
falseup
falsedown
falserollover
falsedisabled
trueup
truedown
truerollover
truedisabled
Customizing the Accordion component (Flash Professional only)
Default value
accordionHeaderSkin
accordionHeaderSkin
accordionHeaderSkin
43
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers