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

    XMLWordPrintableJSON

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

          People

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

            Dates

              Created:
              Updated:
              Resolved: