1.

Solve : Flash Dynamic Text Problem?

Answer»

I am adding a EULA text field into a flash project that calls the text from an external text document (notepad - I've tried Unicode, ANSI & UTF-8, and also embedded the fonts).

I can get it to call and display the text, with scroll bars, but it doesn't call the entire document. Is there a limit to the amount of words/letters or size of document that dynamic text can call in one event?

My cods is:
myData = NEW LoadVars();
myData.onLoad = function() {
eula_txt.text = this.eula;
};
myData.load("EULA.txt");

Dynamic text is set to Multiline (with wrap), and there's also a VERTICAL scroll bar. The text will scroll up to a point.

If I DECREASE the font size it still only displays the same amount of text.

I've also tried myData.maxChars = null, to remove any limit on the NUMBER of characters allowed - still the same.

Any suggestions?Ok, for those who have suffered sleepless nights working this one out - No?........just me then!!

It seems Adobe don't like the & (ampersand) symbol in a document

Quick change to %26 for symbol reference and voila - all sorted! Good.

That's ActionScript, no?



Discussion

No Comment Found