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

Doc for ratio property on GradientEntry has an example using ratio=-1 even though this is an invalid value

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Adobe Flex SDK 4.0 (Release)
    • None
    • ASDoc Content
    • 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):

      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: