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

backgroundAlpha for s:Application

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 4.1 (Release)
    • None
    • Spark: Application
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows 7
      Language Found: English

    Description

      Steps to reproduce:
      1. Create an s:Application
      2. Set its backgroundAlpha value to 0 to make it transparent

      Actual Results:
      When the app is loaded inside another application the background is not transparent. The default ApplicationSkin doesn't take this style intro consideration

      Workaround (if any):
      Given that this style is already present for SkinnableContainer it should work out of the box.

      The workaround consists in duplicating the default skin and change:

      <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0" >
      <s:fill>
      <!--- @private -->
      <s:SolidColor id="bgRectFill" color="#FFFFFF"/>
      </s:fill>
      </s:Rect>

      for

      <s:Rect id="backgroundRect" left="0" right="0" top="0" bottom="0" >
      <s:fill>
      <!--- @private -->
      <s:SolidColor id="bgRectFill" color="#FFFFFF" alpha="X"/>
      </s:fill>
      </s:Rect>

      I'd expect the framework to directly tight the style value

      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: