I'm building an iOS Flash game with IntelliJ 12.1.3 that loads all it's assets at runtime (this is best practice). The assets folder is a source root containing hundreds of files and since I have 'copy resource files to output folder' checked, all my assets end up next to my SWF file, and I can access them at runtime. Great!
However, now I want to do a web version of my game, so I create a new web module, and add the assets folder as a source root, but wham! I get smacked with "two modules in a project cannot share the same content root".
Can someone please help me understand how modules should share assets that need to be copied to the output folder? I've tried setting up the assets as a Global Library, but with this approach, they wouldn't copy to the output folder - please help!