|
The 32k limit is a real limit in the flash
player. Larger source files can reach this limit,
and the main culprit seems to be large mxml + actionscript blocks. Ifyou
have this situation, you should “re-factor” your app to decrease
the size of the components. Split the mxml into separate mxml components,
and move the actionscript block into an AS class. AS class can be much larger
than script blocks. Now, when the Flex server generates the
mxml into as, it makes some decisions that can affect when this limit is
reached. If you believe your app is already optimized architecturally, try
adding some more code, even if it is bogus. This sometimes causes Flex to
split up the mxml differently, and stops the error. In the same vein, since running in the
debug mode adds code to the generated as files, this mode sometimes causes the
32k error, sometimes suppresses it. From: Chris Reynolds
[mailto:[EMAIL PROTECTED] i've had something similar when using a
mx:XML tag pointing to an external XML file. Flex seemed to want
to create classes for all the different node types in the external file. From:Igor
Costa [mailto:[EMAIL PROTECTED] Did you used flex builder? |
- RE: [flexcoders] Flex Bug or Not? Tracy Spratt
- RE: [flexcoders] Flex Bug or Not? Tracy Spratt

