>Is there some salient difference between inline inclusion vs. external
definitions?
 
No. Writing <mx:Style source="..."/> should be the same as putting the
contents of the CSS file between <mx:Style> and </mx:Style>.
 
Are you sure you have <mx:Style> only in <mx:Application> and not in any
of the components that your application is using?
 
- Gordon

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of sbyrne_dorado
Sent: Wednesday, January 10, 2007 8:43 PM
To: [email protected]
Subject: [flexcoders] Re: CSS type selectors are not supported in
components



I'm getting this error message from within an mx:Application (well a
subclass thereof) that includes things via <mx:Style source="..."/>. 
Is there some salient difference between inline inclusion vs. external
definitions? The docs don't seem to indicate so...

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Gordon Smith" <[EMAIL PROTECTED]> wrote:
>
> Flex 2 doesn't support per-component selectors. Put all CSS selectors
in
> the <mx:Application>, not in MXML components.
> 
> 
> 
> - Gordon
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of Tansht
> Sent: Thursday, July 20, 2006 1:06 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] CSS type selectors are not supported in
components
> 
> 
> 
> Hi, there
> I'm experiencing a problem. I've checked FLEX 2 livedoc and found out 
> all styles I defined in an external css files are supported style. 
> However, the warning message "CSS type selectors are not supported in 
> components" appeared when I run my application. Does any one know how
I 
> can resolve it?
> Thanks in advance
> David
>



 

Reply via email to