Hi,

I have a question for the following code.

<mx:Script>
        <![CDATA[
                import mx.controls.Alert;
            import mx.binding.utils.BindingUtils;
            
           
            
            public var bindMe:String = "";
            
            public function initApp():void{
            
               BindingUtils.bindProperty(this, "bindMe", theName, "text");
            
            }       
           
            public function set bindMe(value:String):void
            {
                Alert.show ("setting function");
            } 
                
                private function clickme():void{
                
                     Alert.show(bindMe);
                
                }
                
        ]]>
</mx:Script>


but I get a error for

    public function set bindMe(value:String):void
            {
                Alert.show ("setting function");
            } 
the error message is

duplicate function definition

Do you know why this Happen?

Thanks

Mark

Reply via email to