How to retain original document size of nested movie

Hi,

I’ve been trying to figure this out for the past day and I’m at my wits end.
My main swf file is 800x600 in size and I have imported a movie using “loadMovie” into a container movieclip. The imported movie’s original size is 300x400 but when I import it into the main swf the movie’s contents seem to extend past its original size.

For example, in the imported movie I have text and images that fly into the main document area from outside the document in the grey space. When I save the swf file as a 300x400 movie and load it into an html doc everything looks fine; you do not see the starting position of the text and images. However, when I load the movie into another swf file of a larger size and render the swf, the imported movie does not retain its original size of 300x400 and you see the starting positions of my text and images.

Is there a way to fix this problem. Am I making sense? I can post screenshots if it would help. Thanks!

same problem trying to figure out…:frowning:

Create a mask layer in your external swf that is above all your content and make it the same size as the stage.

let me clarify, please…

  1. on the movie to be loaded I create a mask layer,right?
  2. the mask layer is the size of the entire stage area of the movie that is to be loaded?
  3. on the MAIN SWF(i.e where the deisred movie to be loaded supposed to be) I create an empty MOVIE CLIP (what size? any size?) give it an instance(i.e. mainloader)
  4. create a button(i.e. on the top) and give it an action
    on (release) {
    loadMovie(“movietobeloaded.swf”, mainloader);
    }

and it should work?

somehow it did not work right away :)…

well here are two files

i guess i am doing something wrong…:frowning:

ok:) without any masking…

here is what i have done:

I have created EMPTY movie clip NO SIZE at all ( it will look like a circle)
and using trial and error( 3 attempts) positioned it so that the content would be displayed exactly in the center of the stage…seem to work now…

but i welcome other solutions please

Couldnt open your fla, unexpected file format? I attached a zip with an example. Just make sure all your layers are using the mask on the topmost layer. If a layer doesnt have a mask symbol nudge it to set it under the mask.