Hi everyone,
I’ve been struggling with this for two days. I’ve scoured the forum and the internet for an explanation and example, with no luck. I can get the dynamic text file to load and scoll using this code from a kirupa tutorial:
loadText = new loadVars();
loadText.load(“kirupa.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.kirupatext;
};
It works great naming the text file “kirupa.txt” and adding the “kirupatext=” at the start of the text file. It loads properly into the dynamic text box, and scrolls using the scrollbar component.
BUT
Even tho’ I’ve clicked the <> enable html text rendering for the text box, HTML text does not render – instead it just lists the code as text.
I found another tutorial on another site:
http://www.webthang.co.uk/tuts/tuts_fmx/d_flash2/d_flash2.asp
which gives me a dynamically loaded text file with working HTML, BUT the scroll bar component WON’T work with it.
Any help is ENORMOUSLY appreciated. I’m new to actionscript, so this is all very frustrating to me.
Thanks in advance
md