Packagecom.adobe.flashpro
Classpublic class CompilerErrors
InheritanceCompilerErrors Inheritance com.adobe.csawlib.CSHostObject

As part of the new error navigation feature, compiler errors will get dumped into a separate panel.



Public Methods
 MethodDefined By
  
clear():void
Clears the list of errors.
CompilerErrors
  
hasErrors(excludeWarnings:Boolean):Boolean
indicates if the compile errors panel contains errors, and optionally indicates if it contains warnings.
CompilerErrors
  
save(fileURI:String, bAppendToFile:Boolean, useSystemEncoding:Boolean, verbose:Boolean, externalOnly:Boolean):void
Saves the list of errors to a local text file, in UTF-8 encoding.
CompilerErrors
Method Detail
clear()method
public function clear():void

Clears the list of errors.

hasErrors()method 
public function hasErrors(excludeWarnings:Boolean):Boolean

indicates if the compile errors panel contains errors, and optionally indicates if it contains warnings.

Parameters

excludeWarnings:Boolean — (Boolean) if true, warnings should be excluded

Returns
Boolean
save()method 
public function save(fileURI:String, bAppendToFile:Boolean, useSystemEncoding:Boolean, verbose:Boolean, externalOnly:Boolean):void

Saves the list of errors to a local text file, in UTF-8 encoding. The local file name is specified as a URI. Optionally, the local file may be appended to instead of overwritten. If the URI is invalid or unspecified, an error will be reported.

Parameters

fileURI:String — (String) The URI of the local file to write the list of errors to
 
bAppendToFile:Boolean — (Boolean) If true, the file is appended to,instead of overwritten. If false, the file is overwritten if it already exists. The default if not specified is false.
 
useSystemEncoding:Boolean — (Boolean) Save the list of errors using the system encoding instead of UTF8, and without the Byte Order Mark characters at the start of the text.
 
verbose:Boolean — (Boolean) added for flash builder workflow
 
externalOnly:Boolean — (Boolean) added for flash builder workflow