Hey Guys, Today I made a 9 slice scaling class specially for you;).
You can pass it a TextureAtlas which needs to contain 9 images. They should be sorted as following: [TL, TM, TR, ML, MM, MR, BL, BM, BR]
Its a regualar starling sprite, so you wont need any details on that.
Once you instantiated it, you can set its width with setWidth() or setHeight()
I also made sure he caches and reuses generated images of slice sets, so that will come in handy for button states and other UI related stuff:).
Now I know it can be done better (as always), so if you guys would like to improve it, please do:).
You can download the class here: http://www.gryphoninteractive.nl/downloads/NineSliceImage.zip