Using ActionScript and MXML together to show alert dialog : Alert « Components « Flex
- Flex
- Components
- Alert
Using ActionScript and MXML together to show alert dialog

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Script>
import mx.controls.Alert;
</mx:Script>
<mx:Button label="Marco" fontSize="40" click="Alert.show('Polo')" />
</mx:Application>
Related examples in the same category