Hi Iosif,

As I understand it, swfc is a scripting language to create movieclip.

My problem is that I have some as3 packages already compiled in a swc
library. When I compile the class Kk, as3compile complains that it doesn't
find the class define in the imports statement (which are available in the
swc library).

I believe swfc doesn't help me with this, unless I misunderstood it's
usage.

Thank you for you answer,
Mathieu




On Tue, Jul 6, 2010 at 6:43 PM, iosif budulai <[email protected]> wrote:

> Hi Mathieu,
>
> See the sample files:
>
> http://jeanmichel.gens.free.fr/swfc/
>
> Many swfc and as3 sample. It may help you.
>
> Best Regards,
> Iosif
>
> ------------------------------
> *From:* Mathieu Bertrand <[email protected]>
> *To:* [email protected]
> *Sent:* Tue, July 6, 2010 1:34:39 PM
> *Subject:* [Swftools-common] as3compile - include swc library
>
> 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
>
>
>

Reply via email to