Hi Guarev, I really appreciate your help. I now tried what you suggested and it works!
Also, I made the project I uploaded to work as well, by just adding another path to the shell app source path: "${DOCUMENTS}/ModulesHome/locale/{locale}" Well, I feel kinda stupid for not finding this out earlier. This simply let the shell find the right locale from the module. I think this is a bit more easy to use, because you don't have to copy the module to the shell app bin dir. Thanks again! Almog Kurtser. --- In flexcoders@yahoogroups.com, "Gaurav Jain" <[EMAIL PROTECTED]> wrote: > > I looked at the project file you sent. If you follow the instructions > I sent you earlier, you should be all set. > > 1. Delete MainApp.mxml from ModulesHome project. > 2. Modify ModulesHome project by setting "do not optimize for any project" > > 3. remove the source path entry (for module home) from the main app > project. > > 4. Modify MainApp project's compile setting and add > -link-report=C:\lnkreport.xml > > 5. Modify MoulesHome compiler setting and add > -load-externs=C:\lnkreport.xm > > finally before running copy the module swf from ModuleHome to MainApp > (nect to the MainApp.swf). > > Thanks, > Gaurav > > > > --- In flexcoders@yahoogroups.com, "mydarkspoon" <mydarkspoon@> wrote: > > > > --- In flexcoders@yahoogroups.com, "Gaurav Jain" <gauravj@> wrote: > > > > > > > The flex project that uses the module puts the "module home" project > > > > in its source path, > > > Why is it required? Since you module is supposedly independent of your > > > main app, you do not need to specify it in the source path. > > > > > > > However, when compiling the main app (the shell) it complains about > > > > the module's locale files (ModuleTexts.properties for example) > > > > > > Are you using some class from the module project directly in your main > > > app? I would suggest to have main app independent of the module > > > classes, if that is not possble including <module home>/locale/en_US > > > in the source path of main app should resolve the compilation errors. > > > > > > Thanks, > > > Gaurav > > > > > > > > > Hi again, > > Putting the locales in the source path merely won't help compiling, > > because the locales are treated differently. > > I put an example siutuation online, the link is in my previous post. > > > > Thanks, > > Almog Kurtser > > >