<mx:VBox> <mx:Label width="100%" color="blue" text="Select a Button control."/>
<!-- The button can contain an image, as in the "Button with Icon" button --> <!-- The button can contain an image, as in the "Button with Icon" button --> <mx:Button id="iconButton" icon="@Embed('assets/mm-icon.png')" label="Button with Icon" paddingLeft="12" paddingRight="18" labelPlacement="right" color="#993300" click="printMessage(event);"/>
<!-- The size of the button and the label attributes can be customized --> <mx:Button label="Customized Button" color="#993300" toggle="true" selected="true" textAlign="left" fontStyle="italic" fontSize="13" width="{iconButton.width}" click="printMessage(event);"/>
<!-- By default, the look and feel of the customized button is similar to the Default Button. --> <mx:Button label="Default Button" click="printMessage(event);"/> </mx:VBox>