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

unable to set callout's contentbackgroundColor via setStyle()

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Next
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1.paste the following code into application;
      <fx:Script>
      <![CDATA[
      import mx.core.FlexGlobals;
      import mx.core.mx_internal;
      import mx.events.FlexEvent;
      use namespace mx_internal;

      protected function mybutton_clickHandler(event:MouseEvent):void

      { calloutbutton.callout.setStyle("backgroundColor", "blue"); calloutbutton.callout.setStyle("contentBackgroundColor","red"); calloutbutton.callout.open(calloutbutton); }

      ]]
      >
      </fx:Script>
      <s:HGroup verticalCenter="0" horizontalCenter="0">
      <s:CalloutButton id="calloutbutton" label="button">
      <s:BorderContainer />
      </s:CalloutButton>
      <s:Button label="set color" id="mybutton" click="mybutton_clickHandler(event)"/>
      </s:HGroup>

      2.run the app. click 'button", then click "set color"
      3.

      Actual Results:
      you see backgroundcolor set to blue, but not contentBackgroundColor

      Expected Results:

      Workaround (if any):

      Attachments

        Activity

          adobejira Adobe JIRA added a comment -

          Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31333
          Original Reporter: kawatana
          Original Resolution: Fixed
          Confirmed Version: 11364
          Confirmed Version: Next Build
          Discoverability: High
          Number of votes: 0
          Regression: No
          Reproducibility: Every Time
          Resolved by: kawatana
          Severity: Incorrectly Functioning
          reporter: kawatana

          adobejira Adobe JIRA added a comment - Adobe Bug URL: http://bugs.adobe.com/jira/browse/SDK-31333 Original Reporter: kawatana Original Resolution: Fixed Confirmed Version: 11364 Confirmed Version: Next Build Discoverability: High Number of votes: 0 Regression: No Reproducibility: Every Time Resolved by: kawatana Severity: Incorrectly Functioning reporter: kawatana
          adobejira Adobe JIRA added a comment -

          created: 2011-08-24 14:50:56.000
          resolved: 2011-08-24 15:15:22.023
          updated: 2011-11-15 16:13:05.000

          adobejira Adobe JIRA added a comment - created: 2011-08-24 14:50:56.000 resolved: 2011-08-24 15:15:22.023 updated: 2011-11-15 16:13:05.000
          adobejira Adobe JIRA added a comment -

          On 2011-08-24 15:15:22.234 kawatana commented:
          nab.closed.

          adobejira Adobe JIRA added a comment - On 2011-08-24 15:15:22.234 kawatana commented: nab.closed.

          People

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

            Dates

              Created:
              Updated:
              Resolved: