box-o-sand/PracticingFlex/03c8-panel/Photo.mxml

22 lines
669 B
XML

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
backgroundGradientColors="[#FFFFFF, #000000]">
<mx:Panel title="Featured Photograph"
backgroundAlpha=".25"
borderAlpha="1"
headerColors="[#c7c7c7, #ffffff]"
footerColors="[#ffffff, #c7c7c7]"
paddingTop="15" paddingRight="15" paddingLeft="15" paddingBottom="15"
shadowDirection="right">
<mx:Image source="assets/animals03.jpg"
horizontalCenter="0" top="30" />
<mx:Label text="Photographed by Elsie Weil"
horizontalCenter="0" top="250" />
</mx:Panel>
</mx:Application>