Compile css to swfs
My application loads themes as multiple swfs at runtime. Is there a way to compile multiple css files into swfs with GradleFX, some of which live in the same directory?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Yennick Trevels on 24 Sep, 2014 04:56 PM
There's nothing build-in for this.
One way to do this would be to create a seperate project for each css theme, with a project type "swf" and framework linking off. But that would probably be overkill.
Another way would be to create a custom function which will call the mxmlc compiler, and then call that function like:
This is completely untested code, but it should be something similar to this.
2 Posted by CTrain on 24 Sep, 2014 07:26 PM
Thanks for the reply. I did indeed end up taking a similar approach and it's working just fine.