alright.
i'm getting fine results when i run this from my computer, but not when its uploaded online. ...there are no path errors (i.e. filenames), so i assume its a loading issue.
i have a menu in a main flash file, and when options are selected, its calls to load the respective swf, and then unloads what was previously in the holder.
here is an example of the code for the button 'about us',
where _global.current checks to see if the content is already loaded; each option renames this variable respectively.
on (release) {
if (_global.current != "aboutus"
unloadMovie(_root.mainHolder);
loadMovie("aboutus.swf", _root.mainHolder);
_global.current = "aboutus";
}
}
i put a preloader in each swf file to be loaded, where frame 10 has the content to be displayed:
loaded1 = _root.getBytesLoaded();
loadedtext = loaded1/_root.getBytesTotal()*100+"%";
if (loaded1 == _root.getBytesTotal()) {
gotoAndStop(10);
} else {
prevFrame();
play();
}
the probelm is that the preloaded flashes for a moment, but then nothing shows. if click on another button and then back the first one - this time it'll show. lol... i have no idea whats going on.
help!
(thanks a million in advance)
-adam