Arkos
09-27-2005, 03:47 AM
Hi,
For my project, I'm using Lzdataset to get some information form the web. In fact, I'm calling a script on a webserver and this script returns me an xml file.
The lzx code looks like this:
----------------------------------------------
var ds = new LzDataset (this, {name:dsetName,
type: "http",
src: "http://j.arkos.free.fr/test6.php",
request: "true",
proxied: "false"});
ds.doRequest();
----------------------------------------------
Then, I'm using a solo deployment to generate a .swf file with the following url:
----------------------------------------------
http://localhost:8080/lps-3.0/examples/creatic/rss_autonome.lzx?lzproxied=false
----------------------------------------------
My problem begins here.
If I simply open the swf file with my web browser, it works perfectly. But if I launch it from the server, the connexion to my .php script doesn't seem to work and I receive no data.
Here is an exemple of an url that lead to the problem:
-----------------------------------------------
http://localhost:8080/lps-3.0/examples/creatic/rss_autonome39.lzx.swf
-----------------------------------------------
I don't understand why the script is not working. So if someone can help me, it will be really appreciate.
Thanks
For my project, I'm using Lzdataset to get some information form the web. In fact, I'm calling a script on a webserver and this script returns me an xml file.
The lzx code looks like this:
----------------------------------------------
var ds = new LzDataset (this, {name:dsetName,
type: "http",
src: "http://j.arkos.free.fr/test6.php",
request: "true",
proxied: "false"});
ds.doRequest();
----------------------------------------------
Then, I'm using a solo deployment to generate a .swf file with the following url:
----------------------------------------------
http://localhost:8080/lps-3.0/examples/creatic/rss_autonome.lzx?lzproxied=false
----------------------------------------------
My problem begins here.
If I simply open the swf file with my web browser, it works perfectly. But if I launch it from the server, the connexion to my .php script doesn't seem to work and I receive no data.
Here is an exemple of an url that lead to the problem:
-----------------------------------------------
http://localhost:8080/lps-3.0/examples/creatic/rss_autonome39.lzx.swf
-----------------------------------------------
I don't understand why the script is not working. So if someone can help me, it will be really appreciate.
Thanks