VBox css style for background image and size
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> @namespace mx "http://www.adobe.com/2006/mxml"; mx|VBox { backgroundImage: Embed("logo.png"); backgroundSize: "100%"; } </mx:Style> <mx:VBox height="200" width="200" /> </mx:Application>