Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark">
- <fx:Script>
- <![CDATA[
- // ActionScript code can be added here
- // For example:
- // private function buttonClickHandler():void {
- // // Action to perform on button click
- // }
- ]]>
- </fx:Script>
- <s:layout>
- <s:VerticalLayout/>
- </s:layout>
- <s:Label text="Simple MXML Example" fontSize="20" />
- <s:TextInput id="inputField" width="200" />
- <s:Button label="Click Me" click="trace('Button clicked!')" />
- <s:CheckBox label="Check Me" />
- <s:TextArea width="300" height="150" />
- <s:Image source="@Embed('assets/image.png')" width="100" height="100" />
- </s:Application>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement