swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] as3compile - include swc library


From: Govindan Gopalan
Subject: Re: [Swftools-common] as3compile - include swc library
Date: Wed, 7 Jul 2010 12:51:00 +0530

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 <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]