I have a flash preloader in the same folder as the swf file it's supposed to load, located on the webhost server. Within Flash, the preloader loads the swf without problem, but online it can't find the file/it won't load (404 seen under developer tools -> network), but the file is patently there, in the same folder, and the file name is correct (copy/pasted). The preloader loads, only the requested file doesn't.
using (relevant snippet, there are no errors with the rest of the code):
var myloader:Loader = new Loader();
myloader.load(new URLRequest("movie.swf"));
I've set 'Access network only' under Publish Settings (didn't work with or without).
Anyone being able to tell what other thing could cause a 404 error other than file not existing at said location?
As an aside, the preloader text (bytes loaded) doesn't show either, (no 'movie not loaded' under right click), is it because it can't find the file?
Also, 'type' for the swf under developer tools reads 'text/html' while the other swfs on the page read 'application/x-shockwave-flash', in case relevant.
Very, very weird. When opening the preloader from file manager, the swf is loaded, wtf.