# Preloader Question

**URL:** <https://forum.kirupa.com/t/preloader-question/29406>\
**Category:** Uncategorized\
**Created:** [August 26, 2003, 2:44pm UTC](https://forum.kirupa.com/t/preloader-question/29406 "2003-08-26T14:44:51Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avi](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@Avi](https://forum.kirupa.com/u/Avi)\
**Post date:** [August 26, 2003, 2:44pm UTC](https://forum.kirupa.com/t/preloader-question/29406/1 "2003-08-26T14:44:51Z")

</div>

Ok this is kinda hard to explain but here goes

I have one 4 seperate movies all with a preloader.  
The opening movie preloads with percentage and all and gives the user the choice of the other 3 movies. Once the user chooses one of these IT SHOULD preload the movie showing percentage just like in the first one, BUT it doesnt, and neither do the other two.

Does any have any idea why the other preloader wont work!!!???

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 2:53pm UTC](https://forum.kirupa.com/t/preloader-question/29406/2 "2003-08-26T14:53:30Z")

</div>

What code did you use for each preloader ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 2:56pm UTC](https://forum.kirupa.com/t/preloader-question/29406/3 "2003-08-26T14:56:49Z")

</div>

Im attaching a file with just the preloader, the movie is quite big

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 3:13pm UTC](https://forum.kirupa.com/t/preloader-question/29406/4 "2003-08-26T15:13:27Z")

</div>

Is this the main movie or one of the three submovies ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 3:21pm UTC](https://forum.kirupa.com/t/preloader-question/29406/5 "2003-08-26T15:21:03Z")

</div>

I took a look at your preloader and saw that there was a play action at the last frame. And your preloader code tells flash to got and play that frame when loaded. So what you have is an infinite first frame - last frame loop.

Oh and by the way, the frames between the two first frames and the loaded frame won’t be played, since your preloader tells Flash to go to the last frame (with the label “loaded”) when fully loaded, so it will jump there and stop. If you want the frames in between also played, change

[AS]  
if (\_root.getBytesLoaded()\>=\_root.getBytesTotal()) {  
\_root.gotoAndPlay(“loaded”);  
}  
[/AS]  
to  
[AS]  
if (\_root.getBytesLoaded()\>=\_root.getBytesTotal()) {  
\_root.gotoAndPlay(3);  
}  
[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 3:21pm UTC](https://forum.kirupa.com/t/preloader-question/29406/6 "2003-08-26T15:21:51Z")

</div>

Forgot the FLA …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 26, 2003, 9:24pm UTC](https://forum.kirupa.com/t/preloader-question/29406/7 "2003-08-26T21:24:01Z")

</div>

Ok, i see whats happening.

I’ll give that a try and see what happens.  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 1:47am UTC](https://forum.kirupa.com/t/preloader-question/29406/8 "2003-08-27T01:47:55Z")

</div>

OK, thats not excatly my problem!!

The preloader works, but only for the opening movie.  
It doesnt work for the remaining three movies if one of them is chosen.

Im uploading the files to: [www.geocities.com/avidb2003/jacket](http://www.geocities.com/avidb2003/jacket)

look for jacket.swf, thats the starting one the other three are the option available to the user.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 6:17am UTC](https://forum.kirupa.com/t/preloader-question/29406/9 "2003-08-27T06:17:03Z")

</div>

The preloaders work fine for me …

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 5:31pm UTC](https://forum.kirupa.com/t/preloader-question/29406/10 "2003-08-27T17:31:24Z")

</div>

Ok, cool

But they wont work here: [http://www.buildyourjacket.com/htm/customize.aspx](http://www.buildyourjacket.com/htm/customize.aspx)

click the “click here to begin” link.  
the first one will preload but the others dont!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 5:37pm UTC](https://forum.kirupa.com/t/preloader-question/29406/11 "2003-08-27T17:37:42Z")

</div>

You’re right … well I’d have to see the entire FLA setup.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 8:17pm UTC](https://forum.kirupa.com/t/preloader-question/29406/12 "2003-08-27T20:17:37Z")

</div>

im uploading it right now.

check [www.geocities.com/avidb2003/jacket/\*.fla](http://www.geocities.com/avidb2003/jacket/*.fla)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 8:21pm UTC](https://forum.kirupa.com/t/preloader-question/29406/13 "2003-08-27T20:21:28Z")

</div>

You edited the link before I could download it 😛 PM the link to me, that’ll be easier.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 8:22pm UTC](https://forum.kirupa.com/t/preloader-question/29406/14 "2003-08-27T20:22:38Z")

</div>

wo…hold on a sec.

my files are too big to upload to the geocities account  
let me find another place to put them

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 8:33pm UTC](https://forum.kirupa.com/t/preloader-question/29406/15 "2003-08-27T20:33:28Z")

</div>

opss sorry bout that

ok, im uploading \*.rar files, hope you can unzip those??

link is

> **[Yahoo Small Business - Cheap Domains, Web Hosting, Website Builder, Ecommerce...](https://smallbusiness.yahoo.com/)**
>
> Yahoo Small Business Offers Cheap Domain Names, Web Hosting, Easy Website Builder, Business Email, Local Listings, and Ecommerce Solutions for Your Small Business.

look for the rar files

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 8:39pm UTC](https://forum.kirupa.com/t/preloader-question/29406/16 "2003-08-27T20:39:44Z")

</div>

There are no RAR files … please ZIP’em instead of RAR.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 8:56pm UTC](https://forum.kirupa.com/t/preloader-question/29406/17 "2003-08-27T20:56:15Z")

</div>

im still uploading them. I have a \*\*\*\*ty dial up connection

chekc back in like 30 min, hopefully

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2003, 10:01pm UTC](https://forum.kirupa.com/t/preloader-question/29406/18 "2003-08-27T22:01:15Z")

</div>

ok…files are up

check the zip files.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 28, 2003, 8:09am UTC](https://forum.kirupa.com/t/preloader-question/29406/19 "2003-08-28T08:09:27Z")

</div>

You made the same error, putting a play() action at the last frame. That will cause Flash to go into an infinite loop. Replace it with stop(), that should do it. I couldn’t view all your FLA’s because for some reason, all the others crashed Flash ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 28, 2003, 2:43pm UTC](https://forum.kirupa.com/t/preloader-question/29406/20 "2003-08-28T14:43:02Z")

</div>

but i thought i need the play at the end of the preloader to move to the next scene!!

It cant be an infinte loop cause it will go the frame labeled Laoded only if getbytesloaded \>= getsbytestotal right??

[Next page](https://forum.kirupa.com/t/preloader-question/29406.md?page=2)
