[flexcoders] Re: How to optimise SWC to its minimal size?

2009-08-17 Thread lytvynyuk
I need to do little research, I woul like to know if compiller builds app using 
SWC it will take from there only classes required by the application.

--- In flexcoders@yahoogroups.com, Ian Thomas i...@... wrote:

 You can use the 'externs' command-line option to the Flex compiler to
 tell Flex to exclude specific classes - as long as you're sure that
 your code _will_ have access to them at runtime.
 
 Documentation here:
 
 http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_14.html
 
 HTH,
Ian
 
 On Fri, May 22, 2009 at 4:13 PM, lytvynyuk lytvyn...@... wrote:
 
 
  Any ideas? Hey, Flex gurus I know you are here! :)
 
 





[flexcoders] Re: How to optimise SWC to its minimal size?

2009-05-22 Thread lytvynyuk
Any ideas? Hey, Flex gurus I know you are here! :)



Re: [flexcoders] Re: How to optimise SWC to its minimal size?

2009-05-22 Thread Alan Klement

Well, you mention that classes that are used directly or indirectly are
Œgarbage¹, but it¹s being used so they aren¹t garbage

If they were pulled in, then it¹s more than likely that what ever you are
trying to extract, depends on those Œgarbage¹ classes.

On 5/22/09 11:13 AM, lytvynyuk lytvyn...@yahoo.com wrote:
 Any ideas? Hey, Flex gurus I know you are here! :)



Re: [flexcoders] Re: How to optimise SWC to its minimal size?

2009-05-22 Thread Ian Thomas
You can use the 'externs' command-line option to the Flex compiler to
tell Flex to exclude specific classes - as long as you're sure that
your code _will_ have access to them at runtime.

Documentation here:

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

HTH,
   Ian

On Fri, May 22, 2009 at 4:13 PM, lytvynyuk lytvyn...@yahoo.com wrote:


 Any ideas? Hey, Flex gurus I know you are here! :)