This is more of a theory/common practice question since it's something I don't really understand. Not a specific problem I'm having now, but might later. I'm pretty new so excuse me if these are stupid questions.
I have a game that loads assets (xml, images, sound, etc) externally. The .swf loads them just fine and works well on my computer, but if I upload the .swf on the internet, it doesn't work. Obviously, it's because it can't load the external assets that are on my computer, so I'd have to upload them online too, right?
Am I supposed to upload my entire project folder online (with relative paths) to make the .swf work? I guess that'd be okay if I'm hosting it on my own website. Is there a way to package it all into one file, embedding everything or something for mobile?
What if I'm putting it on a site like newgrounds or kongregate and they ask me to upload one .swf? If I can't upload all the assets onto their server then will I have to make it so that each version of the .swf (newgrounds', kong's, etc) loads it all from the same place (like my website)?
Hopefully someone can explain the process to me! My game is coming along fine, I just want to understand how I'll be sharing it online.