Um, I'm afraid I'm not quite sure what you mean when you say that each section loads into a separate url/movie as if that is the case I don't really understand why you have the preloader.
I've had a play and the only way that occurred to me to do it is to keep the entire site within one swf file and load each section into a container movie which can then be used to target the loaded swfs.
so, you have your main swf:
"completemovie.swf" which initially loads the preloader into an empty container movie on the main timeline, (lets call that "container") code is on first frame:
Code:
loadMovie ("preloader.swf", "_root.container");
to go to another section you then load the new section into the container, say on a button action:
Code:
on (release) {
loadMovie ("section1.swf", "_root.container");
}
and then from here you want to go back to the index, but without showing the preloader, so you need to add an if action on the first frame of the "preloader.swf" :
Code:
if (_root:x ==2) {
gotoAndStop ("indexframe");
} else {
play ();
}
this tells the preloader movie to go straight to the frame labelled "indexframe" if variable "x" = 2, which of course it won't the first time the movie runs. However, the second time you call the movie you will make x = 2 by setting the variable in the button (within completemovie.swf) you use to call the "preloader.swf" to replay:
Code:
on (release) {
loadMovie ("preloader.swf", "_root.container");
_root:x = 2;
}
thus the "preloader.swf" should skip the preload and go straight to the index. phew.
NOTE that when using variable "x" I have quoted the full path to the variable (_root:x) as unless you do that flash won't be able to find it. Especially important because you are checking variables from within loaded movies.
Of course, this also goes for any path addressing and you would have to make sure that all addressing in your loaded movies takes into account _root.container as else paths won't be readable.
Hope that is of some help anyway.
Anyone else got any ideas?
Good luck
K