<?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" width="500" height="500" xmlns:components="components.*" viewSourceURL="srcview/index.html"> <fx:Script> <![CDATA[ [Embed("images/Harbor.jpg")] [Bindable]private var Harbor:Class; ]]> </fx:Script> <s:Rect width="100%" height="100%"> <s:fill> <s:LinearGradient rotation="90"> <s:GradientEntry color="0x404040"/> <s:GradientEntry color="0xf0f0f0"/> </s:LinearGradient> </s:fill> </s:Rect> <components:ReflexionContainer id="picture" source="{Harbor}" imageWidth="400" imageHeight="200" horizontalCenter="0" verticalCenter="0"/> </s:Application>