Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
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.