# Claudio's scrollbar/textscroller

**URL:** https://forum.kirupa.com/t/claudios-scrollbar-textscroller/117556
**Category:** Uncategorized
**Created:** [July 28, 2004, 12:21pm UTC](https://forum.kirupa.com/t/claudios-scrollbar-textscroller/117556 "2004-07-28T12:21:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sintax](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@sintax](https://forum.kirupa.com/u/sintax)
#### Post date: [July 28, 2004, 12:21pm UTC](https://forum.kirupa.com/t/claudios-scrollbar-textscroller/117556/1 "2004-07-28T12:21:15Z")

</div>

Hi there,

I’ve just discovered Claudio’s excellent scroller, but I’m having some problems getting it to work in FMX 04.

I’ve declared some of the variables properly, in a weak attempt to getting it to work, but no luck yet. I think I haven’t messed it up yet, but I guess the problems lies elsewhere.

BUT ! I wan’t to have it react different too. Right now you can scroll everything you want in the movieClip, but I would like to see it scroll just a textfield, with the ‘scroll’ method. Something like this:

[AS]  
function scrollText(sScrollDirection:String):Void {  
if(sScrollDirection == “up”) {  
main\_mc.news\_txt.scroll–;  
} else {  
main\_mc.news\_txt.scroll++;  
}  
updateAfterEvent;  
}  
[/AS]

I hope I’m not asking too much, but I would like some of the clever flash guru’s to give me a hand here, cuz I’m a bit confused and frustrated here :huh:

Thanx  
Sintax
