I have a Flash swf file on one of my pages that's causing a Security sandbox violation. Basically it's trying to load a php file to do some things with mp3 files on my server. It works just fine, unless someone types in the url without the 'www' in front of it.
So, if instead of:
they instead type in:
the problem occurs. It still resolves to my site, but the domain appears different to the Flash app, and so the error gets thrown. Is there an easy way to handle this issue?
use a relative path to your php file.