Peter just posted an example that shows how to create a complex rectangle using the graphics util class, http://blog.flexexamples.com/2007/09/16/drawing-complex-rectangles-in-flex-using-the-graphicsutil-class/
On 9/14/07, scalenine <[EMAIL PROTECTED]> wrote: > > There's always the EnhancedButton Skin on FlexLib: > > > http://www.wabysabi.com/blog/2007/04/13/flex-enhancedbuttonskin-component-released/ > > http://code.google.com/p/flexlib/wiki/ComponentList > > With a nice explorer: > > > http://flexlib.googlecode.com/svn/trunk/examples/EnhancedButtonSkin/EnhancedButton_Sample.swf/ > > Hope that helps. > > Juan > scalenine.com > degrafa.com > > --- In [email protected] <flexcoders%40yahoogroups.com>, Roy Tang > <[EMAIL PROTECTED]> wrote: > > > > Ok. I was just hoping there might be a built-in alternative hehe > > > > Thanks all :) > > > > Roman Protsiuk wrote: > > > > > > It should be custom skinned to do that. Programmatic skin I guess. > > > > > > R. > > > > > > On 9/14/07, *Roy Tang* <[EMAIL PROTECTED] > > > <mailto:[EMAIL PROTECTED]>> wrote: > > > > > > Thanks, but I seem to have been misunderstood. I know how to use > > > rounded > > > corners, but I want to round corners selectively, like > > > focusRoundedCorners property, i.e. have only 3 corners > rounded, etc. > > > > > > Any ideas? :) > > > > > > Maximilian Nyman wrote: > > > > > > > > Note: If you use cornerRadius you need to have > borderStyle="solid". > > > > (It could be borderThickness=0, but it has to be existent) > > > > > > > > /Max > > > > > > > > On 9/14/07, Sheriff <[EMAIL PROTECTED] > > > <mailto:sherif626% <sherif626%25>40yahoo.com> > > > > <mailto:sherif626% <sherif626%25> <mailto:sherif626% <sherif626%25>25> > 40yahoo.com > > > <http://40yahoo.com>>> wrote: > > > > > > > > > > > > > > > you can create your own skin and apply it otherwise you > can use > > > the > > > > cornerRadius > > > > > > > > > > > > > > > ----- Original Message ---- > > > > > From: Roy Tang <[EMAIL PROTECTED] > > > <mailto:roytang.sub%40gmail.com> <mailto: roytang > > > <mailto:roytang>.sub%40gmail.com>> > > > > > To: [email protected] <flexcoders%40yahoogroups.com> > > > <mailto:flexcoders% <flexcoders%25>40yahoogroups.com> <mailto: > flexcoders% > > > <mailto:flexcoders% <flexcoders%25>25>40yahoogroups.com > <http://40yahoogroups.com>> > > > > > Sent: Thursday, September 13, 2007 11:33:23 PM > > > > > Subject: [flexcoders] Rounded corners > > > > > > > > > > > > > > > > > > > > > > > > > Hi, > > > > > > > > > > Is there a way to control which corners are rounded for a > > > button or a > > > > > canvas or whatever? Something like what focusRoundedCorners > > > does, except > > > > > for the actual control, not for the focus rectangle. > > > > > > > > > > Thanks, > > > > > > > > > > Roy > > > > > > > > > > > > > > > > > > > > > > > > > > >

