Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-14765

Button skin name (*skinName) properties should be public (and not mx_internal)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Adobe Flex SDK 3.0 (Release)
    • None
    • mx: Button
    • 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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: