 import flashx.textLayout.edit.TextScrap;
 import flashx.textLayout.elements.Configuration;
 import flashx.textLayout.elements.FlowElement;
+import flashx.textLayout.elements.InlineGraphicElementStatus;
 import flashx.textLayout.elements.ParagraphElement;
 import flashx.textLayout.elements.SpanElement;
 import flashx.textLayout.elements.TextFlow;

        _inputManager.addEventListener(
            FlowOperationEvent.FLOW_OPERATION_END,
            inputManager_flowOperationEndHandler);
    }
    
    //--------------------------------------------------------------------------

            
        textFlowChanged = false;            
    }

    /**
     *  @private
     *  Called when a InlineGraphicElement is resized due to having width or 
     *  height as auto or percent and the graphic has finished loading.  The
     *  size of the graphic is now known.
     */
    private function inputManager_inlineGraphicStatusChangedHandlder (
                        event:StatusChangeEvent):void
    {
        //trace("inlineGraphicStatusChangedHandlder", event.status);

        // Now that the actual size of the graphic is availabe need to
        // optionally remeasure and updateContainer.
        if (InlineGraphicElementStatus.READY)
        {
            if (actuallyAutoSizing)
                invalidateSize();
            
            invalidateDisplayList();
        }
    }    
}

}
