I’ve used the tutorial on here ‘Loading Text from External Sources’, which works great. The problem I’m having is, that if you scroll the text in one external file, if you click on a button to go to another file the text starts off to where u last scrolled to, when I want it to start at the beginning. The code behind the buttons is as follows:
on (release) {
loadText = new loadVars();
loadText.load(“TEXT2.txt”);
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
}
I was struddling with some else that turns out really simple, so I thought I’d share in case anyone else searches for it.
I was having problems re-sizing my dynamic text box when there was lots of text in it. I’ve since discovered u just have to right click on the text box and click on ‘scrollable’. Yeah I now it’s simple but i couldn’t work it out for ages.
Creating engaging and entertaining content for designers and developers since 1998.