preloader problems..
- Started
- Last post
- 10 Responses
- Chaser
When I test the movie it looks fine using show streaming. The progress bar goes right along then goes to the movie when loaded. When I upload the movie to the site it is blank but loads the movie.
Here's the code:
var totalSize;
var amountLoaded;
var percentComplete;
totalSize = _root.getBytesTotal();
amountLoaded = _root.getBytesLoaded();
percentComplete = (amountLoaded/totalSize)*100;
_root.bar._xscale = percentComplete;
if (percentComplete == 100) {
gotoAndPlay ("scene 1", 4);
}I have in the second frame gotoandplay frame 1 All the content starts in frame 4
You can check the swf on www.dopecomputer.com
in the audio and bio section I have the progress bar loader. Any help is appreciated. Thanx!
- Chaser0
Right url:
www.dopecomputer.com/main.htm
- isaiahryon0
I just checked out your site. definitly did not see the loader bar in either section.
I do have cable though... quick question. how big are those sections. maybe you don't see the bar because they are loaded faster then it is even viewable?
ill relook over your coad again in a second
- jobhall0
i have the same problem with preloaders and it is not because they are too small.
my swf's are loaded externally with the preloader built in to them. the look fine until you upload them, then they just flash between frames??
- paulrand0
me, too. same code. works in main movie but not in swfas loadedinto _level3.
- Chaser0
Anybody got any ideas?? I've used code from 3 different sources with pretty much the same outcome. I put the code in either the beginning of the external movie or in the 1st scene.
- paulrand0
what's odd is that I'm pretty sure the preloader itself is working, but the loader bar (or any other graphics I add for disagnostic purposes) don't show up
- Chaser0
I have the same problem. The preloader works fine when testing using show streaming. But when I upload to the site it doesn't work.
- paulrand0
var totalSize;
var amountLoaded;
var percentComplete;totalSize = _root.getBytesTotal();
amountLoaded = _root.getBytesLoaded();percentComplete = (amountLoaded/totalSize)*100;
_root.bar._xscale = percentComplete;
if (percentComplete == 100) {
gotoAndPlay ("loadbuttons");
}works in main .swf
doesn't work in swf loaded into "objects" clip on level 3
(DOES work in "show streaming" preview)wtf?
- ilmarine0
just off the top of my head...
can the problem be linked with the system of object linkage and its options export for actionscripting/load in first frame?
- ave0
Chaser, it looks like the swf's are loading too quick to see the progress bar.
Also, when you click the links button, the "Loading..." var says Bio instead of links.