blacktorncoat
Programmer
Hello,
I am loading a text file using myLoadVars.load("text.txt") and then put the result in a dynamic text box.
The file looks like:
text= info1
info2
info3
info4
This works fine, but what if I want to format the text using HTML ?
Then it would look like:
----------------------------------------
text=
<html xmlns
="urn:schemas-microsoft-com
ffice
ffice"
xmlns:w="urn:schemas-microsoft-com
ffice:word"
xmlns="<head>
-------------------------------------------
and so on..
And when I load the file again, the 'text' var doesnt contain everything..
Could anyone refer me to an example where a complete HTML txt file is loaded into one dynamic text box?
Thanks,
Y.
I am loading a text file using myLoadVars.load("text.txt") and then put the result in a dynamic text box.
The file looks like:
text= info1
info2
info3
info4
This works fine, but what if I want to format the text using HTML ?
Then it would look like:
----------------------------------------
text=
<html xmlns
xmlns:w="urn:schemas-microsoft-com
xmlns="<head>
-------------------------------------------
and so on..
And when I load the file again, the 'text' var doesnt contain everything..
Could anyone refer me to an example where a complete HTML txt file is loaded into one dynamic text box?
Thanks,
Y.