It's worth a reminder that the 32K limit will become an 8MB limit in Flex 2 / Flash Player 8.5, so these hassles will basically go away before too much longer.

 

- Gordon

 


From: [email protected] [mailto:[email protected]] On Behalf Of Tracy Spratt
Sent: Tuesday, January 24, 2006 4:56 PM
To: [email protected]
Subject: RE: [flexcoders] 32k limit

 

Yes.  The flex compiler makes some decisions on how to break up your code into AS classes.  Sometime it screws up and generates a class that hits the limit.  In your case, using that flex config setting causes some extra code to be included in the generation process which causes the compiler to make a bad decision.  In some cases, the debug code will fix the 32k problem.

 

This is the classic case for the bogus code trick.  You need to make the compiler make a different decision.

 

Note that I have no knowledge of the generator/compiler internals and this is just my best guess at what is happening.

 

The bogus code trick will work though.

 

Tracy

 


From: [email protected] [mailto:[email protected]] On Behalf Of Johannes Nel
Sent: Tuesday, January 24, 2006 4:36 PM
To: [email protected]
Subject: [flexcoders] 32k limit

 

yes yes we all know why bla bla

but i do not have a class that exceeds this limit, and this warning is only thrown when <generate-debug-swfs>true</generate-debug-swfs>is set in in the flex-config file... any ideas?
 (i am compiling with the mxmlc -g as well

thanks
johan

--
j:pn




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to