 import mx.core.IVisualElementContainer;
 import mx.core.IUIComponent;
 import mx.core.IViewport;
-import mx.core.ScrollUnit;
 import mx.events.FlexEvent;
-import mx.events.ItemExistenceChangedEvent;
+import mx.events.ElementExistenceEvent;
 import mx.events.PropertyChangeEvent;
 import mx.layout.BasicLayout;
 import mx.layout.LayoutBase;
 import mx.managers.IFocusManagerContainer;
 import mx.utils.BitFlagUtil;
-
 
 /**
  *  Dispatched after the content for this component has been created. With deferred 

        {
            mxmlContentCreated = true;
            
            if (mxmlContentFactory)
            {
                // TODO (rfrishbe): If we have compiler support for deferred content
                // to do autotype conversion (do I create a single object, 
                // an array, or an IList in the function)
                var deferredContent:Object = mxmlContentFactory.getInstance();
                if (deferredContent is Array)
                    mxmlContent = deferredContent as Array;
                else

[Event(name="contentCreationComplete", type="mx.events.FlexEvent")]

/**
 *  Dispatched when a visual element is added to the content holder.
 *  <code>event.element</code> is the visual element that was added.
 *
 *  @eventType mx.events.ElementExistenceEvent.ELEMENT_ADD
 */
[Event(name="elementAdd", type="mx.events.ElementExistenceEvent")]

/**
 *  Dispatched when a visual element is removed to the content holder.
 *  <code>event.element</code> is the visual element that's being removed.
 *
 *  @eventType mx.events.ElementExistenceEvent.ELEMENT_REMOVE
 */
[Event(name="elementRemove", type="mx.events.ElementExistenceEvent")]

include "../styles/metadata/AdvancedCharacterFormatTextStyles.as"
include "../styles/metadata/AdvancedContainerFormatTextStyles.as"
