xml vom externen server laden? [Flash MX]
| Beiträge: 29 Registriert: May 2007
| 04.01.2010, 13:06
Habe folgendes Problem:
Auf einem Server liegt meine swf und läd eine XML-Datei von einem anderem Server. Offline funktioniert alles, aber online nicht.
Habe im Forum die crossdomain.xml gefunden und neben meine XML-Datei gelegt.
Die XML Datei sieht so aus:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<produkte xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<produkt id="1">
<marke>Tamaris</marke>
<name>Snowboot</name>
<preis>69,95</preis>
<sonderpreis>55,00</sonderpreis>
<foto>http://static.zalando.de/media/catalog/product/cache/1/small_image/135x135/5e06319eda06f020e43594a9c230972d/t/a/ta1-f29-0122-09__default__1.jpg</foto>
<foto_klein>http://static.zalando.de/media/catalog/product/cache/1/image/38x38/5e06319eda06f020e43594a9c230972d/t/a/ta1-f29-0122-09__default__1.jpg</foto_klein>
<url>http://www.zalando.de/tamaris-snowboot-silver-comb.html</url>
</produkt>
<produkt id="2">
<marke>Dockers</marke>
<name>Schaftstiefel</name>
<preis>89,95</preis>
<sonderpreis>59,95</sonderpreis>
<foto>http://static.zalando.de/media/catalog/product/cache/1/small_image/135x135/5e06319eda06f020e43594a9c230972d/d/0/d01-f21-0038-03__default__1.jpg</foto>
<foto_klein>http://static.zalando.de/media/catalog/product/cache/1/image/38x38/5e06319eda06f020e43594a9c230972d/d/0/d01-f21-0038-03__default__1.jpg</foto_klein>
<url>http://www.zalando.de/dockers-schaftstiefel-cafe.html</url>
</produkt>
</produkte>
die crossdomain.xml sieht so aus:
<?xml version="1.0"?><!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="zalando-xml.s3.amazonaws.com"/>
<allow-access-from domain="www.zalando-xml.s3.amazonaws.com"/>
</cross-domain-policy>
Funktioniert leider nicht! Wo liegt mein Fehler.
Ich arbeite mit Flash 6. | | | Beiträge: 4909 Wohnort: zuhaus Registriert: Apr 2004
| 04.01.2010, 15:47
|
|