mxmlc
認爲一個swc
庫(它實際上是一個zip文件,你可以檢查),所以你會想要做類似如下:
mxmlc -compiler.library-path /path/to/your/swc
你可以得到幫助與mxmlc -help <TERM>
。例如:
$ mxmlc -help library-path
Adobe Flex Compiler (mxmlc)
Version 3.3.0 build 4852
Copyright (c) 2004-2007 Adobe Systems, Inc. All rights reserved.
-compiler.external-library-path [path-element] [...]
alias -external-library-path
list of SWC files or directories to compile against but to omit from
linking (repeatable)
-compiler.library-path [path-element] [...]
alias -l
list of SWC files or directories that contain SWC files (repeatable)
-runtime-shared-library-path [path-element] [rsl-url] [policy-file-url] [rsl-url] [policy-file-url]
alias -rslp
(repeatable)