You can draw your own graphic and not call super.

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of markgoldin_2000
Sent: Tuesday, June 24, 2008 10:02 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Question about drawSelectionIndicator

 

Can I make it not to? So the width will effect selection spot too?

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Because the super class ignores width.
> 
> 
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>

[mailto:flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of markgoldin_2000
> Sent: Tuesday, June 24, 2008 7:26 AM
> To: flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] Question about drawSelectionIndicator
> 
> 
> 
> Here is mmy code:
> override protected function drawSelectionIndicator
(indicator:Sprite, 
> x:Number, y:Number, width:Number, height:Number, color:uint, 
> itemRenderer:IListItemRenderer):void 
> { 
> super.drawSelectionIndicator(indicator, x, y, width, height, color, 
> itemRenderer);
> }
> Providing a different value for the height will create a different 
> selection spot on the screen, but a different width does not seem 
to be 
> of any effect. Even a zero does not change it. It still selects the 
> whole row, no matter what. Can someone explain why is that?
> 
> Thanks
>

 

Reply via email to