# Scrolling and buttons problem

**URL:** <https://forum.kirupa.com/t/scrolling-and-buttons-problem/249875>\
**Category:** flash\
**Created:** [January 23, 2008, 10:49am UTC](https://forum.kirupa.com/t/scrolling-and-buttons-problem/249875 "2008-01-23T10:49:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cherny013](https://avatars.discourse-cdn.com/v4/letter/c/f14d63/32.png) [@cherny013](https://forum.kirupa.com/u/cherny013)\
**Post date:** [January 23, 2008, 10:49am UTC](https://forum.kirupa.com/t/scrolling-and-buttons-problem/249875/1 "2008-01-23T10:49:17Z")

</div>

I’ve been working on the project for quite some time and stumbled into the problem. I use XML feed to create products catalogue divided into several categories. I read separate XML for every category and dinamically duplicate movie clip as many times as there is products in the category. I have a scrollbar and it is working fine by dragging the scrollface and by pushing buttons to scroll. I also made it to work by mouse wheel. Client also want it to work by dragging the main content, and this is where the poblem emerges. As soon as i add

```auto
contentMain.onPress = function()

```

the buttons in the main content stop working. Is there a way to overcome this?

If you need the code, I’ll post it. Thanx!
