# SideScrolling?

**URL:** <https://forum.kirupa.com/t/sidescrolling/122427>\
**Category:** flash\
**Created:** [September 13, 2004, 5:44pm UTC](https://forum.kirupa.com/t/sidescrolling/122427 "2004-09-13T17:44:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![planetSim](https://avatars.discourse-cdn.com/v4/letter/p/6de8d8/32.png) [@planetSim](https://forum.kirupa.com/u/planetSim)\
**Post date:** [September 13, 2004, 5:44pm UTC](https://forum.kirupa.com/t/sidescrolling/122427/1 "2004-09-13T17:44:10Z")

</div>

okay, thanks to a previous post on the forums I have this, which works great to scroll my text up and down. but I’f I want to apply it to something that I want to scroll left and right, what do i do? is it just a different command in the textwindow.scroll? if so what is it/where can I find out ?  
so i have this right now:

up.onPress = function() {  
\_root.onEnterFrame = function() {  
textwindow.scroll –  
}  
}  
up.onRelease = function() {  
delete \_root.onEnterFrame  
}

/\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*/  
dn.onPress = function() {  
\_root.onEnterFrame = function() {  
textwindow.scroll ++  
}  
}  
dn.onRelease = function() {  
delete \_root.onEnterFrame  
}
