On 5/5/05, David Terry <[EMAIL PROTECTED]> wrote: > function doDragComplete(event) > > { > > var dragItems = > event.dragSource.dataForFormat("source").selectedItems; > > var counter = dragItems.length; > > for (var i=0;i<counter;i++) > > { > > var item = dragItems[i]; > > item.removeTreeNode(); > > } > > }
I think 'selectedItems' will return new array (make sense, but I'm not sure). Instead, you could use 'selectedIndices' to get the indices of the selected items and then use removeItemAt() on the TileList. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/