Hi Bret,
I've been trying for a week now to get the data from my text file loaded into my dynamic text box and to scroll. I can't get it to work. Can you please tell me what I'm doing wrong ... I give up. Here's what I have:
Code:content=new LoadVars(); content.onData=function(welcome){ text.setContent(0,welcome,1,2); } content.load("welcome.txt") myArray=welcome.split("\n"); function showWelcome() { welcome.text="" if(count >= maxCount) { clearInterval(intervalId); } for (x=count;x<=count+10;x++){ welcome.text+=myArray[x]; } count++ } maxCount=myArray.length intervalId = setInterval(this, "showWelcome", 1000);




Reply With Quote