2013年2月22日 星期五
2013年2月20日 星期三
AIRSDK Command 使用說明
function a(){ return 1;}
環境安裝
指令簡介
Creating an AIR application using the command line tools
amxmlc
adt
acompc
adl
idb
fdb
flex-config 檔案
目前找不到flex-config結構的官方文件說明
可以經由以下方式得知相關參數
- 從Flash Builder匯出設定檔
- 執行指令得知相關參數 (compc –help advanced)
在flex-config加入conditional compilation
參考範例
- ${AIRSDK}\frameworks\air-config.xml
- ${AIRSDK}\frameworks\airmobile-config.xml
- ${AIRSDK}\frameworks\flex-config.xml
- native-media-picker
TroubleShooting
- 執行 AIRSDK\bin\xxx.bat, 出現錯誤訊息 [這個時候不應有…], 原因是路徑的問題, 將AIRSDK拷貝到D:\AIRSDK下, 執行D:\AIRSDK\bin內的指令
- 執行 acompc –load-config mylib-config.xml –output mylib.swc, 出現錯誤訊息 [Error: Missing builtin type Object], 原因是指令錯誤, 將指令改成acompc –load-config+=mylib-config.xml –output mylib.swc
訂閱:
文章 (Atom)