Yeah that -include-libraries worked. Strange as it isn't documented in the compc help, or the online docs for compc. How did you come about finding that?
Thanks for that tip about resource bundles. -Aaron On Fri, Dec 19, 2008 at 11:02 AM, Manish Jethani <[email protected]> wrote: > On Fri, Dec 19, 2008 at 3:36 PM, aaron smith > <[email protected]> wrote: >> -Does anyone know what the "-include-resource-bundles" switch does with >> compc? > > It includes the specified resource bundles and any dependencies. > > compc -output myResources_en_US.swc \ > -include-resource-bundles foo.bar.tooltips -locale=en_US > > Includes foo/bar/tooltips.properties. If you have any 'Embed' metadata > in the properties file where you're including some other objects > (SWFs, PNGs, etc.), those objects will be included too. Basically this > is for compiling a resource bundle SWC in a specific locale. e.g. > myResources_en_US.swc. You can then use this SWC to compile your main > application by putting it in mxmlc's library path. > >> -Why does compc expose all of the metadata switches and compiler >> switches when most don't apply? > > :-/ > >> -Is there a way to create a new swc, and include classes from other >> swcs in the new one? > > I think you can include _all_ classes from another SWC by using > -include-libraries but I'm not sure about including specific classes. > > Manish > >

