<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Panel x="450" y="175" width="400" height="300" layout="absolute"
title="My Form">
<mx:VBox x="35" y="10" height="100%">
<mx:HBox width="100%">
<mx:Label text="Enter your Name:" />
<mx:TextInput id="txtMyName" />
</mx:HBox>
<mx:Label text="{txtMyName.text}" width="240" id="lblMyName" />
</mx:VBox>
</mx:Panel>
</mx:Application>
|