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

subclass which extends from mx.styles.AdvancedStyleClient can NOT inherit style value in Group Component when using application selector.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • Spark: Formatters
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1.create a subclass which extends from mx.styles.AdvancedStyleClient.
      2.in this subclass, define a style "testStyle1" with "inherit=yes".
      3.create a MXML Component using Group container, add this subclass instance under "Declarations" tag.
      4.set style "testStyle1" with value "test" in main mxml using application selector.
      5.verify the style value of this custom subclass.

      Actual Results:
      The value of style "testStyle1" is undefined.

      Expected Results:
      The value of style "testStyle1" should be "test".

      Workaround (if any):

      class extends from UIComponent works well.
      please see attached sample code for more detail.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: