|
The actionscript approach for initializing
defaults has a drawback – any referenced classes or assets will always be
linked into the final output SWF, even if they are overridden by CSS. For
simple classes and small assets, this may not be a problem; but when building
up an entire theme (like the default Halo theme), it adds up. Here are the basic steps for creating a
CSS theme and including it in your component SWC.
Glenn From: I think Glenn knows more about this than I
do, so I've cc'd him. - Gordon From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Hi Gordon, On 8/8/06, This approach is fine,
and it's what the mx.charts classes do. But for the standard Flex
components, we decided to use the defaults.css approach instead. That makes it
possible to restyle them easily by editing a single CSS file. Also, if they get
styled in this way via autogenerated code, there is no need to have the
superceded class-initializatio - Gordon From: flexcomponents@ Hi, knock knock, echo, echo
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- [flexcomponents] Styles :: Revisted once again Michael Schmalle
- RE: [flexcomponents] Styles :: Revisted once again Gordon Smith
- Re: [flexcomponents] Styles :: Revisted once aga... Michael Schmalle
- RE: [flexcomponents] Styles :: Revisted once... Gordon Smith
- RE: [flexcomponents] Styles :: Revisted ... Glenn Ruehle
- [flexcomponents] Re: Styles :: Revi... Renaun Erickson
- RE: [flexcomponents] Re: Styles... Glenn Ruehle
- [flexcomponents] Re: Styles... Renaun Erickson
- RE: [flexcomponents] Re: St... Glenn Ruehle
- Re: [flexcomponents] Re: St... Michael Schmalle
- Re: [flexcomponents] Re: St... Michael Schmalle
- [flexcomponents] Re: Styles... Renaun Erickson
- Re: [flexcomponents] Re: St... Michael Schmalle
