728x90
Flex Button Sample

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
 <mx:Button x="29" y="27" label="Test" id="test" enabled="true" click="OnClickTest(event)"/>
 
    <mx:Script>
        <![CDATA[
       
        import mx.controls.Alert;
       
        function OnClickTest(event:Event):void
        {
          Alert.show(event.toString());
        }
     
      ]]>
    </mx:Script>
 
 
 
</mx:Application>


728x90

+ Recent posts