That is by design. FLex will only compile in resources if you use them. Think 
about it...If Flex compiled everything in on the off chance you might use it, 
then all SWF's and SWC's would be HUGE.



--- In [email protected], Steve Bick <sbicksubscr...@...> wrote:
>
> 
> Is it possible to include all classes of a swc in another swc (not swf)?
> 
> I would think that when compiling my new swc, using the parameter:
>  -include-libraries shared/included.swc
> 
> would include that swc's classes in my output swc... but it won't unless a
> class in my source references classes contained in the included swc.
> 
> library.swc
>   src/Connection.as
>   src/...
>   shared/included.swc
>      (contains Player class for example)
> 
> The only way the Player class is comiled in library.swc is if it is
> referenced in Connection.as:
>    var player : Player  = new Player();
> 
> Any ideas?
> -- 
> View this message in context: 
> http://www.nabble.com/Include-all-classes-of-a-swc-in-an-output-swc-%28not-swf%29--tp24811527p24811527.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>


Reply via email to