<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<!--
<mx:Style>
TextArea {
font-size:36px;
font-weight:bold;
color:blue;
}
</mx:Style>
-->
<mx:Style source="test.css"/>
<!--
<mx:Script>
<![CDATA[
public function close():void {
myPanel.visible=false;
}
]]>
</mx:Script>
-->
<mx:Script source="myControls.as"/>
<mx:Fade id="myFade"/>
<mx:Panel id="myPanel" x="10" y="10" width="80%" height="80%" layout="absolute" hideEffect="{myFade}">
<mx:TextArea x="10" y="20" width="445" height="238" text="hello flex."/>
<mx:Button x="492" y="255" label="close" click="close()" />
</mx:Panel>
</mx:Application>