Codebase list ohcount / c941801a-846c-49c1-93c4-07f1094d7537/main test / src_dir / mxml1.mxml
c941801a-846c-49c1-93c4-07f1094d7537/main

Tree @c941801a-846c-49c1-93c4-07f1094d7537/main (Download .tar.gz)

mxml1.mxml @c941801a-846c-49c1-93c4-07f1094d7537/mainraw · history · blame

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml">

	<mx:Style>

        TextArea {
			backgroundColor: #EEF5EE;
		}

    </mx:Style>

    <mx:Script>

        function copy() {
            destination.text=source.text
        }

    </mx:Script>


    <mx:TextInput id="source" width="100"/>
    <mx:Button label="Copy" click="copy()"/>
    <mx:TextInput id="destination" width="100"/>

</mx:Application>