flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sami Al-beik (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLEX-35397) UpdateCompleteEvent.UPDATE_COMPLETE fires on all containerControllers.
Date Sun, 03 Feb 2019 20:12:00 GMT
Sami Al-beik created FLEX-35397:

             Summary: UpdateCompleteEvent.UPDATE_COMPLETE fires on all containerControllers.
                 Key: FLEX-35397
                 URL: https://issues.apache.org/jira/browse/FLEX-35397
             Project: Apache Flex
          Issue Type: Bug
          Components: Events
    Affects Versions: Apache Flex 4.16.1, Apache Flex 4.16.0, Apache Flex 4.15.0
            Reporter: Sami Al-beik

When using UpdateCompleteEvent.UPDATE_COMPLETE event on a textflow with multiple container
controllers attached to its flowcomposer  it fires on each and every attached containerController. 

The whole idea with this event is to get the container that is updated. So writing text in
container 3  should not trigger container 1. This event also has a property called 'event.controller',
but you are getting all controllers so whats the point? You can't get the one that was updated.

If you want to reproduce. 
1) Simply create a text flow and attach 3 containercontrollers to its flowcomposer. add a
event listener for UpdateCompleteEvent.UPDATE_COMPLETE. In the event listener function add


 Write something in the last containercontrroller 

The result that should appear would only be the index of the controller you wrote something
in, but you will get multiple controller indexes. 



This message was sent by Atlassian JIRA

View raw message