<?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2008/09/24/displaying-a-drop-shadow-behind-a-vbox-container-in-flex/ --> <mx:Application name="VBox_dropShadowEnabled_test" xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white"> <mx:Style> VBox { dropShadowEnabled: true; borderStyle: solid; borderThickness: 0; backgroundColor: red; } </mx:Style> <mx:VBox id="vBox" width="100%" height="100%"> <mx:Label text="{Capabilities.version}" fontSize="64" /> </mx:VBox> </mx:Application>