 import flash.ui.ContextMenuItem;
 import flash.utils.setInterval;
 import mx.core.ApplicationGlobals;
-import mx.core.EdgeMetrics;
-import mx.core.IFlexDisplayObject;
 import mx.core.Singleton;
 import mx.core.UIComponentGlobals;
 import mx.core.mx_internal;
-import mx.effects.EffectManager;
-import mx.events.FlexEvent;
-import mx.layout.VerticalLayout;
 import mx.managers.FocusManager;
 import mx.managers.ILayoutManager;
 import mx.managers.ISystemManager;
-import mx.managers.SystemManager;
 import mx.styles.CSSStyleDeclaration;
 import mx.styles.StyleManager;
 

 *  <pre>
 *  &lt;Application
 *    <strong>Properties</strong>
 *    application="<i>No default</i>"
 *    frameRate="24"
 *    historyManagementEnabled="true|false"
 *    pageTitle"<i>No default</i>"
 *    preloader="<i>No default</i>"
 *    resetHistory="false|true"
 *    scriptRecursionLimit="1000"
 *    scriptTimeLimit="60"
 *    usePreloader="true|false"

    override public function get id():String
    {
        if (!super.id &&
            this == ApplicationGlobals.application && 
            ExternalInterface.available)
        {
            return ExternalInterface.objectID;
