Use two statements in click event inline : State « Effects « Flex
- Flex
- Effects
- State
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>
Related examples in the same category