Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Adobe Flex SDK 4.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Go to ASDoc for mx.graphics.GradientEntry
Actual Results: Under MXML Syntax, you have the following example:
The <mx:GradientEntry> tag inherits all the tag attributes of its superclass, and adds the following tag attributes:
<mx:GradientEntry
Properties
alpha="1.0"
color="0x000000"
ratio="-1"
/>
But, for the ratio property description, you have:
ratio : Number
Where in the graphical element, as a percentage from 0.0 to 1.0, Flex samples the associated color at 100%.
Expected Results: It looks like ratio=-1 is an invalid value. So, the mxml example should have ratio=0.0 or some other value between 0 and 1.
Workaround (if any):