Here's a bare-bones script I've written to understand how ChangeWatcher works.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="this.m_init();"> <mx:Script> <![CDATA[ import mx.binding.utils.ChangeWatcher; [Bindable] public var foo:Object = new Object(); public function m_init():void { trace(ChangeWatcher.canWatch(this, "foo")); // Always returns false. Why? } private function m_update(e:Object):void { trace(e); } ]]> </mx:Script> <mx:Text text="{this.foo}" /> </mx:Application> Does anybody know what I could be doing wrong here? I have put up a more extensive version of this problem up on StackOverflow in case somebody wants to follow up there. The URL is http://stackoverflow.com/questions/3212908/flex-changewatcher-doesnt-work. .p -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.

