# Best flash site Structure?

**URL:** <https://forum.kirupa.com/t/best-flash-site-structure/33671>\
**Category:** flash\
**Created:** [October 22, 2003, 10:40am UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671 "2003-10-22T10:40:52Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![kev](https://avatars.discourse-cdn.com/v4/letter/k/e9bcb4/32.png) [@kev](https://forum.kirupa.com/u/kev)\
**Post date:** [October 22, 2003, 10:40am UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671/1 "2003-10-22T10:40:52Z")

</div>

Hi all, I have been wondering about this for a while I would like some opinions on this. I did search for this, with no luck, so If there is another thread on this I apologise, please direct me to it!

What is the best way to structure a complete Flash site?

here’s how I have been doing it:

Index.html - which holds holder.swf (blank holder - level0)

holder.swf then loads my main.swf to level50 (just so I have 49 levels to play with if needed) which has a blank layer where all content is placed and other lower levels will be seen.

all other sections are loaded into lower levels than level50

For smooth trasitions between each loaded level requires alot of checking actionscipt routines.

This is why I ask is there another/better way? or am I doing it right!

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:** [October 23, 2003, 5:41am UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671/2 "2003-10-23T05:41:32Z")

</div>

usually i have my index swf load all my other movies. it’s a good way if you plan on having transitions. your transition and navigation would be your index.swf and that can load ther movies from there

---

<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:** [October 23, 2003, 7:20am UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671/3 "2003-10-23T07:20:49Z")

</div>

Hi Digitalosophy, do you load your other movies into the index.swf into different levels? or do you load them into an empty movieclip like I have seen mentioned here before? if so what is the difference/benefits between using levels and empty MC’s

take care

---

<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:** [October 23, 2003, 5:25pm UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671/4 "2003-10-23T17:25:30Z")

</div>

well at first i was using levels, now i use a movieclip. as far as the benefits, its really only cleaner code

let me explain. let’s say you have 7 movies to be loaded. if you load onto levels, you’ll ned to make sure each button unload 6 of the movies, that means

```auto

unloadMovieNum(1);
unloadMovieNum(2);
unloadMovieNum(3);
unloadMovieNum(4);
unloadMovieNum(5);
unloadMovieNum(6);

```

As you can see that would prob get a bit sloppy, if you use a placeholder(movieclip) there is no neeed for all that code to get rid of a movie.

---

<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:** [October 23, 2003, 7:59pm UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671/5 "2003-10-23T19:59:23Z")

</div>

Ah yes I see, do you have an example of the placeholder(movieclip) way. I have never done it that way, so when you load another movie into the place holder it just over writes the one that was there previously? Is that correct?

Cheers

---

<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:** [October 25, 2003, 5:17pm UTC](https://forum.kirupa.com/t/best-flash-site-structure/33671/6 "2003-10-25T17:17:45Z")

</div>

yep, thats correct. I use LoadMovie into a empty movieclip method as well, easiest to use with transitions.
