and an application -- button
<mx:Panel title="hello world" horizontalAlign="center" click="click(event);"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
<mx:Label id="myLabel" width="180" fontWeight="bold" fontSize="24"/>
<mx:Button id="myButton" label="click me!" click="click(event);" />
</mx:Panel>
</mx:ViewStack>