Flex Button Sample

Programming/Flex 2009.01.06 01:40 Posted by 파란크리스마스
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>


신고


 

티스토리 툴바