I’m using Flash MX to create a website. The user navigates between different scenes/frames using buttons, just like moving to different pages in html (except the “pages” are different parts of the main movie’s timeline).
The problem I’m having is that on two embedded movie clips there are text boxes which dynamically load html-formatted text files (news updates for different topics). When I run the movie, both of these “pages”/“frames” work beautifully, but after the first time, when I come back to either of them, the dynamic text boxes’ scrollbars have disappeared and the up/down scroll buttons don’t work. By clicking on the loaded text and dragging I can force it to scroll, so all the content is there, but the controls are gone.
I’ve been searching forums for a couple of hours on this now and the only thing I found was someone found a similar issue on CS3 which required giving scrollbars instance names (which I did) and then inserting Actionscript telling them to update–and that is a bit beyond me. Is there something I have to type in when the text loads to get it to do that?
The script I’m using to load the text into the fields is as basic as it gets (and obviously cut and pasted from somewhere else):
loadText = new loadVars();
loadText.load(“history.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
history.htmltext = this.historytext;
};
What am I missing here?
Thanks–
Mark