# Enter frame in a external swf

**URL:** <https://forum.kirupa.com/t/enter-frame-in-a-external-swf/211305>\
**Category:** flash\
**Created:** [December 29, 2006, 6:59pm UTC](https://forum.kirupa.com/t/enter-frame-in-a-external-swf/211305 "2006-12-29T18:59:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuwuwu](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@wuwuwu](https://forum.kirupa.com/u/wuwuwu)\
**Post date:** [December 29, 2006, 6:59pm UTC](https://forum.kirupa.com/t/enter-frame-in-a-external-swf/211305/1 "2006-12-29T18:59:55Z")

</div>

Hello,  
I hope someone can help me with this coding issue. I have external swfs that loads in a container on a main swf. When I press a button on the main swf, I would like to load a specific frame from an external swf.

Here is what I have so far:

\_root.overview.onRelease = function() {  
if (\_root.container\_container\_mem.currMovie == undefined) {  
\_root.container.currMovie = “member\_content”;  
\_root.container.loadMovie(“member\_content.swf”);  
} else if (\_root.container.currMovie != “member\_content”) {  
if (\_root.container.\_currentframe \>= \_root.container.midframe) {  
\_root.container.currMovie = “member\_content”;  
\_root.container.play();  
}  
}  
}

Any help will be greatly appreciated.  
Thank you
