      *  used to access the sub-Application in which that UIComponent lives,
      *  and to walk up the hierarchy to the top-level Application.</p>
      *  
+     *  <p>This property has been deprecated starting in Flex4. Note that this
+     *  property will return applications of type Application and 
+     *  WindowedApplication as before but will return null for applications
+     *  of type FxApplication or FxWindowedApplication.
+     * 
      *  @langversion 3.0
      *  @playerversion Flash 9
      *  @playerversion AIR 1.1

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

     *  Therefore we decided to dispense with strict typing for
     *  'application'.
     */
    [Deprecated(replacement="FlexGlobals.topLevelApplication", since="4.0")]
    
    public static function get application():Object
    {
        return FlexGlobals.topLevelApplication as Application;
    }

    //--------------------------------------------------------------------------
