URGENT!! - Flex 2 - RangeError: Error #2006: The supplied index is out of bounds.
Posted on 2007-03-19
I am currently developing a rather complex application in Flex 2. When I resize the window, or the flex application re-validates itself I am getting this error:
RangeError: Error #2006: The supplied index is out of bounds.
Here is a quick overview of the structure or the applicaiton:
1. The main flex swf loads.
2. Then, the main app loads a module and places it on the stage.
3. Then, the main app loads an external Flash 8 swf and places it inside a canvas inside the module.
4. That flash 8 swf then loads multiple flash 6 swf's within itself and the main application controls the flash 6 swf's using a local connection established by the flash 8 swf.
I have a hunch that the RangeError is caused by some component in the tree that is not registering itself with the parent application properly. The problem is that there is no way to debug this error. I have searched up and down and cannot find any information about this error or how to go about finding/debugint it.
Any help would be greatly appreciated!!!