# Buttons & movie clips inside Scroll Panes

**URL:** <https://forum.kirupa.com/t/buttons-movie-clips-inside-scroll-panes/131907>\
**Category:** Uncategorized\
**Created:** [December 21, 2004, 4:33am UTC](https://forum.kirupa.com/t/buttons-movie-clips-inside-scroll-panes/131907 "2004-12-21T04:33:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ellare](https://avatars.discourse-cdn.com/v4/letter/e/919ad9/32.png) [@ellare](https://forum.kirupa.com/u/ellare)\
**Post date:** [December 21, 2004, 4:33am UTC](https://forum.kirupa.com/t/buttons-movie-clips-inside-scroll-panes/131907/1 "2004-12-21T04:33:43Z")

</div>

Hi. im new to flash. well, im intermediate.

i built a scroll pane that contains a movieclip with lots of buttons.

myScrollpane is my instance name of the scroll pane

myScrollpane contains thumbnail\_mc - a movie clip that consists of about 50 buttons in a long strip.

I want each of these 50 buttons to load an external .swf

i want to them to load the external .swf into a blank, empty movie clip called targetMovieholder\_mc

i have created a “test” .fla to test it - i call this .fla “scrolltest.fla”

if i use this AS on the buttons inside thumbnail\_mc -  
it loads the movie, but not in the desired targetMovieholder\_mc  
on (press) {  
loadMovieNum(“external-swf-location.sfw”,2);}

I do want to use levels so that the external .swf will play on top of my main ‘template’ site  
and since it is not loading into targetMovieholder\_mc - the movie doesn’t play in the right location. it registers to upper left.

however - if i use this AS on the buttons in thumbnail\_mc - NOTHING happens  
on (press){  
targetMovieholder\_mc.loadMovie(“external-swf-location.swf”,2);}

its like loadMovieNum works, but loadMovie does NOT work.

and to top it off - loadMovieNum works in my “scrolltest.fla” == but not my real-deal project that i WANT it to work in.

i have tried importing the .swfs and controlling internally - but i cannot import the .swfs either.

is my syntax wrong -??-  
what am i doing wrong here? this cant be that hard?!?!

thanks  
ellare
