# Content of external swf showing outside of movie clip

**URL:** https://forum.kirupa.com/t/content-of-external-swf-showing-outside-of-movie-clip/301356
**Category:** flash
**Created:** [December 8, 2009, 8:21am UTC](https://forum.kirupa.com/t/content-of-external-swf-showing-outside-of-movie-clip/301356 "2009-12-08T08:21:50Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![cterry06](https://avatars.discourse-cdn.com/v4/letter/c/b4bc9f/32.png) [@cterry06](https://forum.kirupa.com/u/cterry06)
#### Post date: [December 8, 2009, 8:21am UTC](https://forum.kirupa.com/t/content-of-external-swf-showing-outside-of-movie-clip/301356/1 "2009-12-08T08:21:50Z")

</div>

![](http://forums.adobe.com/servlet/JiveServlet/downloadImage/16648/untitled.JPG)

This is my final project for a multimedia class I have, a link of which is here

[http://mmproduction.blogspot.com/2009/11/final-project-nytimes-food-issue.html](http://mmproduction.blogspot.com/2009/11/final-project-nytimes-food-issue.html)

Basically, I have a movie clip instance (loader\_mc). I have the buttons loading external swfs with this code:  
stop();

total\_photos = 20;  
function get\_photo(newnumber){  
current\_photo = “do” + newnumber + “.swf”;  
loader\_mc.loadMovie(current\_photo);  
}  
Next button:  
on(release){  
if (n \< total\_photos){  
n++;  
} else {  
n = 1;  
}  
get\_photo(n);  
}

Previous button:  
on(release){  
if (n\>1){  
n–;  
} else {  
n = total\_photos;  
}  
get\_photo(n);  
}

I want the number buttons to load the swf - to give users better usability. So this is the code I have for each button:  
on(release)  
{  
loadMovie(“do1.swf”,“loader\_mc”);  
}

But when I run my main swf- the content of the external swf loads outside of the area I want the content to be - because in the external swfs i positioned stuff off the stage - how can i hide the content I don’t want seen?
