actionscript 3 - Building a swc in command line or ant -
first off - i'm not super familiar flash builder or actionscript. have actionscript project in flash builder. know can generate swc file doing project > build, , build swc file actionscript source code.
is there way generate swc in command line or ant? i'd able put build process inside build script don't need go through flash builder build swc file everytime.
thanks!
yes, see compc.
compc -source-path . -include-classes mycomponent -output mycomponent.swc mycomponent.as (source file mycomponent) in current directory, why -source-path set ..
if have many classes library, can use manifest file namespace.
see:
http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_22.html
there's compc ant task.
Comments
Post a Comment