Category Archives: SWFLoader

Setting a dynamically loaded background image fill on a Spark Border container in Flex 4

In a previous example, “Setting a background image fill on a Spark Border container in Flex 4”, we saw how you could set a background image fill on a Spark Border container in Flex 4 by setting the backgroundImage style to an embedded image.

The following example shows how you can use a dynamically loaded image as a Spark Border container background by using an MX SWFLoader control and setting the backgroundImage style to the SWFLoader control’s content property.

Full code after the jump.

Continue reading Setting a dynamically loaded background image fill on a Spark Border container in Flex 4