This content has been marked as final.
Show 6 replies
-
1. Re: How to trigger function when XML changes ?
miguel8312 Feb 18, 2011 7:13 AM (in response to eprevot123)I would tackle this a little different and i would have a two array collections and compared them for changes and when i find a change between my two arraycollection which are holding the parsed xml then i would run a function.
Just a thought...
Miguel.
-
2. Re: How to trigger function when XML changes ?
Flex harUI Feb 18, 2011 1:00 PM (in response to eprevot123)Try also adding:
BindingUtils.bindSetter( functionToBeCalled, this, "myXML.*");
-
3. Re: How to trigger function when XML changes ?
eprevot123 Feb 21, 2011 12:48 AM (in response to Flex harUI)I tried but it can't find the property from the String "myXML.*" : Error #1069: Property myXML.* not found
-
4. Re: How to trigger function when XML changes ?
Flex harUI Feb 21, 2011 10:51 PM (in response to eprevot123)Try ["myXML", "*"]
-
5. Re: How to trigger function when XML changes ?
eprevot123 Feb 22, 2011 12:52 AM (in response to Flex harUI)I tried BindingUtils.bindSetter(functionToBeCalled, this, ["myXML", "*"]);
But this still call the function only when myXML is reassigned and not when I do something like myXML.insertChildAfter(null, myNode);
-
6. Re: How to trigger function when XML changes ?
Flex harUI Feb 22, 2011 11:51 AM (in response to eprevot123)You might have to wire up the changes by hand. See how XMLListCollection
does it.



