Follow Flex After Dark on Twitter

Anatomy of an MXML File

The "anatomy" of MXML components and applications...

MXML elements:

  • <mx:Application> -
  • <mx:Style> -
  • <mx:Metadata> -
  • <mx:Script> -
  • Other components -
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
   layout="vertical"
   name="Application Name"
   width="100%" height="100%"
   applicationComplete="init()"
>
   
   <mx:Style>
      
   </mx:Style>
   
   <mx:Metadata>
      
   </mx:Metadata>
   
   <mx:Script>
      <![CDATA[
      
      ]]>
   </mx:Script>
   
   <!-- Other Components -->
   
</mx:Application>

layout

Related Links:

Related Docs
Recent Docs
  • MXML Anatomy The anatomy of an MXML component file.
  • Flex BlazeDS Flex BlazeDS
  • Flex Layouts Flex Layouts
  • Flex Events Events drive Flex applications. See how to register listeners and dispatch events.
  • Flex Canvas The Flex Canvas container can be used for absolute layout and position of children.
Random Docs