Ray's playground

 

My first flex app

 1 <?xml version="1.0" encoding="utf-8"?>
 2 <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
 3 layout="horizontal">
 4 <mx:Script>
 5 <![CDATA[
 6 [Bindable]
 7 public var s:String="";
 8 ]]>
 9 </mx:Script>
10 <mx:TextInput id="myTextInput1"/>
11 <mx:Button label="Update my variable" click="s=myTextInput1.text"/>
12 <mx:Text id="myText" text="{s}"/>
13 </mx:Application>

 

posted on 2009-12-15 22:54  Ray Z  阅读(200)  评论(0编辑  收藏  举报

导航