<project name="flex">
    <property name="FLEX_HOME" value="C:\DivOther\flex_sdk_3"/>
    <property name="flexdir" value="C:/DivOther/flex_sdk_3"/>
    <property name="src" value="src"/>
    <property name="bin" value="bin"/>
    <taskdef resource="flexTasks.tasks" classpath="${flexdir}/ant/lib/flexTasks.jar"/>
    <target name="pic">
        <mxmlc file="${src}/pic.mxml" output="${bin}/pic.swf">
            <load-config filename="${flexdir}/frameworks/flex-config.xml"/>
            <source-path path-element="${flexdir}/frameworks"/>
        </mxmlc>
        <html-wrapper title="Pic test" file="pic.html" application="pic" swf="pic" width="600" height="450"
                      version-major="9" version-minor="0" version-revision="0" template="express-installation"
                      output="${bin}"/>
    </target>
    <target name="code">
        <mxmlc file="${src}/code.mxml" output="${bin}/code.swf">
            <load-config filename="${flexdir}/frameworks/flex-config.xml"/>
            <source-path path-element="${flexdir}/frameworks"/>
        </mxmlc>
        <html-wrapper title="Code test" file="code.html" application="code" swf="code" width="600" height="450"
                      version-major="9" version-minor="0" version-revision="0" template="express-installation"
                      output="${bin}"/>
    </target>
    <target name="sep">
        <mxmlc file="${src}/sep.mxml" output="${bin}/sep.swf">
            <load-config filename="${flexdir}/frameworks/flex-config.xml"/>
            <source-path path-element="${flexdir}/frameworks"/>
        </mxmlc>
        <html-wrapper title="Separation test" file="sep.html" application="sep" swf="sep" width="600" height="450"
                      version-major="9" version-minor="0" version-revision="0" template="express-installation"
                      output="${bin}"/>
    </target>
</project>
