are you re-parenting images? or some other unusual thing? ________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Todd Sent: Wednesday, September 05, 2007 7:59 AM To: [email protected] Subject: [flexcoders] Re: RangeError: Error #2006 on Canvas when adding child Image I have some cleaner error messages. The error in the previous message occurred the first time. Each time I try to addChild, I get the following, simpler error. This is how I know it's happening when I call addChild -- this time it actually traces up the stack to my code. Is there some way I can wait for the state of the Canvas to be ready to add children? I'm already waiting to do anything with the creationComplete event, but was wondering if anything else can be done? Thanks. RangeError: Error #2006: The supplied index is out of bounds. at flash.display::DisplayObjectContainer/addChildAt() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$addChi ldAt <http://www.adobe.com/2006/flex/mx/internal::$addChildAt> () at mx.core::Container/addChildAt() at mx.core::Container/addChild() at CollageWindow1/::addImage()

