I'm not sure what to tell you bud. I created a php file that outputs exactly what yours is outputting (or at least i think it is...you haven't been very clear about exactly what php and as statements produce exactly what outputs).
here's the php file which i named 'test_file.php' and uploaded to mydomain.com:
echo 'records=9&sID0=9&tsp0=02%3A35%3A18pm&action0=act1&item0=s5&oldPx0=5555.0&salePx0=0.0&wholePx0=0.0%0A&sID1=8&tsp1=02%3A35%3A14pm&action1=act1g&item1=s4&oldPx1=4444.80&salePx1=0.00&wholePx1=0.00%0A&sID2=7&tsp2=02%3A35%3A05pm&action2=act1&item2=s1&oldPx2=1111.75&salePx2=0.00&wholePx2=0.00%0A&sID3=6&tsp3=02%3A34%3A15pm&action3=act1&item3=s2&oldPx3=2222.25&salePx3=0.00&wholePx3=0.00%0A&sID4=5&tsp4=01%3A55%3A48pm&action4=act1&item4=s3&oldPx4=3333.2112&salePx4=0.0000&wholePx4=0.0000%0A&sID5=4&tsp5=01%3A25%3A12pm&action5=act2&item5=s1&oldPx5=1111.00&salePx5=0.00&wholePx5=0.00%0A&sID6=3&tsp6=12%3A39%3A42pm&action6=act2&item6=s2&oldPx6=2222.25&salePx6=0.00&wholePx6=0.00%0A&sID7=2&tsp7=12%3A35%3A45pm&action7=act1&item7=s2&oldPx7=2222.00&salePx7=0.00&wholePx7=0.00%0A&sID8=1&tsp8=12%3A35%3A36pm&action8=act1&item8=s1&oldPx8=1111.00&salePx8=0.00&wholePx8=0.00%0A';
die();
i pasted this actionscript into the first frame of an empty flash movie and ran it:
var getFeed:LoadVars=new LoadVars();
getFeed.load("http://mydomain.com/test_file.php");
getFeed.onLoad = function(success) {
if (!success) {
trace("Can not load");
} else {
// loading_mc.removeMovieClip();
trace("Loaded");
var records:Number=this["records"];
trace(records);
if (numsigs==0)
trace("No msgs yet");
else {
for (var i=0;i<records;i++) {
trace('item #' + i);
trace(' sID=' + this['sID' + i]);
trace(' tsp=' + this['tsp' + i]);
trace(' action=' + this['action' + i]);
trace(' item=' + this['item' + i]);
trace(' oldPx=' + this['oldPx' + i]);
trace(' salePx=' + this['salePx' + i]);
trace(' wholePx=' + this['wholePx' + i]);
}
}
}
}
and here's the output in the trace window in flash:
Loaded
9
item #0
sID=9
tsp=02:35:18pm
action=act1
item=s5
oldPx=5555.0
salePx=0.0
wholePx=0.0
item #1
sID=8
tsp=02:35:14pm
action=act1g
item=s4
oldPx=4444.80
salePx=0.00
wholePx=0.00
item #2
sID=7
tsp=02:35:05pm
action=act1
item=s1
oldPx=1111.75
salePx=0.00
wholePx=0.00
item #3
sID=6
tsp=02:34:15pm
action=act1
item=s2
oldPx=2222.25
salePx=0.00
wholePx=0.00
item #4
sID=5
tsp=01:55:48pm
action=act1
item=s3
oldPx=3333.2112
salePx=0.0000
wholePx=0.0000
item #5
sID=4
tsp=01:25:12pm
action=act2
item=s1
oldPx=1111.00
salePx=0.00
wholePx=0.00
item #6
sID=3
tsp=12:39:42pm
action=act2
item=s2
oldPx=2222.25
salePx=0.00
wholePx=0.00
item #7
sID=2
tsp=12:35:45pm
action=act1
item=s2
oldPx=2222.00
salePx=0.00
wholePx=0.00
item #8
sID=1
tsp=12:35:36pm
action=act1
item=s1
oldPx=1111.00
salePx=0.00
wholePx=0.00
I'm not sure what to tell you...this works for me. Have you viewed the source of your php output? Your PHP code might be adding headers to the output which would screw it up.
Perhaps you should try Actionscript.org or Flashkit.com?