Sweet, that worked a charm. I had tried lowercase i already but there was an error in my ant script too!
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 04 November 2008 17:54 To: Flash Coders List Subject: Re: [Flashcoders] Force include of unreferenced classes in swfwhencompiled with mxmlc Sorry, shouldn't have been a capital 'i'. -includes Class1 Class2 is correct. The manual page is here: http://livedocs.adobe.com/flex/3/html/compilers_14.html Definitely works with SDK3, that's what we're using. HTH, Ian On Tue, Nov 4, 2008 at 5:46 PM, Eamonn Faherty <[EMAIL PROTECTED]> wrote: > Thanks for your response but that doesn't seem to work. > > I get " unknown configuration variable 'Includes'" > > I am using sdk 3. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Ian > Thomas > Sent: 04 November 2008 16:53 > To: Flash Coders List > Subject: Re: [Flashcoders] Force include of unreferenced classes in swf > whencompiled with mxmlc > > Use the -Includes option on the command line to mxmlc. > > e.g. > > mxmlc MyApp.as -Includes com.mycompany.Class1 com.mycompany.Class2 > -output MyApp.swf > > HTH, > Ian > > On Tue, Nov 4, 2008 at 4:43 PM, Eamonn Faherty <[EMAIL PROTECTED]> > wrote: >> I have a set of classes that are used at runtime and not referenced at >> compile time. >> >> >> >> I am using mxmlc.exe to compile from an mxml doc. >> >> >> >> I want to able to specify a set of classes to include into the swf for >> use only at runtime. Mxml.exe is excluding these classes as they are >> not being used. >> >> >> >> Does anyone know how to get around this? >> >> >> >> Thanks >> >> >> >> Eamonn >> >> >> >> >> >> This email (including any attachments) is confidential, protected by >> copyright and may be privileged. It is for the exclusive use of the >> intended recipient(s). If you have received it in error, please notify >> the sender immediately by emailing a response before deleting the > email >> completely from your computer, and note that any storage, copying or >> dissemination is prohibited. >> >> >> >> Where the content of this email is personal or otherwise unconnected >> with business of the Group's Companies, we accept no responsibility or >> liability for such content. >> >> >> >> We accept no responsibility for viruses that we may have > unintentionally >> transmitted to you within this email and you should check for viruses >> before opening any attachment. Those communicating with us by email > will >> be deemed to have consented to us intercepting and monitoring those >> communications. >> >> >> >> Gamesys Ltd is registered in England & Wales, company registration >> number 04042931. The registered office is at 54-62 Regent St >> >> >> >> _______________________________________________ >> Flashcoders mailing list >> [email protected] >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

