I'm trying to find out the best way to skin a Panel component in Flex 4. The preferable method would be using graphics from Illustrator CS4 which I have already tried by exporting an .fxg file into Flex. The problem i'm having isnt really getting the graphics into the panel, its making it so that when the panels resize in the application, my skin doest distort ie. the rounded corners stay the same ratio.
I have attached a simple panel image I have created that i would like to be used as a panel component skin to give you and idea of what im trying to acheive.
Any help would be appriciated.