|
MXML is the powerful way to simplify the creation of user interfaces. For example: In MXML file for creating a button: <mx:Button x=”166″ y=”56″ id=”btn” label=”Click Me”/> In AS file for creating a button: var btn:Button=new Button(); btn.label=”Click Me”; “Lets see one more example:” MXML file: <?xml version=”1.0″ encoding=”utf-8″?> AS file: package |