The error message that you indicated indicates that you are trying to load a local file from local swf. This error can be fixed for your scenario.
In FlashDevelop, set the Use Network Services option to false (Project Properties โ Compiler Options Tab). This will prevent your swf from accessing the Internet, but allow you to upload local files. Setting it to true will allow access to the Internet, but not access to local files.
In Flash, the option is located in the "Publish Settings" section of the Flash tab. It is called "Local playback security", and for the settings, "Access only local files" or "Only access to the network." This is the same parameter as in FlashDevelop, just a different name.
You can also switch the "Use network" flag in the swf file after publishing / compiling with the free + open Local Content Updater .
source share