Hi Mathieu, I do not know much about as3compile. Sure the experts will respond.
Alternately you could use ApplicationDomain and load any class as an object at runtime rather than compiling it into a SWC which may put the file size of the target SWF on the higher side. Thanks, Govindan G On Tue, Jul 6, 2010 at 11:04 PM, Mathieu Bertrand <[email protected]>wrote: > Hello everybody, > > Is it possible to link to swc library with as3compile. > > For example, I have the following class: > ---------- > package > { > import flash.display.*; > import com.blabla.Layer; > > public class Kk extends com.blabla.Layer > { > public function Kk() > { > super(); > return; > } > } > } > ---------- > > where com.blabla.Layer is already compiled in a swc file (let's say > Blabla.swc). > > With mxmlc, I would compile this with the following command: > "mxmlc.exe" Kk.as -output Kk.swf -target-player "10.0.0" > -compiler.as3 -compiler.library-path Blabla.swc" > > Is it possible to achieve such a thing with as3compile ? > > Thank you, > Mathieu > >
