     //
     //--------------------------------------------------------------------------
     
-	/**
-	 *  @private
-	 *  Base error code
-	 */
-	private static const BASE_ERROR_CODE:uint = 1000;
+    /**
+     *  @private
+     *  Base error code
+     */
+    private static const BASE_ERROR_CODE:uint = 1000;
 
-	/**
-	 *  Unable to make connection to server or to find FLV on server.
-	 */
-	public static const NO_CONNECTION:uint = 1000;
+    /**
+     *  Unable to make connection to server or to find FLV on server.
+     */
+    public static const NO_CONNECTION:uint = 1000;
 
-	/**
-	 *  No matching cue point found.
-	 */
-	public static const NO_CUE_POINT_MATCH:uint = 1001;
+    /**
+     *  No matching cue point found.
+     */
+    public static const NO_CUE_POINT_MATCH:uint = 1001;
 
-	/**
-	 *  Illegal cue point.
-	 */
-	public static const ILLEGAL_CUE_POINT:uint = 1002;
+    /**
+     *  Illegal cue point.
+     */
+    public static const ILLEGAL_CUE_POINT:uint = 1002;
 
-	/**
-	 *  Invalid seek.
-	 */
-	public static const INVALID_SEEK:uint = 1003;
+    /**
+     *  Invalid seek.
+     */
+    public static const INVALID_SEEK:uint = 1003;
 
-	/**
-	 *  Invalid content path.
-	 */
-	public static const INVALID_CONTENT_PATH:uint = 1004;
+    /**
+     *  Invalid content path.
+     */
+    public static const INVALID_CONTENT_PATH:uint = 1004;
 
-	/**
-	 *  Invalid XML.
-	 */
-	public static const INVALID_XML:uint = 1005;
+    /**
+     *  Invalid XML.
+     */
+    public static const INVALID_XML:uint = 1005;
 
-	/**
-	 *  No bitrate match.
-	 */
-	public static const NO_BITRATE_MATCH:uint = 1006;
+    /**
+     *  No bitrate match.
+     */
+    public static const NO_BITRATE_MATCH:uint = 1006;
 
-	/**
-	 *  Cannot delete default VideoPlayer
-	 */
-	public static const DELETE_DEFAULT_PLAYER:uint = 1007;
-	
+    /**
+     *  Cannot delete default VideoPlayer
+     */
+    public static const DELETE_DEFAULT_PLAYER:uint = 1007;
+    
     //--------------------------------------------------------------------------
     //
     //  Constructor
     //
     //--------------------------------------------------------------------------
 
-	/**
-	 *  Constructor
-	 *
-	 *  @param The error code.
-	 *
-	 *  @param msg The error message.
-	 */
-	public function VideoError(errCode:uint, msg:String = null) 
-	{
-		super();
+    /**
+     *  Constructor.
+     *
+     *  @param The error code.
+     *
+     *  @param msg The error message.
+     */
+    public function VideoError(errCode:uint, msg:String = null) 
+    {
+        super();
 
-		_code = errCode;
+        _code = errCode;
 
-		var errorMessages:Array = resourceManager.getStringArray(
-			"controls", "errorMessages")
-		
-		message = "" + errCode + ": " +
-				  errorMessages[errCode - BASE_ERROR_CODE] +
-				  ((msg == null) ? "" : (": " + msg));
-		
-		//name = "VideoError";
-	}
-	
+        var errorMessages:Array = resourceManager.getStringArray(
+            "controls", "errorMessages")
+        
+        message = "" + errCode + ": " +
+                  errorMessages[errCode - BASE_ERROR_CODE] +
+                  ((msg == null) ? "" : (": " + msg));
+        
+        //name = "VideoError";
+    }
+    
     //--------------------------------------------------------------------------
     //
     //  Variables
     //
     //--------------------------------------------------------------------------
 
-	/**
-	 *  @private
-	 *  Used for accessing localized Error messages.
-	 */
-	private var resourceManager:IResourceManager =
-									ResourceManager.getInstance();
+    /**
+     *  @private
+     *  Used for accessing localized Error messages.
+     */
+    private var resourceManager:IResourceManager =
+                                    ResourceManager.getInstance();
 
     //--------------------------------------------------------------------------
     //

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

    //----------------------------------
	//  code
    //----------------------------------

    /**
	 *  @private
	 *  Storage for the code property.
     */      
	private var _code:uint;

	/**
	 *  Contains the error code.
	 */
	public function get code():uint 
	{ 
		return _code; 
	}
}

}

 */ 
public class VideoError extends Error 
{
    include "../../core/Version.as";
    
    //--------------------------------------------------------------------------
    //
