Okay I finally got it all working:
www.goldenwillowdesign.com
Except when you click on any of the buttons that load an external .swf - the preloader displays:
“Loading content 100%”
No matter how much is loaded.
Here is the code from one of the movies:
In action layer:
Frame 1:
Empty key
Frame 2:
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_root.gotoAndPlay(“Main”);
}
percentLoaded = Math.round((_root.getBytesLoaded()/_root.getBytesTotal())*100);
loadingText = “Loading content…” + percentLoaded + “%”;
Frame 3:
_root.gotoAndPlay(“check”);
Frame 10:
play();
But when I test the movie in Flash … it works fine.
Any ideas??
Vixie … who would attach file, but can’t get it to work
system
August 5, 2002, 7:12pm
2
for some reason, the ‘_root’ of loaded movies is now ‘_level0’. you will have to replace ‘_root’ with ‘this’ and it should work. i had the same problem with paths a little while back. if anyone has an explanation of why they changed this in flash mx i’d like to hear it!
jeremy
system
August 5, 2002, 9:07pm
3
Okay tried that … still happens.
Again if I test it in Flash (Ctrl + Enter) it works fine. When I upload it to the web, it says 100% while loading.
Help!
Thanks in advance,
Vixie
system
August 6, 2002, 12:54am
4
this is not meant to be patronising atall, but make sure your cashe is clear.
frame 3 goto and play “check”, whats check?