converting dynamic text code to work in flash player 8
Hi
I use this code all the time to import text from a external text file which i can scroll. It doesn't work in flash player 8 though, can anyone convert it so it would work please?
Code:
System.useCodepage = true;
LoadVarsText = new LoadVars();
LoadVarsText.load("english.txt");
LoadVarsText.onLoad = function(success) {
if (success) {
scroller.htmltext = this.mainContent;
scrolling = 0;
frameCounter = 1;
speedFactor = 3;
} else {
trace("not loaded");
}
};