On Mon, Dec 22, 2008 at 5:31 AM, Jesse <[email protected]> wrote: > private function changeHandler(event:ListEvent):void > { > var selectedXML:XML = event.target.selectedItem as XML; > > if (selectedXML.name() == "video") > { > xPhoto = selectedXML; > } > } > private function nextFLV(e:Event):void > { > ????? > } [snip]
See if this works: xPhoto.parent().child(xPhoto.childIndex() + 1)....@source Basically childIndex gives you the current index, parent gives you the parent, and from there you can increment by 1 and get the next child in the sequence. -- http://manishjethani.com/

