if you're testing and your flash files are also on localhost, go to the flash security settings panel and add the folder that contains your flash files.
if you're doing anything else, like deploying your flash files on a server that will load images or anything else from your computer, explain.
I have to disagree with you. There is generally a more fundamental issue in play here. The actual implementation of my solution will be as follows:
One Apache web server that hosts three things:
- The Flash RIA
- Custom Apache Modules to serve up the images
- Web Services to provide all the other interaction between the Flash RIA and the backend database.
If I follow your advice, all my Flash code is going to have to have http://localhost:8042/ hard coded where ever the custom module is access or the Web Services are accessed.
In the world in which I am accustom to, there are ways to launch the web server and "attach" to the code I am interested in debugging. I am assuming there is a way to do that with Flash, or at least I am hoping...
click file/publish settings/flash/local playback security/access network only.