Change button's text:
This tutorial will help you to learn how to change the label of a button on clicking on itself. It is another easy example on flex tutorial. Whenever a user click on the button the label of the button will change from clik me to Nice.
Button.mxml
<?xml version="1.0" encoding="utf-8"?> |