[Forward]How to compile CSS file in Flash Builder

It's so easy.

Step1. Right click on a CSS file.
Step2. Click "Compile CSS to SWF"

Then compiled SWF is output to "bin" directory. You will notice "Compile CSS to SWF" menu is toggled. So when you compile MXML application, automatically CSS file is compiled too. This is very useful!

This setting is in ".actionScriptProperties" file. There is "buildCSSFiles" -> "buildCSSFileEntry" tag. If you delete/move the CSS file without turning off "Compile CSS to SWF", there still remains old setting.

你可能感兴趣的:(css,Flash)