hi

when i go changewatcher.canWatch(this,"someXMLObject");
the result is true.

however when i do add a watch it never fires (code sample below) and when i
use the getEvents method the object returned is empty.
whats up with this seeming contradiction, and how does binding then work on
XML objects!!
       private function onCC():void
           {

               __dataCopy = new XML("<node1/>");
               ChangeWatcher.watch(this, "__dataCopy", watcherListener);

               var p:XML = new XML("<node2/>");
//at this stage the watcher should fire IMO...
               __dataCopy.appendChild(p);

// var o:Object = ChangeWatcher.getEvents(this,"__dataCopy");
           }
           private function watcherListener(evt:Event):void
           {
               trace("hhh:");
           }

thanks
johan

--
j:pn
http://www.lennel.org

Reply via email to