This content has been marked as final. Show 5 replies
Look at the Text Field class in the help. My advice would be to simply create a multiline text field (at runtime). Then use buttons to scroll that text inside the text field using bottomScroll and maxScroll. Let me know if you need further help.
Thanks Sym Tsb,
I'll take a look at that, but I don't want to scroll text. I want the text to display in a 'page by page' format like a book. Can I use those controls to access the text in 'chunks'?
Maybe this will do, or at least move u further to a solution?
Add this code to a new flash file and test:
Yes. You should be able to...especially if you know how many lines make up a page. It is hard to explain I suppose but read up on those properties and it should make a bit more sense what I am getting at.
I tested that. I presume that it can be expanded to go page1_txt, page2_txt, page3_txt (replacing test_txt and rest_txt) and so on. And I can see how it works for the text string, but how do I import an external text file to replace the string?