Wednesday, April 28, 2010

Displaying Alert in a Flex Application.

fb4_platform

Simple Alert Message.


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import mx.controls.Alert;
]]>
</mx:Script>
<mx:Button x="10" y="10" label="Click On ME" click="mx.controls.Alert.show('You Have Click on me')"/>

</mx:Application>




1

No comments: