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

Cannot set contentBackgroundAlpha in MXML on mx:VideoDisplay control [missing metadata]

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • mx: Video
    • None
    • Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Found in 4.0.0 (build 13553)

      Steps to reproduce:
      1. Compile and run attached MXML file.
      2. Try and add contentBackgroundAlpha="0" to MXML.

      Actual Results:
      Compiler error when trying to set it via MXML.

      Expected Results:
      If we have contentBackgroundColor metadata, we should have have contentBackgroundAlpha as well. The style itself works, we're just missing the [Style()] metadata from the VideoDisplay.as file.

      /**

      • Color of the content area of the component.
      • @default 0xFFFFFF
      • @langversion 3.0
      • @playerversion Flash 10
      • @playerversion AIR 1.5
      • @productversion Flex 4
        */
        [Style(name="contentBackgroundColor", type="uint", format="Color", inherit="yes", theme="spark")]

      Workaround (if any):
      Set the contentBackgroundAlpha style in CSS rather than MXML.

      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: