<?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"
xmlns:mx="library://ns.adobe.com/flex/mx"
minWidth="955" minHeight="600" viewSourceURL="srcview/index.html">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<s:controlBarContent>
<s:Label text="MyFlexHero"/>
<s:Button label="Flex Hero controlBarContent"/>
</s:controlBarContent>
<mx:ApplicationControlBar>
<s:Label text="MyFlexHero"/>
<s:Button label="Flex 3 ApplicationControlBar"/>
</mx:ApplicationControlBar>
</s:Application>
原文地址:http://www.myflexhero.com/share/flex-hero-flex4/flex-hero-components/flex-hero-layout/flex-hero-application/846