# Tweak my loaded movies

**URL:** <https://forum.kirupa.com/t/tweak-my-loaded-movies/7768>\
**Category:** Uncategorized\
**Created:** [November 7, 2002, 10:52am UTC](https://forum.kirupa.com/t/tweak-my-loaded-movies/7768 "2002-11-07T10:52:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kellys](https://avatars.discourse-cdn.com/v4/letter/k/22d042/32.png) [@kellys](https://forum.kirupa.com/u/kellys)\
**Post date:** [November 7, 2002, 10:52am UTC](https://forum.kirupa.com/t/tweak-my-loaded-movies/7768/1 "2002-11-07T10:52:01Z")

</div>

Hey gang,

As you can see, I am working on a photo gallery ([http://www.workrepublic.com/hughes/hughes.html](http://www.workrepublic.com/hughes/hughes.html))

I attached the fla for the main movie and the first three of the photos (which happen to be swf’s that I am loading onto the main movie).

My question: Why does the “root” movie “show through” briefly when each new movie is being loaded over it? Obviously, this doesnt look good. I have asked this question before but to no avail…I am sure this must be something simple…I should apologize for such a dumb question…

Any tips?

kellys

---

<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:** [November 7, 2002, 10:53am UTC](https://forum.kirupa.com/t/tweak-my-loaded-movies/7768/2 "2002-11-07T10:53:27Z")

</div>

Actually I posted my fla here…  
[http://www.workrepublic.com/hughes/sample.zip](http://www.workrepublic.com/hughes/sample.zip)

---

<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:** [November 7, 2002, 2:29pm UTC](https://forum.kirupa.com/t/tweak-my-loaded-movies/7768/3 "2002-11-07T14:29:21Z")

</div>

Well, the downloading of your file took a bit too long (lot’s of traffic I guess). But I think something like this:

In the mainmovie: make a movieclip (name: backgroundsquare) with in there: a square the with the same size and position of your photo-swf’s and the same colour as your background.  
place it on top of all other layers…

In frame 1 of the mainmovie you put:

\_root.backgroundsquare.\_visible = false;

Everytime you hit a new ‘thumbnail’ you execute this code:

on (release){  
\_root.backgroundsquare.\_visible = true;  
}

and in each photo-swf on the last frame:  
\_root.backgroundsquare.\_visible = false;  
stop();

There a much more elegant ways of dealing with this. But I couldn’t think of anything else.

I haven’t seen your FLA, so this could perfectly well make absolutely no sense.

And also: use a preloader for the jpg’s.  
Maybe you shouldn’t use a new swf for each photo. Just load the jpg’s…

Stanley
