Compile a Flex CSS file into a SWF using the command line
I understand that in Flex builder we can right click on a CSS file and choose 'compile to swf' and our CSS SWFs will automatically be compiled along with the main app.
Is possible to compile the CSS file only (not with the main app) from the command line?
I want to :
This would of course be a whole lot simpler if Flex properly supported text-based CSS files (without requiring manually applying styles using AS3).
Yes, it is possible and really easy just type:
mxmlc yourFIle.css
at the command prompt
链接地址: http://www.djcxy.com/p/35430.html