I'll answer my own question...and apologize for the spam! sorry

This did the trick

package com.mycompany.controls
{
        import mx.controls.List;
        import flash.display.Sprite;
        import mx.controls.listClasses.IListItemRenderer;
        
        public class CleanList extends List
        {
                public function CleanList()
                {
                        super();
                }
                
                override protected function 
drawHighlightIndicator(indicator:Sprite,
x:Number, y:Number, width:Number, height:Number, color:uint,
itemRenderer:IListItemRenderer):void
            {
                        // do nothing
            }
        
            override protected function
drawSelectionIndicator(indicator:Sprite, x:Number, y:Number,
width:Number, height:Number, color:uint,
itemRenderer:IListItemRenderer):void
            {
                        // do nothing
            }
        
        }
}

On 10/15/07, Rick Schmitty <[EMAIL PROTECTED]> wrote:
> Have a rather custom list that a client wants to maintain the
> scrollbar and drag and drop, but doesnt want the light blue highlight
> for the on mouse over and selected
>
> Would there  be  away to remove this or set it to clear?  I see you
> can set the style color but not sure how to remove it all together
>

Reply via email to