Well, maybe the DIV option is totally wrong and I explained my needs very bad too.
In AS3 I can deploy multiple SWFs: when I run the main SWF it can load external SWfs, containing assets or even complete applications that can be put and rendered on the same stage as the one of the main SWF.
How can I do the same thing in Haxe/Flambe when targeting HTML5? I can deploy multiple entities representing my components (i.e.: the main game, the toolbar, the subgames etc), but how do I run/load one from inside another one?
We need to keep components separate, as they are maintained by different coders: updating one component should not force recompiling all applications using it. Is it possible or I have to surrender and create a monolithic application?