Hi, this might be a very simple one!
I just can’t work it out. I am trying to open a movie within another movie, but can’t seem to get the preloader in the second movie working.
total_bytes = _root.getBytesTotal();
loaded_bytes = _root.getBytesLoaded();
remaining_bytes = total_bytes-loaded_bytes;
percent_done = int((loaded_bytes/total_bytes)*100);
bar.gotoAndStop(percent_done);
ifFrameLoaded (“Scene 2”, 350) {
gotoAndPlay(“Scene 2”, 1);
}
I have used the code above for both movies. This all works fine on the first movie.
When i select a button from the navigation area to open a new movie on the right handside preloading bar don’t seem to move.
any suggestions are welcome.
Link: http://www.watermelon.uk.com/flash/flash3.9.html
Only the trends and ranges buttons work.