I’m loading XML cross domain and it works but it’s really slow, or sometimes it never load…
system.usecodepage=false;
c = new XML();
t = new LoadVars();
c.ignoreWhite = true;
t.load("/pages/fl_php/countfeed.php");
c.load("/pages/fl_php/proxy.php");
c.onLoad = function(success) {
if (success) {
showValues();
}
};
stop();
t.load("/pages/fl_php/countfeed.php"); is my way counting the headlines and its an easy way(insecure) to knowing how many headlines I can show.
I’m using Macromedias tip to load XML crossdomain
<?php
$dataURL = "http://www.newsmachine.com/external/xml_feed.xml";
readfile($dataURL);
?>
I’m I doing something wrong and how can i make sure that the XML is loaded everytime?! Sometimes I have to click the link in flash to reload the page that shows the XML to get the XML to load…
Help!