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 trace(flow.flowComposer.getControllerIndex(event.controller)) 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 (v7.6.3#76005)