Groups | Blog | Home
all groups > flash (macromedia) > april 2007 >

flash (macromedia) : XML Not Being Read - Tried Everything



deeshopper
4/13/2007 7:21:51 PM
Greetings. I suppose with the recent upgrade to my Flash Player, I can no
longer view Flash files that once worked brilliantly. Somewhat.

I have a SWF file (that I did not create) calling two XML files (main.xml and
gallery.xml). It works fine locally, no problem.

It does not work here: http://asg.briodesign.com though it works fine here:
http://72.36.192.234/~asgcom/ (same server)

I've tried the proxy file, I've tried the crossdomain.xml (though I not sure
exactly WHERE on the server it should go, so I tried everywhere).

The SWF is loaded from home.htm. Home.htm, the SWF file and the two XML files
are located in the same directory.

I'm about to lose my mind. Any help is greatly appreciated. Thanks in advance.
ogre11
4/13/2007 10:00:30 PM
the swf considers the directory of the html file it is embeded in as its base
directory, not the directory it is being called from. so if you have home.htm
in your root directory and the flash and xml files in a sub directory called
say 'flash' look for the xml at flash/gallery.xml instead of just gallery.xml

or use the base attribute in the embed and object tags, or add it to the
attribute list in the AC_FL_Content function from Dreamweaver

base="/flash"
<param name="base" value="/flash" />
deeshopper
4/13/2007 11:41:13 PM
Thanks. However the file that the SWF is embedded in is also in the same
directory as the rest of the files.

With the subdomain, the root directory is 'asg'. In this directory, flash.htm,
asgMain.swf, main.xml and gallery.xml. There is also an index file, a static
html file and then the subdirectories containing the content.
deeshopper
4/17/2007 3:46:31 PM
AddThis Social Bookmark Button