[mtasc] [resolved] Multiple interfaces

Ralf Bokelberg info at bokelberg.de
Wed Dec 21 12:00:39 CET 2005


Hi Fix,

i'm not sure, what your exact problem is.
If you try to inherit from runtime loaded classes, you have to load 
them, before the inheriting classes are seen by the player. Eg. you 
could load them in frame 1 and advise MTASC to put the inheriting 
classes in frame 5

Cheers,
Ralf.

Fix aka Serg Pilguy wrote:
> Hello, Ralf,
> 
> RB> We have seen problems like this before. It has to do with inheritance
> RB> and the order of class initialization in the resulting swf. MTASC is not
> RB> able to create the correct order in every case, if some of the classes
> RB> are in the swf already.
> 
> Wait a minute.. I have some problems now in my project, that may be
> relative on it..  I excluded some classes to separate library, and
> load the library while loading application. After all the parts and
> libaries have loaded, i trying to use loaded classes.. but application
> doesn't work correctly.
> 
> There are two possible reasions:
> 
> 1) i use classes, that still not loaded at the moment
> 2) Classes are crashed (inheritance doesn't work or smth.) by reason
> you've described..
> 
> I'm almost shure, that all classes loaded when i use it, but.. what
> can i do with 2-nd problem? It's only MTASC can't create the correct
> order or neither MMC can?
> 
> Cheers,
> --
> Fix
> mailto:fix at rs.com.ua
> 
> 
> 
> 
> --
> MTASC : no more coffee break while compiling




More information about the mtasc mailing list