The ID is not very important, what is important is the
way you have done the ActionScripting, and how your movie has been made.
When you are making the preloader and movie, you need to make sure that they are part of the same flash movie.
Secondly, when you code, you should make sure that once the page has been loaded, you add the actionscript:
Code:
loadPercent = (Math.floor (_root.getBytesLoaded() / _root.getBytesTotal() * 100) + "%");
loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " KB of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " KB");
if (_root.getBytesLoaded() == _root.getBytesTotal()){ //Check for finished loading
//If loaded, final update to fields
loadPercent = "100%";
//loadBytes = (Math.round((_root.getBytesLoaded() / 1024) * 1000) / 1000 + " KB of " + Math.round((_root.getBytesTotal() / 1024) * 1000) / 1000 + " KB");
loadBytes = ("Completed");
gotoAndPlay("Loaded"); //Where to go once your movie is loaded
}
That is my code for loading.
Where it says:
Code:
loadBytes = ("Completed");
gotoAndPlay("Loaded"); //Where to go once your movie
You want that bit to take you to the scene, or frame that you are loading.