1 mxml code <?xml version="1.0" encoding="utf-8"?>
3 mxml code <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">
8 css code backgroundColor: #EEF5EE;
15 actionscript code function copy() {
16 actionscript code destination.text=source.text
19 mxml code </mx:Script>
22 mxml code <mx:TextInput id="source" width="100"/>
23 mxml code <mx:Button label="Copy" click="copy()"/>
24 mxml code <mx:TextInput id="destination" width="100"/>
26 mxml code </mx:Application>