all groups > flash data integration > june 2005 >
You're in the

flash data integration

group:

Flash file imports data with XML



Flash file imports data with XML iOXeR
6/28/2005 12:00:00 AM
flash data integration: I'm hoping there's an easy answer to my question. I'v made a flash file that
imports data from an xml file and then it loads it into the flash content. When
I try to run the .swf file on my computer it works perfectly; all the data was
imported and made into content correctly. When I upload it to my webserver it
doesn't perform as well. The flash file is there and everything in it is
operating correctly except the data which was supposed to be the content is not
working. I'm not sure why I'm getting this behavior. I'm using php, in case it
helps.
Re: Flash file imports data with XML Ashish123
6/29/2005 7:20:15 AM
HI,

Need littile beif info from you.
Is the xml file residing in the same folder where your swf file resides. I mean check the path of the xml file.

-----------
aShIsH

Re: Flash file imports data with XML Si Fi
6/29/2005 11:26:15 AM
Hi. I had a similar proplem.

My problem came down to the security setting of flash not allowing the xml to
come from a different server.

As a consequence i had to build a proxy .php page, although you mentioned
this. however i sorted it with the following code:

<?php

$dataURL =
"http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/england/west_midlands/rss.xm
l";

//note that this will not follow redirects
readfile($dataURL);

?>

obviously change the url add to the one you want.
Re: Flash file imports data with XML ay13
7/7/2005 12:00:00 AM
pretty much explains everything if you still need help..

Re: Flash file imports data with XML iOXeR
7/7/2005 8:19:41 PM
Sorry about the late reply.

Is the xml file residing in the same folder where your swf file resides
Yes, it's in the same folder.

My problem came down to the security setting of flash not allowing the xml to
come from a different server.
My xml file is not on a different server. I'll try this anyway though. It
can't hurt, can it?
Re: Flash file imports data with XML iJustLoveFlash
7/8/2005 12:00:00 AM
hmm, probleby the problem is the sandbox or path,
write the full path of the file, if the file is www.exaple.org/lmz.swf write
"www.exaple.org/lmz.swf" not "193.1.1.1/lmz.swf" then the problem would be
solved.

use the onLoad listener, what should also say whats the problem.

i even will not bother to make the list of possible problems

------------
to get better breaf read LIVEDOCS (interisting why you bother with your simple
problems and why i answer.. :S )
-----------
Re: Flash file imports data with XML iOXeR
7/13/2005 7:48:25 PM
hmm, probleby the problem is the sandbox or path,
write the full path of the file, if the file is www.exaple.org/lmz.swf write
"www.exaple.org/lmz.swf" not "193.1.1.1/lmz.swf" then the problem would be
solved.

Are you talking about changing the path in the php file where the swf file is
called?
AddThis Social Bookmark Button