 
 		private function validateSDK():void
 		{
+			if (this._animateFile)
+			{
+				return;
+			}
 			//the --sdk argument wasn't passed in, try to find an SDK
 			if(!this._sdkHome)
 			{

				}
				this._compilerArgs.push(this._mainFile);
			}
			if(TopLevelFields.AIR_OPTIONS in configData)
			{
				this._configRequiresAIR = true;

			{
				//java is required to run the compiler
				this.validateJava();

				if(this._clean) {
					this.cleanProject();
