# Flash Loading

**URL:** https://forum.kirupa.com/t/flash-loading/19156
**Category:** flash
**Created:** [April 24, 2003, 7:56pm UTC](https://forum.kirupa.com/t/flash-loading/19156 "2003-04-24T19:56:02Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![Maxtr0sity](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Maxtr0sity](https://forum.kirupa.com/u/Maxtr0sity)
#### Post date: [April 24, 2003, 7:56pm UTC](https://forum.kirupa.com/t/flash-loading/19156/1 "2003-04-24T19:56:02Z")

</div>

Hey, I’ve delt with the problem before and somehow, I managed to solve it, but then I forgot how. Now since I’m revisiting Flash, I get it again…Anyways…I recently tried to do a bar preload by the kirupa tutorial (beautiful), which taught me a lot, I can’t test it out though. The actual movie is somewhere around 1.5mb. The actual content isn’t that big, but I had to put a music file in there to see if the preloader actually works. Now, in Dreamweaver, I created a link to the swf file:

\< A  
HREF=“[http://members.lycos.co.uk/maxtr0sity/AsianInc.swf](http://members.lycos.co.uk/maxtr0sity/AsianInc.swf)”  
TARGET="\_blank"  
\>Flash  
\< / A \>  
^separated and capitalized to avoid link

But when I click on the link, a new window pops up (suppose to), but nothing happens. I think my IE is trying to load the entire movie first and not let the movie load it self. I doubt that I’m right, but any clues?

---

<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: [April 25, 2003, 12:17am UTC](https://forum.kirupa.com/t/flash-loading/19156/2 "2003-04-25T00:17:48Z")

</div>

ok do this go flash and hit ctrl + enter to test your movie. go to bandwidth profiler and change you connections speeds. slow them down and then hit ctrl + enter twice to see your 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: [April 25, 2003, 12:51am UTC](https://forum.kirupa.com/t/flash-loading/19156/3 "2003-04-25T00:51:13Z")

</div>

Ok, thanks anyways, but I have solved that problem, but neways…i hav other problems now…i dunno if neone has had this problem before, but when i tried to make a file bigger, the fla went really big, and i had warnings by flash that the source code is unstable if i run it, i tried to take out most of the contents, but the fla size doesn’t decrease even after i restart…

---

<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: [April 25, 2003, 7:39am UTC](https://forum.kirupa.com/t/flash-loading/19156/4 "2003-04-25T07:39:59Z")

</div>

mmh that never happened to me  
-try saving all your sound files/big images in anothr flash library that you then import, maybe that might save some space…

---

<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: [April 25, 2003, 8:14am UTC](https://forum.kirupa.com/t/flash-loading/19156/5 "2003-04-25T08:14:19Z")

</div>

FLA size will not be reduced, EVEN if you delete objects from your library. The swf will be reduced however, even if the FLA is not reduced. To tell what the produced swf file size will be, do a test and then look in the bandwidth profiler.

---

<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: [April 25, 2003, 8:15am UTC](https://forum.kirupa.com/t/flash-loading/19156/6 "2003-04-25T08:15:15Z")

</div>

as for unstable code… that usually comes from a loop reaching “infinity”. Double check any loops you have for syntax errors.

---

<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: [April 25, 2003, 11:13am UTC](https://forum.kirupa.com/t/flash-loading/19156/7 "2003-04-25T11:13:01Z")

</div>

try removing unused symbols in the library… then save as the file to different filename… then… that’s it!

hope that helps…

---

<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: [April 25, 2003, 12:27pm UTC](https://forum.kirupa.com/t/flash-loading/19156/8 "2003-04-25T12:27:37Z")

</div>

ahh… good answer noxious. I did not know that. I’ll have to play around with that a bit.

---

<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: [April 25, 2003, 2:54pm UTC](https://forum.kirupa.com/t/flash-loading/19156/9 "2003-04-25T14:54:44Z")

</div>

Well, ok, but lets say I deleted a real big file from the library and the fla is still say…4mb…what if i add more stuff to the fla?..will it go from 4mb?..or is it going to get larger once it fills up the 4mb?

---

<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: [April 25, 2003, 4:05pm UTC](https://forum.kirupa.com/t/flash-loading/19156/10 "2003-04-25T16:05:10Z")

</div>

no one cares about the fla file… that is just your source file… if you want to edit, create and such.

the size that you DO worry about is the swf… the swf only save the info that is needed. you can have a million-and-ten unused items in the library, and swf will not include it.

if you want to make sure the swf file is smaller you can change the mp3 quality and jpeg quality in the publish settings dialog box.

try to edit your mp3’s in cooledit or something… try and stick to smaller loops (instead of an entire song (watch out for copyright)). a smaller mp3 loop will help with the file size as well.

erm… what else _thinking_

…

watch out for infinite loops in the actionscript like david said… this can cause quite a mess. generally it will freeze the computer up for a bit, then you will get a pop-up message telling you that there is a loop running, and it will ask you if you wish to continue running the loop… JUST SAY NO!!! else you might bomb your computer out.

hope this helped a little bit

👽

---

<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: [April 25, 2003, 4:08pm UTC](https://forum.kirupa.com/t/flash-loading/19156/11 "2003-04-25T16:08:00Z")

</div>

quite a nice preloader… just copy all the info into your preloader scene… don’t forget the stop(); function on the frame!

👽

---

<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: [April 25, 2003, 5:14pm UTC](https://forum.kirupa.com/t/flash-loading/19156/12 "2003-04-25T17:14:23Z")

</div>

well…i finally decided on a preloader…right now…the movie has nothing…but by the title…neone wanna make some suggestions?

[http://members.lycos.co.uk/maxtr0sity/trial.htm](http://members.lycos.co.uk/maxtr0sity/trial.htm)

Me and ahmed has got this so far:

Title: How To Become An Asian  
Subjects Covering:  
-Chinese food  
-Martial Arts

PS.this is suppose to b funny

---

<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: [April 25, 2003, 5:39pm UTC](https://forum.kirupa.com/t/flash-loading/19156/13 "2003-04-25T17:39:21Z")

</div>

either the file is f\*\*\*ing huge, or it is stuck… i can’t get past the “how to become an asian” loop… i think you seriously need a preloader…

or might it be stuck???

dunno? i’ll try again

👽

---

<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: [April 25, 2003, 5:43pm UTC](https://forum.kirupa.com/t/flash-loading/19156/14 "2003-04-25T17:43:40Z")

</div>

it’s a loop because i havent’ thought of contents yet…

---

<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: [April 25, 2003, 5:53pm UTC](https://forum.kirupa.com/t/flash-loading/19156/15 "2003-04-25T17:53:25Z")

</div>

bwhahaha… and here i’m thinking its stuck… erm, maybe it might help if you are asian to give some asian advice. LOL

if (youAreAsian){  
add all the tips you can think of;  
}else{  
ask an asian for help;  
}

hehehehe 👽

---

<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: [April 25, 2003, 5:56pm UTC](https://forum.kirupa.com/t/flash-loading/19156/16 "2003-04-25T17:56:08Z")

</div>

lol

---

<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: [April 30, 2003, 9:01am UTC](https://forum.kirupa.com/t/flash-loading/19156/17 "2003-04-30T09:01:24Z")

</div>

> \*Originally posted by david \*  
> \*\*ahh… good answer noxious. I did not know that. I’ll have to play around with that a bit. \*\*

heeeheee … that’s a nice compliment david! 😉
