AS3 Scale9Grid for library objects


I have a rounded rectangle movieclip in the library. I want to have multiple instances of the same on stage, each with different dimensions. But i do not want to loose out the perfect rounds on the edges on each instance. Can you pls help me with this in AS3.