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

Enable state groups to be used on properties and handlers as if they are states.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Adobe Flex SDK 4.0 (Release)
    • None
    • States
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Language Found: English

    Description

      Currently you can only use state groups in includeIn and excludeFrom. It would be very nice to be able to use state groups to set properties etc, as a function of state.

      Given:

      s:states>
      <s:State name="base" stateGroups="baseGroup"/>
      <s:State name="full" stateGroups="baseGroup"/>
      ............
      <s:State name="gizzillionMinusOne" stateGroups="detailGroup"/>
      <s:State name="gizzillion" stateGroups="detailGroup"/>
      </s:states>

      And then in your tags you get

      property.base="whatever"
      property.full="whatever"
      .............
      property.gizzillionMinusOne="whateverElse"
      property.gizzillion="whateverElse"

      Which is massive pain with multiple states when it would be so wonderful to just have:

      property.baseGroup="whatever"
      property.detailGroup="whateverElse"

      i.e. two lines instead of gizillions of redundant lines.

      Thanks.

      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: