Hi

I store my data into a XMLListCollection variable (name XC). The initial
lengt of this XMLListCollection is 10 items (for example: XC.length==10). I
leave the user to filter this data and I added a filterfunction to this
variable. I set another function named sync() that run every 10 seconds (for
example). This function is trying to insert an element into
XC:XMLListCollection at a specific position (for example 8
XC.additemat(item,8)). After the user filter the data, the length is 2 and
when the sync() function is activated, this function call
"addItemAt(item,8)" and I receive "Index out of Bound...".
I know how to read the entire list (XMLList) using the .source properties
but I don't know how to insert an element at a specific position (for
example 8).

Please help me (if you know)
Thanks in advance
Cristy

Reply via email to