Hey guys -- mainly oldnewbie...I'm having a connection problem -- Heres my code so far...
Now, my problem, I have 2 layers, 1 with the actionscript in like 15 frames (not 15 keyframes), and the text boxes in a 2nd frame -- now the problem is...some people see it refresh, others dont.
What would be the best way to be refreshing this php in flash?? -- if the people go to live.php in IE -- and hit refresh, it takes no time at all to refresh all the data.
Why are some people not getting the refresh and others are?
Oldnewbie, if you want the files to look at email me at tktiger@tkwired.com -- I will send them to you...I need to have everyone that sees the flash document to be able to be getting these refreshed values pretty quickly.
Code:
//Create the LoadVars object and load data into it
ind = new Array();
name = new Array();
team = new Array();
hp = new Array();
ap = new Array();
x = new Array();
y = new Array();
ih = new String()
nh = new String()
th = new String()
hh = new String()
ah = new String()
xh = new String()
yh = new String()
nh = ""
th = ""
hah = ""
xyh = ""
myData = new LoadVars();
myData.load("[URL unfurl="true"]http://68.59.134.62/live.php");[/URL]
myData.onLoad = function(succes){
for(var i=0; i<33; i++){
ind[i] = this["ind"+i];
name[i] = this["name"+i];
team[i] = this["team"+i];
hp[i] = this["hp"+i];
ap[i] = this["ap"+i];
x[i] = this["x"+i];
y[i] = this["y"+i];
// A few traces to check...
nh = nh + name[i] + "<br>";
th = th + team[i] + "<br>";
hah = hah + hp[i] + ", " + ap[i] + "<br>";
xyh = xyh + x[i] + ", " + y[i] + "<br>";
//trace("ind"+i+": "+ind[i]);
//trace("name"+i+": "+name[i]);
//trace("team"+i+": "+team[i]);
//trace("hp"+i+": "+hp[i]);
}
NamesTxt.htmlText = nh;
TeamsTxt.htmlText = th;
hpapTxt.htmlText = hah;
xyTxt.htmlText = xyh;
};
myData.unload
myData = null
Now, my problem, I have 2 layers, 1 with the actionscript in like 15 frames (not 15 keyframes), and the text boxes in a 2nd frame -- now the problem is...some people see it refresh, others dont.
What would be the best way to be refreshing this php in flash?? -- if the people go to live.php in IE -- and hit refresh, it takes no time at all to refresh all the data.
Why are some people not getting the refresh and others are?
Oldnewbie, if you want the files to look at email me at tktiger@tkwired.com -- I will send them to you...I need to have everyone that sees the flash document to be able to be getting these refreshed values pretty quickly.