                         obj.initialized = true;
                     if (obj.hasEventListener(FlexEvent.UPDATE_COMPLETE))
                         obj.dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE));
-                    obj.updateCompletePendingFlag = false;
                 }
+
+                obj.updateCompletePendingFlag = false;
                 obj = ILayoutManagerClient(updateCompleteQueue.removeLargest());
             }
 


                        if (obj.hasEventListener(FlexEvent.UPDATE_COMPLETE))
                            obj.dispatchEvent(new FlexEvent(FlexEvent.UPDATE_COMPLETE));
                        obj.updateCompletePendingFlag = false;
                    }
                    obj = ILayoutManagerClient(updateCompleteQueue.removeLargestChild(target));
                }
            }


package mx.managers
{
import flash.display.Stage;
import flash.events.Event;
import flash.events.EventDispatcher;

import mx.core.UIComponentGlobals;
import mx.core.mx_internal;
import mx.events.DynamicEvent;
