import mx.events.SliderEvent;
import spark.components.ResizeMode;
private function toggleResizeMode():void
{
group.resizeMode = ( group.resizeMode == ResizeMode.NO_SCALE )
? group.resizeMode = ResizeMode.SCALE : group.resizeMode = ResizeMode.NO_SCALE;
}
width="{slider.value}" height="{slider.value}"
resizeMode="{ResizeMode.NO_SCALE}">