Another idea would be to put your data into an XMLListCollection, get a view cursor to the list with createCursor(). Now you can use the the view cursor to iterate over your XMLListCollection and use the cursor's bookmark property to remember your position when necessary.
Probably more work than necessary for a simple scenario... in which case try and follow Tracy's advice to just do it w/e4x. Sunil --- In [email protected], "Libby" <libbychan...@...> wrote: > > hi, flexCoders! > thanks for all ur help in the past! > > Does Flex maintain your record pointer while reading an xml file? > basically what i want to do is read each line and when I hit certain > values, read on for 4 or 5 records, then return to the original > process without starting back at the last record read at the first > read. I can do this the hard way of course by maintaining my own > pointer and treating the file as a giant array, but surely there is an > easier way? > > > for each (var xmlNode:XML in xml.children()) { > // do stuff > // if(xmlNode.something==aValue) { > for each (var xmlNode:XML <---- read on into the file > > thanks, > Libby >

