Ok, I figured out how to seperate each page by 6 lines
PHP Code:
this.page = 0;
this.linesperpage = 7;
for (this.i = 0; this.i < tokens.size(); this.i++){
this.pages = int(this.i / this.linesperpage);
if (this.page + this.linesperpage => this.i){
showText(300+this.i,this.mainpos[0],this.mainpos[1]-135+(this.i*15),this.style, this.font, tokens[this.page * this.linesperpage + this.i]);
changeimgvis(300+this.i,8);
changeimgzoom(300+this.i,.59);
}
It adds a line to the current page from the page thats supposed to be the next page onto the bottom of the current page...confusing...i think it has to do with the math can anyone help fix?
}