Skip to main content
Known Participant
December 8, 2009
Question

How are default.css files applied (framework, spark, sparkSkins, etc.)?

  • December 8, 2009
  • 1 reply
  • 1158 views

Since the flex sdk has a few default.css files, I'm wondering how they are applied/integrated into the application.  If I create my own library with an <include-file name="defaults.css" path="myPath/defaults.css"/>, how does this fit into the 5 other css files the flex sdk is using?

Thanks for the info.

This topic has been closed for replies.

1 reply

Inspiring
December 8, 2009

I have played with this a bit. Each swc gets compiled with its own defaults.css file which presides over its contents.

I built a library project and included my own defaults.css file which allowed me to set default skins for my components.

The rub is it doesn't seem like from a defaults.css you can override any styles for components that are not actually packaged in your swc. So you can't package a swc that overrides spark button or something to that effect.

HTH,

sim