1 Reply Latest reply on Jul 30, 2008 8:44 AM by Newsgroup_User

    ChangeWatcher with XML

    Brent Lamborn
      Is it possible to use a ChangeWatcher with an XML variable? I can add a ChangeWatcher to my XML var, and it does fire the handler function, but only when the XML is initialized the first time with data. It doesn't fire when there are changes made to the XML after the initialization.

      Is thee wa way to use a ChangeWatcher with an XML variable and have it fire when the value of the XML is modified?

        • 1. Re: ChangeWatcher with XML
          Level 7

          "BrentLamborn" <webforumsuser@macromedia.com> wrote in message
          news:g6ptlv$sj7$1@forums.macromedia.com...
          > Is it possible to use a ChangeWatcher with an XML variable? I can add a
          > ChangeWatcher to my XML var, and it does fire the handler function, but
          > only
          > when the XML is initialized the first time with data. It doesn't fire when
          > there are changes made to the XML after the initialization.
          >
          > Is thee wa way to use a ChangeWatcher with an XML variable and have it
          > fire
          > when the value of the XML is modified?

          I think you have to use XMLListCollection for that.