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

Changing currentState to another value while state is changing breaks states

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • Adobe Flex SDK 4.1 (Release)
    • None
    • States
    • None
    • Affected OS(s): All OS Platforms
      Affected OS(s): All OS Platforms
      Language Found: English

    Description

      Steps to reproduce:
      1. Create a component with two states: state1 and state2.
      2. For each state add a subcomponent.
      3. In preinitialize/addedToStage event handler of a subcomponents in state1 of that component change state to the state2, where this component doesn't belong

      Actual Results:
      Components for both states are added, none removed

      Expected Results:
      Only compnents for the latest state added

      Workaround (if any):
      Wait for state change to complete. With callLater, for example.

      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: