hw> Does this mean you have re-implemented all of the flex components in as2?

************      Realized features:

Containers        box, vbox, hbox (grid in plans).
Controls          all (possible to use not only components from MM).
Data modeling     data model (while without treelike hierarchy)
                  and simple data validation (expansion in plans).
Event model       almost all.
Managers          ToolTipManager.


************      Working example of MXML:

<?xml version="1.0"?>
<mx:Application>

        <mx:HBox>
                <mx:Label text='Name' textAlign='right' />
                <mx:TextInput id='user' />
        </mx:HBox>
        <mx:HBox>
                <mx:Label text='Subject' textAlign='right'/>
                <mx:ComboBox id='menu'>
                        <mx:dataProvider>
                                <mx:Array>
                                        <item label='question' data='1'/>
                                        <item label='offer' data='2'/>
                                        <item label='congratulation' data='3'/>
                                </mx:Array>
                        </mx:dataProvider>
                </mx:ComboBox>
        </mx:HBox>
        <mx:HBox>
                <mx:Label text='Message' textAlign='right' />
                <mx:VBox>
                        <mx:TextArea width='200' height='60' id='mess' />
                        <mx:Button label='Send' toolTip='Send your message' 
click='clickMe()'/>
                </mx:VBox>
        </mx:HBox>

        <mx:Model id="contact">
                <user>user.text</user>
                <subject>menu.selectedItem.label</subject>
                <message>mess.text</message>
        </mx:Model>

        <mx:Validator field='contact.user' requiredFieldError='Please enter 
your name.' />
        <mx:Validator field='contact.message' requiredFieldError='Please enter 
your message.' />

</mx:Application>


-- 
Best regards,
Igor                            mailto:[EMAIL PROTECTED]




_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to