Skip to main content
December 5, 2007
Question

more info from Error #2035: URL Not Found.

  • December 5, 2007
  • 3 replies
  • 479 views
I'd really like it if when I make a mistake and get the following error:

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

it would print out the URL it was trying to find, so I know which load failed, since I'm issuing many many different loads...

Anyone know if there is a way to do that?
This topic has been closed for replies.

3 replies

kglad
Community Expert
Community Expert
January 8, 2008
good.
January 7, 2008
I eventually figured out an easy way to do this is just to attach an event listener to the Loader.contentLoaderInfo, to catch the IOErrorEvent.IO_ERROR. Then I can print out whatever information I want.
kglad
Community Expert
Community Expert
December 5, 2007
you can use the trace() function to determine which url fails. by placing trace() functions in different locations to you should be able to sandwich your error statement between two outputs that lets you pinpoint the error.