# Scrolling dynamic-created MC's

**URL:** <https://forum.kirupa.com/t/scrolling-dynamic-created-mcs/204530>\
**Category:** flash\
**Created:** [October 20, 2006, 3:12pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-created-mcs/204530 "2006-10-20T15:12:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackduke](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/blackduke/32/2933_2.png) [@blackduke](https://forum.kirupa.com/u/blackduke)\
**Post date:** [October 20, 2006, 3:12pm UTC](https://forum.kirupa.com/t/scrolling-dynamic-created-mcs/204530/1 "2006-10-20T15:12:23Z")

</div>

I dynamicly create MCs and give them names and URL’s through the XML i load, but how can I scroll them? I can display 10per page, but I want a scroller so I can view the rest for instance.  
Any help trouly appreciated.

Thanks

```auto
//start generate filelist
GenerateMenu = function() {
    for (var i=1; i<_root.total; i++) {
        this.attachMovie("menuitem","item"+i, i, {_x:277, _y:(20*i)+220});
        this["item"+i].staffer.text = _root.file*.slice(6);
    }
};
//end filelist

```
