load HTML into flash with LoadVars
I have done a tutorial on how to load in HTML text from an external text file using LoadVars.
load Html into flash with LoadVars and external text file
It involves creating a textbox or TextField, making it dynamic and multiline,
drop a UIScrollBar on the textfield and give it an instance name..
make your text file and have the string variable with the contents of the string in the text file…
make sure you do not leave any spaces between the variable name and the equals sign or it will not work for some bizarro reason…
then create a LoadVars object
and load the text into the textfield via the LoadVars object..
make sure the text instance has html set to true and use . htmlText instead of .text
anyway click the link for the tutorial to get the full details of how to load html into a textfield using LoadVars in Flash 8.
