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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -