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

can NOT get updated result from bindable method of subclass extends from UIComponent by ovewrite application selector.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: Adobe Flex SDK Previous
    • Fix Version/s: None
    • Component/s: Styles
    • Labels:
      None
    • Environment:
      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 class "ADVStyleSimple" extends from UIComponent. Define a style "teststyle_1_string_inh" with inherit "yes". Define a bindable method getMyStyleLabel to trigger when style changed.
      2.create a mxml module which include this "ADVStyleSimple" class. then load this module in main mxml.
      3.define a default value of style "teststyle_1_string_inh" in Application Selector in main mxml.
      4.reset value of style "teststyle_1_string_inh" using application selector by create a CSSStyleDeclaration to overwrite.

      Actual Results:
      The label binding with method is not updated.
      If using get application selector using style manager then set style, it can works.

      Expected Results:
      Both of them should update bindable method.

      Workaround (if any):

      There has a similar bug with this:
      SDK-29148 (the Bindable method does not trigger when user set style using Application selector with create a new CSS and overwrite application selector.)

      Please see more detail information by run attached sample codes.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: