Mega Code Archive
Using 9-slice scaling to maintain a set border, regardless of how the image itself is resized
[Embed(source="a.gif",
scaleGridTop="25", scaleGridBottom="125",
scaleGridLeft="25", scaleGridRight="125")]
[Bindable]
public var imgCls:Class;