I’m working on a flash template, and when i publish the site, the loader dosnt work. I check the code in the actions menu of the .fla and i can’t find an error. this is the code.
onClipEvent (load)
{
total = _root.getBytesTotal();
}
onClipEvent (enterFrame)
{
loaded = _root.getBytesLoaded();
percent = int(loaded / total * 100);
text = percent + "%";
gotoAndStop(percent);
if (loaded == total)
{
_root.gotoAndPlay(4);
} // end if
}
this is the complete flash template. with the .fla and all the files.
http://hotfile.com/dl/93339597/35e8fdb/new_28781.zip.zip.html
Here it is:
I don’t really understand why you have the same preloaders on the same layer with the same instance name. The second one doesn’t do anything there.
Hope it helps, good luck.
Rob