Can anybody tell me what could be wrong and why do I get this. I have a dynamic text box with instance name and Var set to page_text. Then I have this code:
this.onEnterFrame = function(){
page_text = "page " + current_page + "/" + total_pages;
}
Before I get current_page and total_pages. If there are more pages, everything works fine and it shows like “page 1/5”, but if I have only one page, it shows “_level0.page_text” instead of “page 1/1”. current_page and total_pages trace correctly. Any ideas?