I have a flash footer with a collection of logos contained.
I have an intro and an outro preloader. Which if not loaded is great. However if already loaded then this should avoid the preload in and outro. But this is how I have is set up at the moment.
I have a container movie clip and in this container movie clip I have an intro. After the intro I have a stop function an the preloading as below:-
onEnterFrame = function() {
loading = _root.mc_container.getBytesLoaded()
total = _root.mc_container.getBytesTotal()
percent -= (percent-((loading/total)*100))*.25;
per = int(percent);
_root.mc_percent.percentage = per+"% Loaded";
if (_root.mc_container.getBytesLoaded() == _root.mc_container.getBytesTotal()) {
delete onEnterFrame
gotoAndPlay(18);
//play();
}
}
Then it plays the outro element.
But say if I go to a second page on the site understandably the intro and outro kicks in but I must avoid this in some way any ideas.
I can see the issue, but cannot think as to fix the problem.
Please advise
Trev