I have this code in frame one.
[AS]
bytes_loaded = Math.round(level0_main_menu_container_mainmenu.getBytesLoaded());
bytes_total = Math.round(level0_main_menu_container_mainmenu.getBytesTotal());
getPercent = bytes_loaded/bytes_total;
level0_main_menu_container_mainmenu.loading_bar._width = getPercent100;
level0_main_menu_container_mainmenu.loading_text = Math.round(getPercent100)+"% loaded please wait.";
if (bytes_loaded == bytes_total) {
gotoAndPlay(“open”);
}
[/AS]
this in the second.
[AS]
gotoAndPlay(1);
[/AS]
this .swf file is being loaded into the root of another movie, at the moment it flashes one frame of the loading bar, then nothing until it is all loaded…
I think that it may have something to do with the paths… but I dont know…
what have I done wrong ?