Thanks On Mon, Sep 29, 2008 at 12:04 PM, Dips <[EMAIL PROTECTED]> wrote:
> > Hi Nishant, > > If your code is in AS files then you can use Ctrl+Shift+O to organize > your import statements. To help organize the code in your ActionScript > documents, you can alphabetically sort import statements. To do this, > open the Preferences dialog, select Flex > Editors > ActionScript > Code, and then select "Keep Imports Organized." > This is applicable only for AS files not MXML. This short cut removes > any unused import statement as well. > > As far as size of the SWF is concerned I guess unused imports doesn't > affect the SWF size. > > Cheers > Dipz > ----------------------------------------- > www.webvariations.com > > On Sep 29, 10:50 am, "Nishant Kyal" <[EMAIL PROTECTED]> wrote: > > Hi, > > Does anybody know how redundant import statements are handled in flex? > Will > > they lead to swelling up application size and memory footprint? Is there > a > > way to remove them automatically? > > > > By redundant import statements I mean import statements not used in the > > code. You can have a lot of them if you keep changing code, in which case > > flex will keep importing the required classes and they'll remain there > even > > if you stop using that class in your code. > > > > Regards > > Nishantwww.itasveer.com > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/flex_india?hl=en -~----------~----~----~----~------~----~------~--~---

