Greetings,

I have been haunted by these fricken #2006 RangeErrors since the start
of my project though I've been able to fix all but one.

I have a SWFLoader throwing a RangeError, and I can't seem to catch
the damn thing.  The irritating thing is that it's also a very
intermittent bug so I have no way of telling for sure it will occur
when first loading my app.

This is the try/catch: 

try
{
        myLoader.load( loadSwfEvent.swfName );
}
catch( e : Error )
{
        trace( e.errorID + " " + e.name + " " + e.message );
        trace( e, ObjectUtil.toString( event ));
}

It doesn't actually call the catch - it simply prints out the error on
the console leading me to believe that the error is actually being
thrown somewhere else, even though the stack trace goes all the way
back to the SWFLoader class.

I initially thought it to be a timing thing - maybe the swfname wasn't
being set properly or something, but investigating solutions along
those lines have been fruitless.

I'm now thinking I should probably be moving the try/catch somewhere
else, but I would have no idea where.

Any ideas?  Similar problems?

Cheers,
Michelle
 

Reply via email to