# Load swf from movie clip

**URL:** <https://forum.kirupa.com/t/load-swf-from-movie-clip/71198>\
**Category:** flash\
**Created:** [November 22, 2004, 11:18am UTC](https://forum.kirupa.com/t/load-swf-from-movie-clip/71198 "2004-11-22T11:18:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanju](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@sanju](https://forum.kirupa.com/u/sanju)\
**Post date:** [November 22, 2004, 11:18am UTC](https://forum.kirupa.com/t/load-swf-from-movie-clip/71198/1 "2004-11-22T11:18:10Z")

</div>

hi,

I got this tutorial from kirupa load movie

But when I create movie clip and in movie clip I creat a button and new layer paste this script than It doesn’t load the movie clip

Could you tell me how can I assign the path when I m in movie clip

but.onPress = function () {  
\_root.createEmptyMovieClip(“container”,1);  
loadMovie(“loaded.swf”,“container”);  
container.\_x = 150 ;  
container.\_y = 20 ;  
}
