# Movieclip buttons, controlling movie from main timeline

**URL:** <https://forum.kirupa.com/t/movieclip-buttons-controlling-movie-from-main-timeline/203015>\
**Category:** Uncategorized\
**Created:** [October 6, 2006, 4:07pm UTC](https://forum.kirupa.com/t/movieclip-buttons-controlling-movie-from-main-timeline/203015 "2006-10-06T16:07:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![htrain26](https://avatars.discourse-cdn.com/v4/letter/h/d07c76/32.png) [@htrain26](https://forum.kirupa.com/u/htrain26)\
**Post date:** [October 6, 2006, 4:07pm UTC](https://forum.kirupa.com/t/movieclip-buttons-controlling-movie-from-main-timeline/203015/1 "2006-10-06T16:07:21Z")

</div>

I have some buttons inside a m.c., and I when you click on these buttons they load external swf’s. Now, I am trying to place all the code for these buttons on the main timeline instead of inside the m.c.

I tried a few things–

partc\_btn.onRelease = function(){  
loadMovieNum(“partc.swf”, 1);  
}

medicareBTN\_mc.partc\_btn.onRelease = function(){  
loadMovieNum(“partc.swf”, 1);  
}

any suggestions???

thanks,  
hutch
