Hi all,
I tried looking for help with this problem, but couldn’t find anything. It seems a very simple problem to me, so I’m expecting a fairly easy fix.
I’ve got a Dynamic Text input field on my stage (loadTitle). There are two buttons, one does this:
on (release) {
this.createEmptyMovieClip("preloader", 1000);
loader.createEmptyMovieClip("loader", 1);
loader.loader.loadMovie("design_graphic/misc/midnight.jpg");
loader._visible = 1;
preloader.onEnterFrame = function() {
var l = loader.loader.getBytesLoaded();
var t = loader.loader.getBytesTotal();
var getPercent = l/t;
loadBar._height = getPercent*60;
loadText = Math.round(getPercent*100)+"%";
loadTitle = "Cover - Production Package";
};
}
It loads a dynamic jpeg, and changes the title. The other button does this:
on (release) {
loader._visible = 0;
loadTitle = "graphics"
gotoAndStop("graphics");
}
It moves to a seperate sections, hides the jpeg loader, and changes the title to the appropriate section. My problem is that the text doesn’t change when i click on the second button if i have already clicked on the first. Everything loads fine, its just this one little problem. Any help will be greatly appreciated.