I have a dynamic external .cfm file with some variables. It outputs a lay out like this:
&count=4&news1="this+is+the+first+news+story"&news2="this+is+the+second+news+story"&news3="this+is+the+third+news+story"&news4="this+is+the+fourth+news+story"&EOF=true
I want to load each of these variables into a dynamic text field in my flash file.. However, I want it done intermittently i.e. add news1 wait 10 or so seconds and then append news2 etc. etc.
the actionscript I'm using is this (but it doesn't work???).
================
news = "";
z = 0;
if (z == 1000) {
for (i=0; i<count; i++) {
["news"+i].ignoreWhite = true;
newNews = this["news"+i];
set ("news", news+newline+newNews);
z = 0;}
} else {
for (z=0; z<1001; z++) {
}
z = 1000;
}
================
How would I change the code so that it does what I'm after?
Thanks,
Richard
&count=4&news1="this+is+the+first+news+story"&news2="this+is+the+second+news+story"&news3="this+is+the+third+news+story"&news4="this+is+the+fourth+news+story"&EOF=true
I want to load each of these variables into a dynamic text field in my flash file.. However, I want it done intermittently i.e. add news1 wait 10 or so seconds and then append news2 etc. etc.
the actionscript I'm using is this (but it doesn't work???).
================
news = "";
z = 0;
if (z == 1000) {
for (i=0; i<count; i++) {
["news"+i].ignoreWhite = true;
newNews = this["news"+i];
set ("news", news+newline+newNews);
z = 0;}
} else {
for (z=0; z<1001; z++) {
}
z = 1000;
}
================
How would I change the code so that it does what I'm after?
Thanks,
Richard