She walks in beauty like the night // Hypnotising the silence with her powers // Armageddon is bedding this picture alright // My Marilyn come to slum for an hour. An actionscript and music blog.

Buttons in Flex

Posted: February 13th, 2009 | Author: Janice | Filed under: Uncategorized | No Comments »

A button component in MXML:

1
<mx:Button x="10" y="10" label="myButton" id="newButton" click="checkForm()">

MXML is converted to AS3 when you compile it. MXML is used to define the structure of your Flex application, and Actionscript is used to define behavior.



Leave a Reply