Wrox Home  
Search P2P Archive for: Go

  Return to Index  

flash_programming thread: More Flash and XML


Message #1 by "Ryan Gerrard" <ryangerrard@h...> on Wed, 13 Jun 2001 17:09:28 -0700
I'm having a problem using XML in Flash. Everything works fine locally 
on my own computer. But when I upload it to my server, it doesn't want 
to read the XML file anymore. It only does this when the XML is at a 
remote location, though. If the file is in the current directory, it'll 
work fine. It's just strange that it works locally fine, but not when I 
upload it.

I'm declaring the XML in Flash as follows:

webXML =3D new XML();
webXML.load("http://p.moreover.com/cgi-local/page?c=3DWeb%20developer%20n
ews&o=3Dxml");

That works fine if I run it from my own computer, but not after I upload 
it. Now, if I copy the XML file onto the server and declare it like the 
following, it works fine.

webXML =3D new XML();
webXML.load("web.xml");

I just don't want to have to copy the file over to my server everyday.
Any ideas what might be wrong? Thanks.

_____________________________________

Ryan Gerrard
"New Media Solutions For A New Millenium"
ryangerrard@h...
http://portfolio.mala.bc.ca/rgerrard/
(xxx) xxx-xxxx
_____________________________________



  Return to Index