Hi,
In main.swf I loaded file.swf as:
var loader:Loader = new Loader();
var request:URLRequest = new URLRequest(“file.swf”);
When main swf loaded in HTML with an absolute link like:
"http://domain.com/main.swf"
It reports 404 error loading failed of file.swf
Because it looks for file.swf at current web host.
What's the best way to do this without hard code absolute url in main.swf? Is this something swfobject can help?