minimalcomps/minimalcomps — Issue #24: Various List issues
Author: Sunjammer
Created: 2011-11-14 03:34:18+00:00
State: open

In the 0_9_10 swc:

```actionscript
var myList:List = new List(contents,0,0); //I have no initial items, so I leave the final arg empty
myList.addItemAt("Foo",0); //I add at 0, because i want new items to be at the top of the list.
myList.addItemAt("Bar",0); //Second time causes an index out of bounds error
```
RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/getChildAt()
at com.bit101.components::List/fillItems()[/home/keith/minimalcomps/minimalcomps/src/com/bit101/components/List.as:135]
at com.bit101.components::List/addItemAt()[/home/keith/minimalcomps/minimalcomps/src/com/bit101/components/List.as:243]

```actionscript
myList.removeItemAt(0); //Fails to update the view
```