topical media & game development

talk show tell print

explorer-controls-TextInputExample.mx

explorer-controls-TextInputExample.mx [swf] flex


  <?xml version="1.0"?>
  <!-- Simple example to demonstrate the TextInput control. -->
  <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
  
      <mx:Panel title="TextInput Control Example" height="75%" width="75%" 
          paddingTop="10" paddingLeft="10">
          
          <mx:TextInput id="src" text="Hello World!"/>
  
          <mx:Button label="Copy Text" click="dest.text = src.text"/>
  
          <mx:TextInput id="dest"/>
  
      </mx:Panel>
  </mx:Application>
  


(C) Æliens 27/08/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.