You need to read the section titled "Summary and Background".

In that section it states "Cascading Style Sheets (CSS) are used in Flex to 
apply styles to visual components on the application display list. To-date 
we've supported simple type selectors and universal class selectors. Customers 
have requested more advanced CSS selectors and in Gumbo we plan to provide two 
new selector types - id selectors and descendant selectors - as well as fix 
class selectors so that they can be a condition of type selectors."

Now that you know ID selectors will be added in Gumbo you can do a Google 
search on "Flex Gumbo" and find out that Gumbo is the code name for the next 
version of Flex (ie. Flex 4/Flash Builder 4). Gumbo was defined in July 2008 
and the first Beta was available in June 2009.

If you wish to use ID selectors you can download the Flex 4 SDK and target 
Flash Player 10.

--- In [email protected], Joel Stransky <stranskydes...@...> wrote:
>
> I'm using 3.4
> That article I linked to was last edited april 4th 2009. I'm new to flex so
> I just assumed that was an accurate spec.
> 
> On Thu, Nov 19, 2009 at 9:36 AM, valdhor <valdhorli...@...>wrote:
> 
> >
> >
> > What version of the SDK are you using?
> >
> > From what I can ascertain, ID selectors are new as of FB4.
> >
> >
> > --- In [email protected] <flexcoders%40yahoogroups.com>, Joel
> > Stransky <stranskydesign@> wrote:
> > >
> > > How is it that this page claims id selectors are valid yet Flex Builder
> > > balks when I try to use them?
> > > http://opensource.adobe.com/wiki/display/flexsdk/CSS+Advanced+Selectors
> > >
> > > According to the article, I should be able to do this.
> > > in HelloFlex.mxml
> > > <?xml version="1.0" encoding="utf-8"?>
> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";>
> > > <mx:Canvas id="theCanvas" />
> > > </mx:Application>
> > >
> > > in HelloFlex.css
> > > #theCanvas{}
> > >
> > > What gives?
> > >
> > > --
> > > --Joel Stransky
> > > stranskydesign.com
> > >
> >
> >  
> >
> 
> 
> 
> -- 
> --Joel Stransky
> stranskydesign.com
>


Reply via email to