我想從我已經writen源編譯SWC,但由於某種原因,我得到這個錯誤:Ant任務使用compc空氣錯誤
[compc] Error: 'flash.events:StageOrientationEvent' is undefined.
[compc]
[compc] Error: 'flash.data:EncryptedLocalStore' is undefined.
[compc]
[compc] Error: 'flash.desktop:NativeDragActions' is undefined.
[compc]
[compc] Error: 'flash.desktop:NativeDragOptions' is undefined.
[compc]
[compc] Error: 'flash.events:NativeDragEvent' is undefined.
,並不能找出如何解決它。
任何想法?
UPDATE
t工廠compc命令代碼:
<compc debug="true" target-player="10.2" optimize="true" strict="true" as3="true" compute-digest="false" output="${outputFull}">
<include-sources dir="./" includes="**/*.as" />
<compiler.library-path dir="${FLEX_HOME}/frameworks/libs" append="true">
<include name="*"/>
</compiler.library-path>
</compc>
請添加文本錯誤你的問題,而不是發佈一個鏈接到外部資源。 乾杯 – 2011-05-26 14:37:14
空氣和Flex的版本?似乎你正試圖編譯一個移動項目,也有與此相關的警告。 – dain 2011-05-26 15:12:27
我使用的是flex_sdk_4.5.0.19786,而Target是10.2,這個swc是桌面應用程序的一部分。 everyhing很好,直到我加入了'EncryptedLocalStore'功能 – 2011-05-26 15:20:46