You can tell the compiler to include classes that follow the [Mixin] pattern, but that's too much overhead for a general class loader thing.
The pattern is very simple. It is: import mx.containers.VBox; VBox; import mx.controls.TextArea; TextArea; etc. You could probably write a script that generates it, but really that just bloats your SWF. The framework RSL is 600K, charts and ADG are a whole bunch more, RPC is more and LCDS is even more. Using the shared RSL will cause more classes to be around just-in-case, but if you need your custom classes loaded on-demand, you'll just have to build out that modules-as-class-loader idea Start with what you need and get everything else later when you need it, -Alex ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Josh McDonald Sent: Wednesday, July 30, 2008 4:45 PM To: [email protected] Subject: Re: [flexcoders] Re: Flex woes, wo-iz-o, i hate it (sometimes) You can tell the compiler to include any class you want, as well as whatever it thinks you want, right? Or is that only valid for SWCs? -Josh -- "Therefore, send not to know For whom the bell tolls. It tolls for thee." :: Josh 'G-Funk' McDonald :: 0437 221 380 :: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>

