Check out the Latest Articles:
Compile CSS to SWF memory bottleneck

If you work with Flex and Skins you may use the option “Compile CSS to SWF”, this is a good solution but I recently found that as you add more resources to the CSS file, Eclipse may suffer a memory bottleneck while compiling it.

To solve that problem I just decided to compile the CSS directly with mxmlc, and disable “Compile CSS to SWF” option. This will recover the compiling time for the application and it shouldn’t crash again.

The only thing you need to do that is to have mxmlc on the path and write this instruction on the shell / terminal:

mxmlc [path/to/file]/file_name.css

This should generate a file_name.swf on the same folder.

The only problem of this solution is to not forgot to compile the file every time you make some change!

VN:F [1.9.7_1111]
Rating: 4.0/10 (3 votes cast)
VN:F [1.9.7_1111]
Rating: -2 (from 2 votes)
Compile CSS to SWF memory bottleneck, 4.0 out of 10 based on 3 ratings

Related posts:

  1. New Tool: Flex PMD
  2. Flex swf optimization ( I )



Spam Protection by WP-SpamFree