Thank you all for your comments.
Fall X : I know about the * logic, but that's not really the problem.
In fact, what I consider as a "project" is a collection of swf
files, and each swf file contain a collection of classes.
I use a special class to build the inhritance between all my classes
at run time. So, a class is NEVER in 2 differents swf files,
there is no repetition. That's something very important for me.
With Flex, each swf include all the classes which are needed.
I had a look to one of the sample on Adobe site, and they effectively
load the same collection of classes each time they want to load
a new SWF in their main SWF. Thus, you load many "200 ko" each time
you want to include a new interface, I think that's simply ridiculous...
Diogo : So I understand that there will never be any way in the future
to avoid duplication of classes in complex projects ? It's terrible !
astgtciv : I know about the dynamic keyword, but that's not really what
I need in fact. In your example, you add a method, but you
do not modify the inheritance... Maybe there is an hidden keyword for
By the way, I consider that the _global keyword is cool, as I store all
my classes in a "_global.com.namespace.Classes" structure, and in order
to avoid the inclusion of classes during the compilation, I use that
syntax : _global.com.myNamespace.MyClass