Home > Flex, Swf > Setting the background image resize mode on a Spark Border container in Flex 4

Setting the background image resize mode on a Spark Border container in Flex 4

September 21st, 2009

The following example shows how you can set the background image resize mode on a Spark Border container in Flex 4 by setting the backgroundImageResizeMode style.
Full code after the jump.

<?xml version="1.0" encoding="utf-8"?>
<!– http://blog.flexexamples.com/2009/09/11/setting-the-background-image-resize-mode-on-a-spark-border-container-in-flex-4/ –>
<s:Application name="Spark_Border_backgroundImageResizeMode_test"
xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[...]

Source:Setting the background image resize mode on a Spark Border container in Flex 4

admin Flex, Swf ,