I tried adding <mx:Style source="main.css"/> to the component but get
a compiler warning "Warning: CSS type selectors are not supported in
components."
Perhaps you were suggesting setStyle but it seems cumbersome to have
to do it through code on every component.
--- In [email protected], Bjorn Schultheiss
<[EMAIL PROTECTED]> wrote:
>
> load the css in the component
>
> On 21/12/2006, at 4:06 PM, graysonpierce wrote:
>
> > css"/>
> >
> > In this application I have a component that has a button that sets a
> > styleName to a name defined with dot in main.css like this:
> >
>