Hi,

I did a simple test for changewatch.I try to watch a variable
change.but I am not sure why it doesn't work.

(variable "theChange" change from true to false)

The code is here:

         BindingUtils.bindProperty(this,"onChange", this, "theChange" );        
                    
            }     
            
             public function  set onChange (value:Boolean):void
            {
                Alert.show ("change happen");
            }  
                
         
                
                private function finishit():void{
                        
                  theChange = true;                       
                  theChange = false;
                  
                   
                  
                } 
                
                
        ]]>
</mx:Script>
 
         
        <mx:Button x="105" y="359" label="save" click="finishit()"/>
         
        
</mx:Application> 

Thanks for help

Mark




Reply via email to