Mega Code Archive
Categories
/
Flex
/
Components
Define an event listener for the Button control
import mx.controls.Alert; private function alertListener():void { myText.text = myInput.text; Alert.show("Text Copied!", "Alert Box", Alert.OK); }