Re: [Flashcoders] mxmlc include classes , possible???

2009-04-29 Thread Ian Thomas
-includes com.mycompany.MyClass com.mycompany.MyOtherClass

HTH,
   Ian

On Wed, Apr 29, 2009 at 3:40 PM, Jiri  wrote:
> Hello list,
>
> Is it possible to force the mxmlc compiler to include certain classes so
> they can be instantiated at runtime. So I dont have to put an explicit
> reference in the .as files, in order to include it.
>
> I thought there was a compiler flag called include-classes, but a google
> search yields nothing of any use.
>
> I tried putting this in my flex-config
>
>        
>        org.name.class
>        
>
> But I get an error.
>
> Doing a mxmlc -help advanced in the console also yields no such flag.
>
> So I wonder now, is it at all possible, or do i need to create a .swc and
> have that add to the librart tag?
>
> Jiri
>
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] mxmlc include classes , possible???

2009-04-29 Thread Muzak

Checked the docs?

includes class [...] 
Links one or more classes to the resulting application SWF file, whether or not those classes are required at compile time.


http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html


- Original Message - 
From: "Jiri" 

To: "Flash Coders List" 
Sent: Wednesday, April 29, 2009 4:40 PM
Subject: [Flashcoders] mxmlc include classes , possible???



Hello list,

Is it possible to force the mxmlc compiler to include certain classes so 
they can be instantiated at runtime. So I dont have to put an explicit 
reference in the .as files, in order to include it.


I thought there was a compiler flag called include-classes, but a google 
search yields nothing of any use.


I tried putting this in my flex-config


org.name.class
  

But I get an error.

Doing a mxmlc -help advanced in the console also yields no such flag.

So I wonder now, is it at all possible, or do i need to create a .swc 
and have that add to the librart tag?


Jiri



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] mxmlc include classes , possible???

2009-04-29 Thread Jiri

Hello list,

Is it possible to force the mxmlc compiler to include certain classes so 
they can be instantiated at runtime. So I dont have to put an explicit 
reference in the .as files, in order to include it.


I thought there was a compiler flag called include-classes, but a google 
search yields nothing of any use.


I tried putting this in my flex-config


org.name.class


But I get an error.

Doing a mxmlc -help advanced in the console also yields no such flag.

So I wonder now, is it at all possible, or do i need to create a .swc 
and have that add to the librart tag?


Jiri

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders