Mega Code Archive

 
Categories / Flex / Effects
 

Use two statements in click event inline

<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">     <mx:Button id="alertButton"                 label="Show Alert"                 click="mx.controls.Alert.show('Example');alertButton.x += 40;" /> </mx:Application>