In a previous example, “Setting the fill mode on a Spark Image control in Flex Hero”, we saw how you could set the fill mode on a Spark Image control in Flex Hero by setting the fillMode
property to one of the static constants in the mx.graphics.BitmapFillMode class.
The following example shows how you can set the scale mode on a Spark Image control in Flex Hero by setting the fillMode
property to “scale” and setting the scaleMode
property to one of the static constants in the mx.graphics.BitmapScaleMode class.
Continue reading Setting the scale mode on a Spark Image control in Flex Hero