Get IOError url when running in browser

Hi,

I’m trying to get my swf to show the url of an attempted file loading operation when it fails (IOError). For some reason (security?) it works fine in the flash debug environment, but it doesn’t in the browser.
In flash it shows:

[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2035: URL Not Found. URL: file:///MacBook%20HD/Users/Iveshortenedthis/main.swf"]

And in the browser:

[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2035"]

I simply use the Loader.load() method, and have an eventListener added to the contentLoaderInfo. I have tried to get the url through the event properties (e.target.url), but that returns null…

Any ideas?