0

フレームワークRSLを使用してANTでフレックスプロジェクトを構築する方法のコード例を誰かに教えてもらえますか?

これは私が現在使用しているものですが、SWFが生成したファイルは非常に大きくなります。

    <target name="main">
        <mxmlc 
            file="${SRC_DIR}/myApp.mxml" 
            output="${DEPLOY_DIR}/myApp.swf"
            actionscript-file-encoding="UTF-8"
            keep-generated-actionscript="true"
            incremental="true">
            <!-- Get default compiler options. -->
            <load-config filename="${FLEX_HOME}/frameworks/flex-config.xml"/>

            <!-- List of path elements that form the roots of ActionScript
            class hierarchies. -->
            <source-path path-element="${FLEX_HOME}/frameworks"/>

            <!-- List of SWC files or directories that contain SWC files. -->
            <compiler.library-path dir="${FLEX_HOME}/frameworks" append="true">
                <include name="libs" />
                <include name="../bundles/{locale}" />
            </compiler.library-path>
        </mxmlc>
</target>

ありがとう

4

1 に答える 1

3

これは素晴らしい説明です: http://soenkerohde.com/2008/04/using-the-flash-player-cache-for-the-flex-framework/

于 2009-04-26T11:01:49.847 に答える