When I upload my swf using Using HTML/JavaScript Source on the Canvas Surface, my swf cannot load
other swfs I have in my "../res/" directory. If I go to the main swf directly, it works. My release also works well in my machine.
When I run my application from MySpace I get an error #203: URL not found. URL: ../res/base.swf.
The path is relative and the file is there relative to my main swf.
Can anyone help?
EDIT: I discovered that the problem is in my html!! When I load a swf that does not load anything else, it works fine. But when I load a swf that load another swf it throws that error. The code is this:
<html>
<body>
<object id="Kartmania" allowScriptAccess="always" allowNetworking="all" type="application/x-shockwave-flash" data="http://97.74.198.123/KartmaniaReleaseRegular/bin-release/Kartmania.swf" width="100%" height="100%" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=6,0,40,0" >
<param name="movie" value="http://97.74.198.123/KartmaniaReleaseRegular/bin-release/Kartmania.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src= "http://97.74.198.123/KartmaniaReleaseRegular/bin-release/Kartmania.swf" quality="high" bgcolor="#ffffff"
width="800" height="1000"
name="Kartmania" align="" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
allowScriptAccess="always"
allowNetworking="all"
</embed>
</object>
</body>
</html>
What am I doing wrong here?