How to break down a very long dynamic text

I load a very long dynamic text into multiline dynamic text box successfully. The variable I use in the dynamic text box is called displayText. Eventually, I declare those variable within the textloaded.txt starting with displayText=Lorem ipsum dolor sit amet… This is very long text, so using scroll bar is not the option

I am thinking a workarround like to have a link in the beginning of displayText within textloaded.txt like this :

displayText:Page |1|2|3|4|
and |1| link to paragraph 1, |2| link to paragraph 2 etc...
 

So when 1 is clicked it will display paragraph 1, 2 will display paragrah 2, etc.

I’ve been trying that method for hours and no luck…anybody can help me?
Cheers

first thing that comes to my mind is split it up into 4 variables and have four buttons below your dynamic text field that loads in the corresponding variable/part of your text…
you can always hide them after/before your text has done its thing…

Prophet.

ok… another suggestion… you should know at least a little html for this…

first load the textfile as html text:

      NewsBox.html = true;
      NewsBox.htmlText = this.News;

whereas your .txt then looks like this:“News= …” (whithout the quotation marks)

your .txt looks like that:


  News= 
  Page <a href="#1">|1|</a> <a href="#2">|2|</a> etc...
  <a name="1">paragraph 1</a> this is the first paragraph.. you ll get there by clicking on the |1|
  <a name="2">paragraph 2</a> ..............   
  

(the # tells the pc that it should search the link within the same page)

ok… i hope i made myself clear… if you have no clou about html this might be difficult, cause you have to set the layout of the .txt just with html tags… but it is the only way you can manage this within the .txt…

but this is quite a mighty feature… so i’d learn a bit of html (everyone should know html basics anyway…) mighty because it is an easy way to modify the layout of your dynamic text fields…

basically its just setting anchors in html…

hope this helps…

i was just about to say its basically anchors isnt it?

although thats a good idea i dont thinkhe can use this as he wants (if i understand correctly) basically a large text broken up into separate texts so that the scrollbar isnt too big…

while i think about it, you neednt change your .txt at all… you can have buttons (as aforementioned which display substrings of the text in the textfield… only problem is it works on a character basis, i guess you could always do a word count in MS Word (it has the character count as well… dont forget to take the count including spaces…)

juist anovr suggestion!

Prophet.