You need to put the label within an object (panel or form) and then you can access the graphics properties within actionscript to draw a border using the lineTo function - dont forget the id though otherwise Flex wont know what you are taking about.
Alternatively put it in a box :) But hey, why do things the easy way eh? Regards Samuel --- In flexcoders@yahoogroups.com, "Sergey Kovalyov" <[EMAIL PROTECTED]> wrote: > > Put label into the Box: > > <mx:HBox borderStyle="solid"> > <mx:Label text="Label" /> > </mx:HBox> > > > On 8/12/06, Kumar <[EMAIL PROTECTED]> 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/