-
professional look
Let me explain the situation. I have a vast map that comes in as a loaded swf. It's only about 120k so not that heavy. I have some script that tell it to go to a certain x/y position after it has loaded. All is well.
I did put a preloaded in with the movie. As the map is 3000X2000 in size I placed the preloaded up in the top left had corner. You see a few moments of the preloader then all it rushed to the x/y position which is miles away from the top left hand corner. Not very professional in look.
Is there anyway of having a preloader on the base movie (the one that is loading the swf map), that indicates the progress of the download movie. And just maybe for the preloader to wait a couple of seconds after the movie has loaded to avoid the awful rush across the screen.
with thanks
Brian
-
hi,
not quite easy to imagine without seeing the files.
however the following method might work for you.
let's say the movement of the map is controlled by an onenterframe() action. to avoid this from playing right away, check whether a necessary condition is true:
onenterframe() {
if (_root.blabla) {
map._x=...
map._y=...
etc.
}
}
the _root as part of the condition is necessary to make it available across scenes and loaded movies.
make your preloader action go to frame x when all is loaded. at frame x, _root.blabla=true:
on frame(x) {
_root.blabla=true;
}
the higher the value of x, the later your map is going to move.
see if it helps...?
-
Many thanks Lys.
I may come back with a sample if I stumble.
Brian