I ran into this problem when working with image loading, where the path is in an external XML file. So ... I load the XML to get the path from it, but then the problem was I was loading 30 + images, and the error only appeared 6 times like that .. I had no idea which file locations were bad.
If you want the flash to output more information than just:
SecurityError: Error
Add an event listener to your bootloader:
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
and finally this function:
protected function ioErrorHandler(e:IOErrorEvent):void{ trace(e.text); }
In this case, your security error is converted to a URL Not Found Error with the file you specified. Based on this information, it will be easier for you to debug the problem.
Error #2035: URL Not Found. URL: file:////Volumes/Macintosh%20HD/Users/cleanshooter/Documents/Website%20/here/there/everywhere/30805/filename.jpg
source share