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

callout: output differs when setting contentBackgroundAlpha for the same contentBackgroundColor with different backgroundColors

Details

    • Bug
    • Status: Closed
    • Minor
    • 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 into an application or a view:
      <fx:Declarations>
      <s:Callout id="mycallout" width="200" height="200"
      mouseDownOutside="mycallout.close()" contentBackgroundColor="#000099" contentBackgroundAlpha="0.3" backgroundColor="#CCCC33" backgroundAlpha="1.0">
      <s:Button label="Button"/>
      </s:Callout>
      </fx:Declarations>
      <s:VGroup>
      <s:Button id="mybutton" click="mycallout.open(mybutton, true)" />
      </s:VGroup>

      2.run the app. click the button,and view the callout's contentBackgroundColor.
      3.now, change the color for backgrondColor to "#FF0033"
      and run the app, look at the callout.

      Actual Results:
      the contentBG look different.
      Expected Results:
      we should get constant content bg color with alpha=".03" no matter which background color we use.

      Workaround (if any):

      Attachments

        Activity

          adobejira Adobe JIRA added a comment -

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

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

          created: 2011-08-24 14:00:35.000
          resolved: 2011-08-24 17:23:31.962
          updated: 2011-11-15 16:14:08.000

          adobejira Adobe JIRA added a comment - created: 2011-08-24 14:00:35.000 resolved: 2011-08-24 17:23:31.962 updated: 2011-11-15 16:14:08.000
          adobejira Adobe JIRA added a comment -

          On 2011-08-24 17:23:32.172 gruehle commented:
          When contentBackgroundAlpha < 1, the content background will be blended with the background color. This is expected behavior.

          adobejira Adobe JIRA added a comment - On 2011-08-24 17:23:32.172 gruehle commented: When contentBackgroundAlpha < 1, the content background will be blended with the background color. This is expected behavior.

          People

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

            Dates

              Created:
              Updated:
              Resolved: