topical media & game development

talk show tell print

explorer-controls-LinkButtonExample.mx

explorer-controls-LinkButtonExample.mx [swf] flex


  <?xml version="1.0"?>
  <!-- Simple example to demonstrate the LinkButton control. -->
  <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>   
         


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.