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: Mathieu Bertrand
Subject: Re: [Swftools-common] as3compile - include swc library
Date: Thu, 8 Jul 2010 09:17:40 -0400

Thank for the information Govindan, but I prefer to embed my swc in the swf rather than having to download it and load it at the runtime (which increase the loading time of the swf). 

Thank you again,
Mathieu



On Wed, Jul 7, 2010 at 3:21 AM, Govindan Gopalan <address@hidden> wrote:
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]