Preserve rounded corners when resizing?

Is there a way to resize a rectangle using Actionscript without skewing its rounded corners?