Trouble with 32K bytecode limit when classes not excluded

View: New views
1 Messages — Rating Filter:   Alert me  

Trouble with 32K bytecode limit when classes not excluded

by Chris Miles-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My application consists of several SWFs used as libraries. The later SWFs exclude the classes defined in SWFs that will be loaded first.
 
I have hit the following problem while checking what classes a particular SWF needs (this compile is with no classes excluded):
  Class Container excess 32K bytecode limit, please split it
 
Strangely when I exclude some classes the SWF compiles just fine.
 
I'm really puzzled why having some other classes excluded could make the Container class any smaller?
 
Chris
 
ps Is there a flag to mtasc that can print out the current class sizes?
 
 

--
MTASC : no more coffee break while compiling