# How to structure site?

**URL:** https://forum.kirupa.com/t/how-to-structure-site/9635
**Category:** Uncategorized
**Created:** [December 15, 2002, 9:04pm UTC](https://forum.kirupa.com/t/how-to-structure-site/9635 "2002-12-15T21:04:25Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![andyb](https://avatars.discourse-cdn.com/v4/letter/a/96bed5/32.png) [@andyb](https://forum.kirupa.com/u/andyb)
#### Post date: [December 15, 2002, 9:04pm UTC](https://forum.kirupa.com/t/how-to-structure-site/9635/1 "2002-12-15T21:04:25Z")

</div>

I have a movie clip as a placeholder for content on my site. When different buttons are clicked it loads new movies into the placeholder. But for a split second whilst it loads there is nothing there. I don’t want to use a preload sequence. I want the old image to display until the new one has loaded. How do I do this?

Or, how can I load a single frame on demand at a time?

---

<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: [December 16, 2002, 7:58am UTC](https://forum.kirupa.com/t/how-to-structure-site/9635/2 "2002-12-16T07:58:08Z")

</div>

Ah the joys of flash …

two possible workarounds are

A)

Have a neutral background for all of your swfs and load through this background.

B)  
Load the swf into a holder off screen and when it’s loaded reposition it on screen by manipulation the \_x and \_y coords.

You’ll need 2 holders, an if() clause to determine which is on screen so you can load into the MC that’s off screen and getBytesLoaded()/getBytesTotal() loop.

Also if both MCs are on the same layer you can use swapDepths to ensure the loaded movie is always in front of the present movie
