# Scrollable text a diffrent way

**URL:** https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630
**Category:** flash
**Created:** [February 15, 2003, 8:43pm UTC](https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630 "2003-02-15T20:43:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![grimdeath](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/grimdeath/32/7124_2.png) [@grimdeath](https://forum.kirupa.com/u/grimdeath)
#### Post date: [February 15, 2003, 8:43pm UTC](https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630/1 "2003-02-15T20:43:41Z")

</div>

can someone check out this fla and let me know how to disabe the buttons once the dynamic text gets to end of the mask, im usig a diffrent method to do a scrollee i tink its much easier but im having trouble getting the buttons to be disabled if they get to the end of the text. I tried using an if the y pos of the text = (number of y pos=number) \_root.button=function(false) but that doesnt work i also treid using an else and else if and didnt get it to work can someone please help thanks

Grim

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 16, 2003, 2:49pm UTC](https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630/2 "2003-02-16T14:49:20Z")

</div>

button\_btn.enabled = false;

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 16, 2003, 3:21pm UTC](https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630/3 "2003-02-16T15:21:14Z")

</div>

did you donwload the fla and check it out i know how to disable butons but cant get each button to get disabled when the scrolling text reaches the end here im uploading the fla again with some changes ive made but i still cant get the buttons to stop working check it out and let me know where im coding wrong thanks

Grim

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 16, 2003, 3:22pm UTC](https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630/4 "2003-02-16T15:22:06Z")

</div>

Sorry i don’t have flash right now, however, have you tried out the code posted above…?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 16, 2003, 4:02pm UTC](https://forum.kirupa.com/t/scrollable-text-a-diffrent-way/13630/5 "2003-02-16T16:02:04Z")

</div>

here this is the code im using but its not working it either scrolls of the button wont work at all

\_root.scroll.text.\_y = 0;  
\_root.up.onPress = function() {  
\_root.scroll.text.\_y -= 25;  
};  
if (\_root.scroll.text.\_y\<=-2335) {  
\_root.up.enabled = false;  
} else {  
\_root.up.enabled = true;  
}  
\_root.down.onPress = function() {  
\_root.scroll.text.\_y += 25;  
};  
if (\_root.scroll.text\>=100) {  
\_root.down.enabled = false;  
} else {  
\_root.down.enabled = true;  
}

Grim
