Re: [Flashcoders] Can't set selectionColor property of List fromwithinclass

2007-06-01 Thread Alistair Colling

Muzak! thanks so much this is a massive help :) Have a great weekend!

On 1 Jun 2007, at 17:25, Muzak wrote:


_list.drawFocus = null;


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Can't set selectionColor property of List fromwithinclass

2007-06-01 Thread Muzak
I don't think there's an implemented/documented way of doing this.
Disable it on the UIComponent class (which will disable the focus rectangle for 
all components) by overriding the drawFocus method.

import mx.core.UIComponent;
UIComponent.prototype.drawFocus = null;

Or on the component instance:

_list.drawFocus = null;

regards,
Muzak

- Original Message - 
From: "Alistair Colling" <[EMAIL PROTECTED]>
To: 
Sent: Friday, June 01, 2007 4:15 PM
Subject: Re: [Flashcoders] Can't set selectionColor property of List 
fromwithinclass


> Thanks Muzak, that works great. I am now trying to find what property  
> controls the green glow that appears around the whole 
> listbox when  it's hi-lighted as I want to lose that too and it doesn't seem 
> to be  mentioned in the docs.
>
> Cheers!
> Ali


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com