# Movie Size

**URL:** <https://forum.kirupa.com/t/movie-size/22198>\
**Category:** Uncategorized\
**Created:** [May 31, 2003, 9:28pm UTC](https://forum.kirupa.com/t/movie-size/22198 "2003-05-31T21:28:26Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![macmar](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@macmar](https://forum.kirupa.com/u/macmar)\
**Post date:** [May 31, 2003, 9:28pm UTC](https://forum.kirupa.com/t/movie-size/22198/1 "2003-05-31T21:28:26Z")

</div>

I’m just about finished with a Flash movie that will become a web site. The Bandwidth Profiler gives the following info:  
MOVIE:  
Frame Rate: 24.0 fr/sec  
Size: 349 KB (3358324B)Duration: 5294 fr (220.6 s)

SETTINGS:  
Bandwidth: 4800B/s (200B/fr)

STATE:  
Loaded: 100.0% (5294 frames)  
449 KB (460677 B)

I’m wondering why the “MOVIE” size (349 KB is less than the “STATE” size (449 KB)? But I’m also wanting some opinions on the size of this for a web site since I am new to this stuff. Would this be considered a small/average/humungous size??? Sure wish someone out there could view this thing before it goes on the web, but I assume that’s impossible with such a big movie (with about 45 .swf files in it). Anyway, I never could have gotten this far without all the GREAT help from you people on this forum–I sure think there are wonderful individuals out there who are so nice to help dummies like me . Thank you!!

---

<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:** [June 1, 2003, 8:41am UTC](https://forum.kirupa.com/t/movie-size/22198/2 "2003-06-01T08:41:21Z")

</div>

the size of the movie is irrelevent if you have a nice preloader. Please tell me a movie that size has a preloader…

Also, be sure to post a link, once its on the web. We would all love to see it.

---

<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:** [June 1, 2003, 7:54pm UTC](https://forum.kirupa.com/t/movie-size/22198/3 "2003-06-01T19:54:21Z")

</div>

Thanks for the respose…I have a preloader but it’s not working correctly. The preloader (frame 1, “mcLoadingText”) won’t play until the scene is loaded 100%

I’ve attached 2 .jpgs, would you look at them? Firstly, I’m not sure how many frames to load in the-- if (\_framesloaded\>=50)–Action Script. Secondly, I see the frame 1 in the Bandwidth Profiler Goes way over the red bar (to 256 KB–that’s bad, right? But I only have a small movie clip of text that says “loading”–so why is frame 1 so big? I guess I’m goin’ nowhere with this as a web site if I can’t get the preloader fixed :\<((

---

<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:** [June 1, 2003, 8:00pm UTC](https://forum.kirupa.com/t/movie-size/22198/4 "2003-06-01T20:00:21Z")

</div>

Here’s the 2nd file of my scene the preloader is in.

---

<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:** [June 2, 2003, 3:27pm UTC](https://forum.kirupa.com/t/movie-size/22198/5 "2003-06-02T15:27:21Z")

</div>

Try this: Put your actions from frame 2 onto frame one, and change the code to:

[AS]ifFrameLoaded (50) {  
gotoAndPlay(3);  
}  
[/AS]

Then on frame two, put the code: gotoAndPlay(1);

Then test it to see if this solves your problem…

---

<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:** [June 2, 2003, 7:40pm UTC](https://forum.kirupa.com/t/movie-size/22198/6 "2003-06-02T19:40:17Z")

</div>

Well, the very same thing happens with your script and and suggested changes. This is pretty depressing…spend all the time making a web site and I can’t get a preloader to work. I don’t know anyone who does Flash to ask for help. :\<( Thank you for trying!

---

<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:** [June 2, 2003, 10:18pm UTC](https://forum.kirupa.com/t/movie-size/22198/7 "2003-06-02T22:18:29Z")

</div>

you should upload your FLA file, so we can see how it is structured. Then we might be able to help out some more…

---

<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:** [June 3, 2003, 2:05am UTC](https://forum.kirupa.com/t/movie-size/22198/8 "2003-06-03T02:05:09Z")

</div>

The .fla file is too big–this forum permits a maximum of “102400 byte” attachment. If I opened up an account (web site) at Mac and uploaded the .fla there, would you go there and download the file?..do you have a high speed connection/fast computer? It looks like it’s about 38.7 MB unzipped/unstuffed.

---

<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:** [June 3, 2003, 10:31am UTC](https://forum.kirupa.com/t/movie-size/22198/9 "2003-06-03T10:31:59Z")

</div>

_chokes_

---

<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:** [June 3, 2003, 3:12pm UTC](https://forum.kirupa.com/t/movie-size/22198/10 "2003-06-03T15:12:19Z")

</div>

uh ok. nevermind. 🙂

---

<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:** [June 3, 2003, 3:38pm UTC](https://forum.kirupa.com/t/movie-size/22198/11 "2003-06-03T15:38:58Z")

</div>

as far as a preloader goes, i havent really had a whole lot of success with the if frame is loaded stuff, you should try a different preloader technique, and then one i would recommend is using getBytesLoaded() and getBytesTotal()…

here is a basic preloader system…

// these go on frame 1

loaded = \_root.getBytesLoaded();  
total = \_root.getBytesTotal();

if (loaded == total){  
// here is where you put your actions when the movie is loaded  
gotoAndPlay(“movie\_start”);  
}

then on frame 2 place this code…

gotoAndPlay(1);

basically whats happening is you are creating a loop, and the variable “loaded” is set to the amount of bytes that the movie has loaded…then it sets “total” to the total number of bytes in the movie.

then you have an if then statement that asks if loaded equals total then do whatever…and i have put for the movie to go to frame “movie\_start” after this condition is true.

you can do a lot of cool things with this system, for instance make a percentage bar, display percent loaded text…all sorts of things…and its pretty simple…i think theres a tutorial for a loadBar in the tutorials here. check it out.

---

<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:** [June 3, 2003, 8:27pm UTC](https://forum.kirupa.com/t/movie-size/22198/12 "2003-06-03T20:27:51Z")

</div>

38+ meg is Huge. Surfers may not wait for it to load even  
with a preloader.

Majeye…  
The movie in your sig is about the coolest thing I’ve ever seen…  
could you point me in the right direction to learn how to build  
something similar (considering I’m pretty new to Flash)?

Thanks

Bob

---

<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:** [June 3, 2003, 8:36pm UTC](https://forum.kirupa.com/t/movie-size/22198/13 "2003-06-03T20:36:14Z")

</div>

faster: The .fla is 38mb, not the exported .swf file. Also it appears majeyes footer is just a movie clip with tweens in it and that movie clips uses the easing method to follow the mouse…

> **[kirupa.com - Mouse Follow with Easing](https://www.kirupa.com/developer/mx/followease.htm)**
>
> Learn how to ease an object toward the mouse pointer.

Ok, now onto other stuff…

> the size of the movie is irrelevent if you have a nice preloader. Please tell me a movie that size has a preloader

Is that to say you shouldn’t consider loading time if you have a nice preloader? Im sure that came out wrong, because I know people won’t wait 15 minutes for a site to load just because the site has a nice preloader 😉 Also ifFramesLoaded is deprecated, I wouldn’t be surprised if that method was dropped out of AS in the early future.

macmar: There are a ton of Preloader tutorials on this site and forum that can help you out if you don’t know how to make a preloader. Use the search field in the upper left corner, or the forum search button just underneith that to find some.

---

<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:** [June 3, 2003, 8:42pm UTC](https://forum.kirupa.com/t/movie-size/22198/14 "2003-06-03T20:42:10Z")

</div>

Thank you lostinbeta,

Great starting point

---

<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:** [June 3, 2003, 8:44pm UTC](https://forum.kirupa.com/t/movie-size/22198/15 "2003-06-03T20:44:14Z")

</div>

::the size of the movie is irrelevent if you have a nice preloader. Please tell me a movie that size has a preloader.::

okay, so the size is not made irrelevent by the preloader, but what i meant to convey, was that if its a large movie, the best bet is to occupy the user during the preloader, with a quiz, a fancy mouse-interaction, nudie pics, or whatever it takes! lol

faster: the link that LIB provided was exactly what i was going to share with you. The rest is movie clips inside of movie clips.

---

<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:** [June 3, 2003, 8:46pm UTC](https://forum.kirupa.com/t/movie-size/22198/16 "2003-06-03T20:46:38Z")

</div>

Majeye: You are right, a preloader is meant to hold the viewers interest while the site loads instead of showing a blank page, but that doesn’t really give free will on file size and all, but I get what you mean.

Macmar: You should definitely check out loadMovie() you could save a lot on your file size if you have it as seperate smaller movies you can preload individually instead of 1 giant movie with everything.

---

<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:** [June 3, 2003, 10:07pm UTC](https://forum.kirupa.com/t/movie-size/22198/17 "2003-06-03T22:07:29Z")

</div>

Yelllo,  
You guys are pretty funny–ahhh, Majeye, Nudes–not, but at least your making suggestions, lol.  
My published .swf is 420 KB. I have a 254 KB mp3 in it–so I’ll have to take it to my sound editor and do a lot of cutting and pasting. It was in a seperate .swf with a volume slider using linkage with Export in first frame. When I just put the mp3 in a frame on stage it illiminated the preloader problem for the most part–now the new problem, how to get it attached to a volume slider without the Export in first frame set in Linkage??  
I’ll try the bytes thing for my preloader.  
I have 43 .swf movies I load into my main movie via this script:  
tellTarget ("/external1") {  
play();  
}  
Lostinbeta: About the load Movie () thing–do you mean, for example, break up my scenes and make seperate .swfs out of them, then load them into like a background that is the same for all the scenes…am I on the right track?  
Well, thanks everybody for all the help–I’ll try to implement your suggestions.
