[flexcoders] Re: CSS type selectors are not supported in components

2007-01-11 Thread sbyrne_dorado
Well, I am sure if I comment out the mx:Style source=.../ in the
top level application, that the warnings go away.  

Is it possible that the compiler is being overly picky, and only
allows literally mx:Application as the root element, and not some
class dervived from mx:Application?  I know in the past that Flex made
mx:Application more equal than other classes, such that the debugger
wouldnt' recognize subclasses of it as being legitimate top level
application classes.

--- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote:

 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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of sbyrne_dorado
 Sent: Wednesday, January 10, 2007 8:43 PM
 To: flexcoders@yahoogroups.com
 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 flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , Gordon Smith gosmith@ wrote:
 
  Flex 2 doesn't support per-component selectors. Put all CSS selectors
 in
  the mx:Application, not in MXML components.
  
  
  
  - Gordon
  
  
  
  
  
  From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of Tansht
  Sent: Thursday, July 20, 2006 1:06 AM
  To: flexcoders@yahoogroups.com 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
 





RE: [flexcoders] Re: CSS type selectors are not supported in components

2007-01-11 Thread Tracy Spratt
I know for sure that you can still extend/subclass Application and use
that subclass as the root tag for an application.

 

Tracy

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sbyrne_dorado
Sent: Thursday, January 11, 2007 4:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: CSS type selectors are not supported in
components

 

Well, I am sure if I comment out the mx:Style source=.../ in the
top level application, that the warnings go away. 

Is it possible that the compiler is being overly picky, and only
allows literally mx:Application as the root element, and not some
class dervived from mx:Application? I know in the past that Flex made
mx:Application more equal than other classes, such that the debugger
wouldnt' recognize subclasses of it as being legitimate top level
application classes.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Gordon Smith [EMAIL PROTECTED] wrote:

 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: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of sbyrne_dorado
 Sent: Wednesday, January 10, 2007 8:43 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 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 flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 , Gordon Smith gosmith@ wrote:
 
  Flex 2 doesn't support per-component selectors. Put all CSS
selectors
 in
  the mx:Application, not in MXML components.
  
  
  
  - Gordon
  
  
  
  
  
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of Tansht
  Sent: Thursday, July 20, 2006 1:06 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
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
 


 



RE: [flexcoders] Re: CSS type selectors are not supported in components

2007-01-11 Thread Gordon Smith
But if you do
 
MyApp.mxml:
 
mx:BetterApplication
   mx:Style
   ...
   /mx:Style
/mx:BetterApplication
 
do you get a compilation error because the compiler thinks that
BetterApplication is a component and components can't have mx:Style?
 
- Gordon



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Tracy Spratt
Sent: Thursday, January 11, 2007 9:34 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: CSS type selectors are not supported in
components



I know for sure that you can still extend/subclass Application and use
that subclass as the root tag for an application.

Tracy



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sbyrne_dorado
Sent: Thursday, January 11, 2007 4:13 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: CSS type selectors are not supported in
components

Well, I am sure if I comment out the mx:Style source=.../ in the
top level application, that the warnings go away. 

Is it possible that the compiler is being overly picky, and only
allows literally mx:Application as the root element, and not some
class dervived from mx:Application? I know in the past that Flex made
mx:Application more equal than other classes, such that the debugger
wouldnt' recognize subclasses of it as being legitimate top level
application classes.

--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Gordon Smith [EMAIL PROTECTED] wrote:

 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: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of sbyrne_dorado
 Sent: Wednesday, January 10, 2007 8:43 PM
 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com 
 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 flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 , Gordon Smith gosmith@ wrote:
 
  Flex 2 doesn't support per-component selectors. Put all CSS
selectors
 in
  the mx:Application, not in MXML components.
  
  
  
  - Gordon
  
  
  
  
  
  From: flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 [mailto:flexcoders@yahoogroups.com
mailto:flexcoders%40yahoogroups.com
mailto:flexcoders%40yahoogroups.com
 ] On
  Behalf Of Tansht
  Sent: Thursday, July 20, 2006 1:06 AM
  To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
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
 


 


[flexcoders] Re: CSS type selectors are not supported in components

2007-01-10 Thread sbyrne_dorado
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 flexcoders@yahoogroups.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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of Tansht
 Sent: Thursday, July 20, 2006 1:06 AM
 To: flexcoders@yahoogroups.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





RE: [flexcoders] Re: CSS type selectors are not supported in components

2007-01-10 Thread Gordon Smith
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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of sbyrne_dorado
Sent: Wednesday, January 10, 2007 8:43 PM
To: flexcoders@yahoogroups.com
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 flexcoders@yahoogroups.com 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: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
[mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
] On
 Behalf Of Tansht
 Sent: Thursday, July 20, 2006 1:06 AM
 To: flexcoders@yahoogroups.com 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