That's kind of a heavyweight solution. I'd recommend subclassing Label and overriding updateDisplayList() to draw a border.

 

- Gordon

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Sergey Kovalyov
Sent: Saturday, August 12, 2006 7:04 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Draw Label Border

 

Put label into the Box:

 

<mx:HBox borderStyle="solid">

<mx:Label text="Label" />

</mx:HBox>

 

On 8/12/06, Kumar <kumarpal.jain@infobeans.com> wrote:

Hi All,

I am finding it difficult to draw border of label. I am trying to use flash API for drawing rectangle in place of border.

Can some one help me out?

 

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





YAHOO! GROUPS LINKS




__,_._,___

Reply via email to