Hi,

I have the following code and I want to set the textInpt can not 
edited,But I do not know why the following code do not work.

Please help me.Thanks

Mark 

1

<mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"; 
width="880" height="1300"  creationComplete="init()" >

 2
 
 private function init():void
        {
          local_amount.editable = "false";
          prof_amount.editable="false"; 
        }
        
  3      
        
 <mx:TextInput id="local_amount" x="582" y="832" width="101"/>
 <mx:TextInput id="prof_amount" x="582" y="973" width="101"/>

Reply via email to