Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Flex External Stylesheet Conventions

I know that there are questions regarding this same topic, but for HTML. What are some good conventions in regards to using external stylesheets in a Flex app.? How would you break up the stylesheets (names of stylesheets and what they include)?

like image 943
asawilliams Avatar asked Oct 13 '09 17:10

asawilliams


1 Answers

Flex compiles the external CSS file when you publish your project.

There is a way to load CSS at runtime using Flex; it can be done by compiling CSS files into SWF files and load them at runtime using StyleManager.loadStyleDeclarations.

See the LiveDocs on Stylesheets at Run Time for more info.

like image 76
MysticEarth Avatar answered Oct 26 '22 23:10

MysticEarth