Specifications

65ADOBE FLEX 3
Building and Deploying Adobe Flex 3 Applications
import flash.printing.* // Error. This class is not used.
import mx.controls.Button; // Error. This class is not used.
import mx.core.Application; // No error. This class is used.
public class Foo extends Application {
}
}
The strict option also performs compile-time type checking, which provides a small optimization increase in
the application at run time.
The default value of the
strict compiler option is true.
Examining linker dependencies
To find ways to reduce SWF file sizes, you can look at the list of ActionScript classes that are linked into your SWF
file.
You can generate a report of linker dependencies by setting the link-report compiler option to true. The output
of this compiler option is a report that shows linker dependencies in an XML format.
The following example shows the dependencies for the ProgrammaticSkin script as it appears in the linker report:
<script name="C:\flex3sdk\frameworks\libs\framework.swc(mx/skins/ProgrammaticSkin)"
mod="1141055632000" size="5807">
<def id="mx.skins:ProgrammaticSkin"/>
<pre id="mx.core:IFlexDisplayObject"/>
<pre id="mx.styles:IStyleable"/>
<pre id="mx.managers:ILayoutClient"/>
<pre id="flash.display:Shape"/>
<dep id="String"/>
<dep id="flash.geom:Matrix"/>
<dep id="mx.core:mx_internal"/>
<dep id="uint"/>
<dep id="mx.core:UIComponent"/>
<dep id="int"/>
<dep id="Math"/>
<dep id="Object"/>
<dep id="Array"/>
<dep id="mx.core:IStyleClient"/>
<dep id="Boolean"/>
<dep id="Number"/>
<dep id="flash.display:Graphics"/>
</script>