<?xml version="1.0"?>
<!-- Simple example to demonstrate the LinkButton control. -->
<!--
如何使用Flex LinkButton
MyShareBook.cn 翻译
-->
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
import mx.controls.Alert;
</mx:Script>
<mx:Panel title="LinkButton Control Example"
height="75%" width="75%" horizontalAlign="center"
paddingTop="10" paddingBottom="10" paddingLeft="10" paddingRight="10">
<mx:Label width="100%"
text="Select the LinkButton control to open the Alert control."/>
<mx:LinkButton label="LinkButton control" color="#0000FF" fontWeight="bold"
click="Alert.show('LinkButton selected!');"/>
</mx:Panel>
</mx:Application>