RE: [Flashcoders] Can't get rid of halo rectangle

2006-03-22 Thread Keith Takayesu
To: Flashcoders mailing list Subject: Re: [Flashcoders] Can't get rid of halo rectangle try Button.prototype.drawFocus = undefined; -Nehal On 3/22/06, Keith Takayesu [EMAIL PROTECTED] wrote: I'm trying to assign custom icons to a Button dynamically in a custom component. Here is my code snippet

Re: [Flashcoders] Can't get rid of halo rectangle

2006-03-22 Thread Karthik
On 22/03/06, Keith Takayesu [EMAIL PROTECTED] wrote: Thanks Nehal, but it didn't work. I wouldn't want it to affect other buttons on the stage, anyways. Like I said, the two methods that I've tried don't seem to give consistent results. try: instance_name.drawFocus = null; // -- This is a

[Flashcoders] Can't get rid of halo rectangle

2006-03-21 Thread Keith Takayesu
I'm trying to assign custom icons to a Button dynamically in a custom component. Here is my code snippet: mybutton = createClassObject ( Button, mybutton , this.startDepth++, {_x:myx ,_y:myy,_width:15.9,_height:14.7, falseOverIcon:btnCalendarViewFalseOverSkin,falseUpIcon:btnCalendarVie

Re: [Flashcoders] Can't get rid of halo rectangle

2006-03-21 Thread Nehal Gandhi
try Button.prototype.drawFocus = undefined; -Nehal On 3/22/06, Keith Takayesu [EMAIL PROTECTED] wrote: I'm trying to assign custom icons to a Button dynamically in a custom component. Here is my code snippet: mybutton = createClassObject ( Button, mybutton , this.startDepth++, {_x:myx