1. XML and Images Folder are in the same path (root of C5) of the index page:http://www.virtualintegral.co.cc/semaica/... So, embeded Flash is able to call both the XML and the Images Folder.
2. When I go to the other page, Español, the url changes tohttp://www.virtualintegral.co.cc/semaica/index.php/espa-ol/... (what I call "virtual page as it does not appear in the C5 file structure) and the Flash can´t call images anymore.
I don´t know as much of php as you do, so please explain, if that is the solution, where to put you suggested "echo" code.
If this is custom Flash that's built into your theme or a custom block, it would be best to pass the correct path to your Flash content using embed parameters.
However, you ultimately are experiencing this problem because relative paths in Flash are relative to the current web document, not the location of the SWF. As the URL continues to change throughout the site, the SWF will continue to look in different places.
The best would be to either use a root-relative or absolute path, or you can also try to use the "base" parameter when embedding your Flash content.
The magic base value of "." ... a single period ... will tell Flash to look relative to the SWF's location, not the page's location. Or, you can specify your own root-relative or absolute path which should make up the beginning of the URL you want to use.
You can also try using the Flash Embed add-on if this is too complicated or doesn't work out real well (or just for fun!)
I'm not sure if I really understand what you are asking.
So you are not having trouble embedding the SWF. Is the SWF having trouble accessing the XML file? Are you having difficulties with the image paths inside the XML?
If this is a custom SWF, you can pass in the path to your XML file, and the path to your images, or at least a "base path" which you can append before all of the images.
If this is not a custom SWF, and it does not let you pass in the path to its XML file, you will likely need to use the base parameter to trick it into finding the XML file correctly. Once it finds the XML file, it will be a matter of using absolute, root-relative or relative URLs as necessary to link it up properly.
Right ... the path is relative to the PAGE url, not the SWF url. If you set the "base" parameter to "." it will make it relative to the SWF url, or you can set it to something else ... whatever you need.
Maybe you should look into using swfobject to embed the Flash rather than using an OBJECT tag. The OBJECT tag isn't supported by all browsers, and won't check for the minimum required Flash version.
I am using the built in "add block" function of C5.
When I embed the Flash in the default template file, works for the index, but when using inline editor, flash stays in front of inline editor, not allowing the function to work.
So, the need is to embed Flash using the built in function.