the variable got from the file is remembered by IE cache or flash or I don’t know what… You see … when a variable is loaded from the file to the flash… and then the variable is changed in the file and called again in the flash… it doesn’t change…
flash uses the same variable what it loaded on the first time.
can You tell me how to release the variable so it could load the new one?
try to upload it to a server and opening the same flash via http server…
I tried with a swf file only… no Internet Explorer involved… and still it didn’t refresh itself…
so is there some options about the cookies for flash too?
I know for a fact that it’s doable…
watch the www.uno.ee/uuno page… there the animated swf file refreshes frequently it’s data about the song that’s being played on the radio at the time…
Use this code instead, i think it should work. You’ll have to upload it to a server to test though.[AS]on (release) {
loadText = new loadVars();
loadText.load(“TEXT1.txt?”+new Date().getTime());
loadText.onLoad = function(success) {
if (success) {
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}[/AS]
I tried a similiar code… exept instead of new.date() I used random(“100000”) code thinking that it would use a different random number every time… but it didn’t work… Yours did…