Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): Windows
Affected OS(s): Windows XP
Language Found: English
Description
The mx.controls.Button uses skins to display itself.
A skin has a 'name' property that allow to have a different rendering depending on this value.
Each state of the button has a corresponding name that is set to the skin.
So a same skin can display the different state of the button.
These skin names are controlled by the following properties:
- skinName
- upSkinName
- overSkinName
- downSkinName
- disabledSkinName
- selectedUpSkinName
- selectedOverSkinName
- selectedDownSkinName
-selectedDisabledSkinName
Other components can use button instances and choose different names for each state in order to provide a different skin implementation.
This is done in the ScrollBar component for example.
Unfortunately, these properties are all in the mx_internal namespace which is a issue for other components to use Button instances in the same way.