1 Reply Latest reply on Nov 28, 2007 3:10 PM by Peter deHaan

    TileList problem with effects - ‘RangeError: Index ‘8′ specified is out of bounds.’ error.

      Flex 3.0 beta TileList problem with effects

      I have a problem with deleting item from a Flex 3.0 beta TileList component. While a delete item effect is playing and I delete another item (while the first effect is still playing) , I get an ‘RangeError: Index ‘8′ specified is out of bounds.’ error. How do you delay processing until the effects are done? or is there another solution? do I use a callLater()? or remove the eventListener and wait until the effect finishes?

      To see the problem, hit the down error twice quickly.

      To see the application -> http://designwithflex.com/pics/fasterror.swf

      Here is Thumbnail.mxml

      <?xml version="1.0" encoding="utf-8"?>
      <mx:VBox xmlns:mx=" http://www.adobe.com/2006/mxml" width="100" height="100">
      <mx:Label text="{data.name}" />
      <mx:Label text="{data.age}" />

      and here is main.mxml: