your movie.
"garroyo" <webforumsuser@macromedia.com> wrote in message
news:ctosu4$ft9$1@forums.macromedia.com...
> I have a preloader that has worked fine for me on several occasions.
However,
> in this circumstance I am having some trouble with it. It works, but for
some
> reason the percentage complete and the status bar does not appear until it
has
> reached about 90%. I've done some debugging. I have two files online.
One
> that works and one that doesn't.
>
http://www.audioartstudios.com/version2/swf/vt2a.swf and
>
http://www.audioartstudios.com/version2/swf/vt2b.swf The only difference
> between the two is what I have in the library. I did not make any changes
> anywhere else in the file. What I added to the library are several
pictures,
> buttons, and mc's. This changed the swf size from 57K to 379K. The files
size
> should not make a difference, and in fact has not mattered in the past
when I
> have created swf's with the same preloader and with a larger file size.
This
> is the code I use for my preloader: onClipEvent (enterFrame) { loading =
> _parent.getBytesLoaded(); total = _parent.getBytesTotal(); percent =
> 100*loading/total; percentage = Math.round(percent) + '%'; loadBar._width
=
> percent; if (percent>99) { _parent.gotoAndPlay(2); } } The preloader is
built
> in a mc and the above code is placed on the mc. The preloader is only on
the
> first frame and the only other image on the first frame is a 1 pixel
border.
> The swf stops on the first frame and does not move to frame 2 until the
> preloader is complete. I could really use some help, or better yet, an
answer.
> I need to have those images in the library and will make use of them on
the
> timeline once I have the preloader fixed.
>