Re: [Flashcoders] mtasc and keep

2007-08-05 Thread Hans Wichman
Hi Ron, my swf contains v2 components, including their classes. Im compiling against the v2 component framework in intrinsic format so i need the classes in the swf. In addition we use a hybrid kind of project setup where u you can work in either the flash ide or in flashdevelop. This is not

Re: [Flashcoders] mtasc and keep

2007-08-05 Thread Brian Williams
As you have discovered, changing class hierarchy and -keep don't go very well together. Classes need to be initialized in the proper order, or the prototype chain isn't set up correctly. When you use the keep flag, mtasc keeps all existing classes (and preserves their order), and then adds all

Re: [Flashcoders] mtasc and keep

2007-08-04 Thread Ron Wheeler
It is not clear why any classes are in the swf from the IDE. Can you not remove your classes from the fla? That will make you life simpler and get your code into one IDE rather than spread out over 2. What is the error message? Ron Hans Wichman wrote: Hi list, can someone point me to a

[Flashcoders] mtasc and keep

2007-08-03 Thread Hans Wichman
Hi list, can someone point me to a clear explanation of the -keep flag in mtasc? The only info I can find is that -keep causes precompiled classes in the injection swf to be kept and that this may result in some classes being added twice, but only the first class definition will be used.