apache-flexflex4flex-sparkhalo

Flex-4 Beta2 : Background image stopped working


After upgrading a project from Flex4 Beta1 to Beta2, I've found that the background-image style is no longer supported on Halo components.

Eg:

<mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml"
         backgroundImage="@Embed(source='myImage.png')" />

Note that jira issue SDK-23050 points out the following :

backgroundImage is not supported for Spark skins.

But this is not using a Spark skin, just a standard Halo component.

Anyone got any ideas?


Solution

  • I ended up changing backgroundImage to backgroundSkin, and that solved the problem.