RE: [flexcoders] Itemrenderers style?

2009-06-10 Thread Jake Churchill
I've had issues with this before that were solved by putting the style stuff
inside updateDisplayList.  I'm not sure if that's better or worse than
putting it in commitProperties.

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103
-Original Message-
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Alex Harui
Sent: Wednesday, June 10, 2009 11:53 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Itemrenderers style?



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 <http://blogs.adobe.com/aharui> 

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of flexaustin
Sent: Tuesday, June 09, 2009 3:51 PM
To: flexcoders@yahoogroups.com
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


http://ns.adobe.com/mxml/2009
<http://ns.adobe.com/mxml/2009> "
styleName="callOutHeader"
color="#00"
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')}">



<![CDATA[
public function handleClick(e:Event):void{
navigateToURL( new URLRequest( true ? 'www.google.com' ), '_self' );
}

override protected function commitProperties():void{
this.styleName = this.className;
}
]]>






No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.339 / Virus Database: 270.12.59/2165 - Release Date: 06/10/09
05:52:00




RE: [flexcoders] Itemrenderers style?

2009-06-10 Thread Alex Harui
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: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of flexaustin
Sent: Tuesday, June 09, 2009 3:51 PM
To: flexcoders@yahoogroups.com
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


http://ns.adobe.com/mxml/2009";
styleName="callOutHeader"
color="#00"
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')}">



<![CDATA[
public function handleClick(e:Event):void{
navigateToURL( new URLRequest( true ? 'www.google.com' ), '_self' );
}

override protected function commitProperties():void{
this.styleName = this.className;
}
]]>






[flexcoders] Itemrenderers style?

2009-06-09 Thread flexaustin
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


http://ns.adobe.com/mxml/2009";
styleName="callOutHeader"
color="#00"
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')}">