# \[Needs Assistance\] ScrollPane

**URL:** https://forum.kirupa.com/t/needs-assistance-scrollpane/177895
**Category:** flash
**Created:** [February 6, 2006, 10:42am UTC](https://forum.kirupa.com/t/needs-assistance-scrollpane/177895 "2006-02-06T10:42:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![KyoKusanagi](https://avatars.discourse-cdn.com/v4/letter/k/bc79bd/32.png) [@KyoKusanagi](https://forum.kirupa.com/u/KyoKusanagi)
#### Post date: [February 6, 2006, 10:42am UTC](https://forum.kirupa.com/t/needs-assistance-scrollpane/177895/1 "2006-02-06T10:42:57Z")

</div>

I’m an ActionScript 1.0 coder and recently migrated to Flash 8.0  
I’m making a dynamic menu and I found out that my old algo doesn’t work anymore on Flash 8.0

Here’s a sample code:

```auto

createEmptyMovieClip("mc_dummy", 100);
_root.onLoad = function() {
    for (var i = 0; i<10; ++i) {
        var $mc_item = _root.mc_dummy.attachMovie("mc_item", "item"+i, 100+i);
        $mc_item._y = 150*i;
        $mc_item.txt_num.text = "number " + (i+1);
    }
    myPane.setScrollContent(_root.mc_dummy);
};

```

Is anyone here who is knowledgeable of ActionScript 2.0 who can convert my simple script?

Thank you very much! :kir:
