# AttachMovie & Scrollpane

**URL:** <https://forum.kirupa.com/t/attachmovie-scrollpane/65940>\
**Category:** flash\
**Created:** [September 30, 2004, 7:15pm UTC](https://forum.kirupa.com/t/attachmovie-scrollpane/65940 "2004-09-30T19:15:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bluehaus](https://avatars.discourse-cdn.com/v4/letter/b/7ea924/32.png) [@bluehaus](https://forum.kirupa.com/u/bluehaus)\
**Post date:** [September 30, 2004, 7:15pm UTC](https://forum.kirupa.com/t/attachmovie-scrollpane/65940/1 "2004-09-30T19:15:14Z")

</div>

Hello all,

I’m having a little difficulty with attachMovie and my scrollpane and was wondering if some fresh eyes could be of some service.

\<code\>  
mcMap.mcAB.onRelease = function() {  
\_r.gotoAndPlay(“open”); // Open infobox  
attachMovie(“FScrollPaneSymbol”, “myPane”, 5, {hScroll:false, vScroll:true, dragContent:false});  
myPane.setScrollContent(“currentPosting”);  
myPane.setSize(625, 218);  
var currentPosting = myPane.getScrollContent();  
// LOAD PROJECT ITEMS INTO DUPLICATED MOVIECLIP  
for (var i = 0; i\<\_r.AlbertaPostings.length; i++) {  
currentPosting = \_r.mcInfoBox.mcPostings.duplicateMovieClip("\_r.mcInfoBox.mcPostings"+i, i);  
currentPosting.\_y = -100+(i\*19);  
currentPosting.\_x = -312.4;  
\</code\>

When the user clicks on a province, an infobox pops up showing them a list of all the availiable positions for that area. The list shows, however the duplicated mc’s aren’t attaching to the scrollpane so there’s no scrolling going on. Just a long list of positions. Can anyone see where I’m going wrong here?

Thanks for your time.
