On 11/22/05, Johannes Nel <[EMAIL PROTECTED]> wrote:

>  in flex 1.5 when i compile in a sylesheet using the following that
[snip]

>  SomeName{
>  top-margin:5;
>  botton-margin:6;
>  }

>  then if i have some mxml component somewher in my app named SomeName

as of today, to get type selectors working for your own components,
you have to set the component's "className" property to the type name
you want to use.  In an AS component, you can do this in the
constructor.  In an MXML component, you can assign it on the root tag:

  <SomeName className="SomeName" ... >
    ...
  </SomeName>

we're hoping this requirement will go away before the release.

Manish


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page
http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to