No so clearly Julien,
if(I create a rectangle with exact the same size of my sprite, it
throw me that error. I bust make it at least 1 pixel small. It´s not
on the docs :\

On 7/20/06, Julien Vignali <[EMAIL PROTECTED]> wrote:
Check the Flash docs... It's explained ;-)

mcRoundedRect.scale9Grid = new Rectangle(x1, y1, x2, y2);


Marcos Neves a écrit :
> How can I use programaticlly scale9grid to don´t deform a roundRect when
> scaled?
> I´know how it works at design time on flash.
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to