What steps will reproduce the problem?
1. Creating iso sprites then swaping their parents back and forth.
What is the expected output? What do you see instead?
Iso sprite to be added to scene. It works untill in my application the
index == 23, then it can no longer add isosprites to the scene.
Please use labels and text to provide additional information.
RangeError: Error #2006: The supplied index is out of bounds.
at flash.display::DisplayObjectContainer/addChildAt()
at as3isolib.core::IsoContainer/addChildAt()
at as3isolib.display.scene::IsoScene/addChildAt()
at as3isolib.data::Node/addChild()
at IsoApplication/placeBuilding()
at IsoApplication/MapBuildings()
at nl.dpdk.services.remoting::RemotingProxy/onResult()
at RemotingResponder/onResult()
Information i think is relevant to this range error. I think IsoContainer
is swaping a display objects parents, and when it happens a couple times,
it produces an error. I dont see any code about removing children before
swaping parents, please look into this one. ;)
http://life.neophi.com/danielr/2007/06/rangeerror_error_2006_the_supp.html
Original issue reported on code.google.com by cyberopt...@gmail.com on 28 Jan 2009 at 9:07
Original issue reported on code.google.com by
cyberopt...@gmail.com
on 28 Jan 2009 at 9:07