Re: [flexcoders] Re: Bitmap with Scale9 in custom border

2010-02-07 Thread Steffen Beyer
On Fri, 5 Feb 2010 14:33:40 +, Steffen Beyer wrote: That would not be a problem. The point is, scaling is not applied at all. border.width = w; ...has no effect! Next try: protected function drawBorder(w:Number, h:Number):void { if (w 0) { var g:Graphics =

Re: [flexcoders] Re: Bitmap with Scale9 in custom border

2010-02-05 Thread Steffen Beyer
On Thu, 04 Feb 2010 14:08:52 -, Amy wrote: Set the scale9 grid on the graphic asset so it does what it was (i.e. set the top or bottom grid piece to be all the way at the top or bottom). That would not be a problem. The point is, scaling is not applied at all. border.width = w;

[flexcoders] Re: Bitmap with Scale9 in custom border

2010-02-04 Thread Amy
--- In flexcoders@yahoogroups.com, Steffen Beyer sbe...@... wrote: Hi, I'm trying to implement a custom border (based on Border) with a bitmap at its bottom. Only the middle part of the bitmap must be stretched (kinda Scale3). As Border is based on a FlexShape, I can't add an Image