# Scrolling with invisible buttons

**URL:** https://forum.kirupa.com/t/scrolling-with-invisible-buttons/63741
**Category:** Uncategorized
**Created:** [September 9, 2004, 5:08pm UTC](https://forum.kirupa.com/t/scrolling-with-invisible-buttons/63741 "2004-09-09T17:08:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![TheMuadib](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/themuadib/32/302_2.png) [@TheMuadib](https://forum.kirupa.com/u/TheMuadib)
#### Post date: [September 9, 2004, 5:08pm UTC](https://forum.kirupa.com/t/scrolling-with-invisible-buttons/63741/1 "2004-09-09T17:08:58Z")

</div>

Well heres comes probably a stpid error…

Thing is I have a movie clip and I want to scroll it left or rigth with buttons. This an horizontal scrolling movie clip and I got the buttons invisible at the end of each mask border, I want to give those buttons a rollOver action so that when you pause the pointer on top of the rigth button the movie moves to the left and otherwise…

The thing is that I lost a script I had to make this happen and my new writtings aren’t working.

So the idea is to write somethin like this on the actions of the button

on (rollOver) {  
scroll.content (the instance name of the movie clip)…blahahahhahhaha  
}  
on (rollOut) {  
stop  
}

I can’t get any farther I dunno much AS… dunno if rollOver is the best action waht I want is to move as long as on top of it ad stop when the pointer leaves it as it is…

help? LOL :sigh:
