topical media & game development

talk show tell print

professional-flex-code-09-ContactForm.mx

professional-flex-code-09-ContactForm.mx [swf] flex


  <?xml version="1.0" encoding="utf-8"?>
  <mx:VBox xmlns:mx="http://www.adobe.com/2006/mxml">
          <mx:Script>
                  <![CDATA[
                          [Bindable]
                          public var contactmodel:Object;
                  ]]>
          </mx:Script>
          <mx:Form>
                  <mx:FormItem label="Name" direction="horizontal">
                          <mx:TextInput text="{contactmodel.fname}" />
                    <mx:TextInput text="{contactmodel.lname}" />
                  </mx:FormItem>
                  <mx:FormItem label="Address">
                          <mx:TextInput text="{contactmodel.address}"/>
                  </mx:FormItem>
                  <mx:FormItem label="City State, Zip" direction="horizontal">
                          <mx:TextInput text="{contactmodel.city}" />
                    <mx:TextInput text="{contactmodel.state}" />
                    <mx:TextInput text="{contactmodel.zip}" />
                  </mx:FormItem>
                  <mx:FormItem label="Phone">
                          <mx:TextInput text="{contactmodel.phone}"/>
                  </mx:FormItem>
                  <mx:FormItem label="Email">
                          <mx:TextInput text="{contactmodel.email}"/>
                  </mx:FormItem>
          </mx:Form>
  </mx:VBox>
  


(C) Æliens 04/09/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.