Not sure what is going on, but the renderers get their styleNames set by the List class. I see you trying to set it in two other places as well. Not sure who's going to win in that case.
Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: [email protected] [mailto:[email protected]] On Behalf Of flexaustin Sent: Tuesday, June 09, 2009 3:51 PM To: [email protected] Subject: [flexcoders] Itemrenderers style? Below is my custom item renderer, but the styles in my style source do not show up when the itemrenderer is used in a datagrid. I have a tootlip style and it shows up every where in the app, but inside the itemrender. TIA <?xml version="1.0" encoding="utf-8"?> <LinkButton xmlns="http://ns.adobe.com/mxml/2009" styleName="callOutHeader" color="#000000" maxWidth="270" label="{da...@name}" labelPlacement="left" toolTip="IP Adress : {da...@ip}" left="5" rollOver="{event.target.setStyle('textDecoration', 'underline') }" rollOut="{event.target..setStyle('textDecoration', 'none')}"> <Style source="assets/style/style.css" /> <Script> <![CDATA[ public function handleClick(e:Event):void{ navigateToURL( new URLRequest( true ? 'www.google.com' ), '_self' ); } override protected function commitProperties():void{ this.styleName = this.className; } ]]> </Script> </LinkButton>

