# Scrollpane + duplicateMovieClip

**URL:** <https://forum.kirupa.com/t/scrollpane-duplicatemovieclip/117109>\
**Category:** Uncategorized\
**Created:** [July 24, 2004, 10:37am UTC](https://forum.kirupa.com/t/scrollpane-duplicatemovieclip/117109 "2004-07-24T10:37:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![The\_Vulcan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/the_vulcan/32/145_2.png) [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)\
**Post date:** [July 24, 2004, 10:37am UTC](https://forum.kirupa.com/t/scrollpane-duplicatemovieclip/117109/1 "2004-07-24T10:37:22Z")

</div>

I have a scrollpane on the stage named “scrol”  
its contentPath in properties = “ring0”

This loads the movie into the scrollpane fine.

[color=blue]\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*[/color]

I have a movie on the stage named “ring0”

This code duplicates “ring0” accross the stage fine.

```php
 posx = (325.6+5); 
 
for(i=1; i<10; i++){
duplicateMovieClip("ring0", "ring"+i, i);
eval("ring"+i)._x =posx;
posx = posx + (325.6+5);
}

```

**[color=blue]**\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\***[/color]**

**However** I want the movie “ring0” in the scrollpane to duplicate so that the scrollpane grows to accomidate it.

Anyone have an idea on how to do this ?

Thanks  
The\_Vulcan

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 24, 2004, 10:54am UTC](https://forum.kirupa.com/t/scrollpane-duplicatemovieclip/117109/2 "2004-07-24T10:54:31Z")

</div>

**OK i figured out how to do it…**

I made a “box” movie… inside the “box” I duplicated the “ring”

Then I loaded the “box” into the scrollpane…

If this can be done without the box then do tell as I hate adding extra steps when not needed.
