--- In [email protected], Pan Troglodytes <chimpathe...@...> 
wrote:
>
> Any hint on what that topic might be under in the docs?  I'm having 
trouble
> finding it.

What Alex is referring to is here:
http://livedocs.adobe.com/flex/3/html/skinstyle_3.html

This works ok for styles that you can set without needing to have a 
class reference, but it falls down when you're using an actual skin, 
which needs a class.  I couldn't find a way to do what you're looking 
to do without either baking in a reference to the skin class into the 
component or just knowing that you've got to provide that class in a 
CSS style declaration.

The way the Flex components get away with not baking in a reference 
is through the defaults.css file that comes with Flex.

You may find that providing your own defaults.css file will do what 
you want, but I don't know that it saves you anything, since I think 
the class still gets compiled into your swc 
http://livedocs.adobe.com/flex/3/html/ascomponents_8.html.  Maybe 
someone with more experience than me can tell you what advantage you 
can get by doing this.

HTH;

Amy

Reply via email to