No, it's exactly the following:
<mx:Application layout="vertical" height="100%" width="100%"
creationComplete="App.shell.onApplicationStart(this)"
xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style source="assets/css/GlobalStyle.css" />
.....some components.....
</mx:Application>
The wierd thing is that it's not just one warning, it's several of the
same warnings and everytime I compile it's as if it arbitrarily adds
a few more warning messages give or take. I've tried cleaning and some
of them will disappear but never all of them. By the end of the day, I
usually have about 20 to 30 warning messages. It makes it hard to
quickly pick up the warning messages I need to get.
I've looked through all my components to see if I can find a reference
to a stylesheet and haven't found it. I probably missed it though.
Thanks,
Brian..
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon Smith
Sent: Wednesday, February 07, 2007 1:48 PM
To: [email protected]
Subject: RE: [flexcoders] WARNING: css type selectors are not supported
in components?
Is your <mx:Style src="style.css"> tag inside an <mx:Application> tag or
inside something like <mx:ApplicationShell>?
If it is the latter, I think the MXML compiler thinks
<mx:ApplicationShell> is a component rather than an application.
- Gordon
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Brian Holmes
Sent: Wednesday, February 07, 2007 12:21 PM
To: [email protected]
Subject: RE: [flexcoders] WARNING: css type selectors are not supported
in components?
Yeah, I know,
I don't have any of that in any components. The only thing is in my
application fine, i have a <mx:style src="style.css" /> reference to my
style sheet.
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Michael Schmalle
Sent: Wednesday, February 07, 2007 1:15 PM
To: [email protected]
Subject: Re: [flexcoders] WARNING: css type selectors are not supported
in components?
Hi,
In a custom component you cannot have;
Button {
...
}
You have to specify them in the Application.
Peace, Mike
On 2/7/07, Brian Holmes <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> > wrote:
I'm getting this warning message since I upgrade to FB 2.01 and i can't
seem to get rid of it. I don't have any inline css,
but I do have a reference to a style sheet in my application shell.
Anybody else out there experiencing this?
B..
________________________________
***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information.
***
--
Teoti Graphix
http://www.teotigraphix.com <http://www.teotigraphix.com>
Blog - Flex2Components
http://www.flex2components.com <http://www.flex2components.com>
You can find more by solving the problem then by 'asking the question'.
________________________________
***
The information in this e-mail is confidential and intended solely for
the individual or entity to whom it is addressed. If you have received
this e-mail in error please notify the sender by return e-mail delete
this e-mail and refrain from any disclosure or action based on the
information.
***
***
The information in this e-mail is confidential and intended solely for the
individual or entity to whom it is addressed. If you have received this e-mail
in error please notify the sender by return e-mail delete this e-mail and
refrain from any disclosure or action based on the information.
***