layout


  <mx:Panel x="0" y="0" width="500" height="410" 
          layout="absolute" title="Simple JSON Example">
          <mx:DataGrid x="10" y="174" width="460" enabled="true" 
                  editable="false" id="dgEmployees" height="156">
                  <mx:columns>
                          <mx:DataGridColumn headerText="First Name" 
                                  dataField="first_name"/>
                          <mx:DataGridColumn headerText="Last Name" 
                                  dataField="last_name"/>
                          <mx:DataGridColumn headerText="Email" 
                                  dataField="email"/>
                          <mx:DataGridColumn headerText="Address" 
                                  dataField="address"/>
                  </mx:columns>
          </mx:DataGrid>
          <mx:Button x="116" y="338" label="Get Employee" 
                  id="getPerson" click="personRequest.send();"/>
          <mx:Button x="266" y="338" label="Get Manager" 
                  id="getManager" click="managerRequest.send();"/>
          <mx:Label x="131" y="12" text="Name"/>
          <mx:TextInput x="189" y="10" id="txtName" editable="false"/>
          <mx:Label x="131" y="42" text="E-mail"/>
          <mx:TextInput x="189" y="40" id="txtEmail" editable="false"/>
          <mx:Label x="131" y="68" text="Address"/>
          <mx:TextInput x="189" y="66" id="txtAddress" 
                  editable="false"/>
          <mx:Label x="131" y="94" text="Title"/>
          <mx:TextInput x="189" y="92" id="txtTitle" editable="false"/>
          <mx:Label x="131" y="122" text="Has Employees"/>
          <mx:TextInput x="229" y="120" width="120" editable="false" 
                  id="txtEmployees" text="No"/>
          <mx:Label x="10" y="148" text="Employees:"/>
  </mx:Panel>
  </mx:Application>