So, creating a rounded rectangle in as2 required using a custom pseudo-class in the Flash drawing API (I used mc.DrawRect from the developer center on Adobe’s site before it came w/ Flash 8). It allowed you to make rounded rectangles through code. In AS3, you can create a rounded rectangle with the included flash.display.Graphics class, which contains the methods drawRect(), drawRoundRect(), drawEllipses(), and drawCircle(). Easy money. Now onto figuring the newest method to scale a rounded rectangle.
Posted by: Actionscription | June 21, 2008