Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Scrolling button



4:47 pm on Mar 29, 2005 (gmt 0)

10+ Year Member

Hi - I have created a text box with two buttons that when you click on either up or down the text scrolls. This is the action code I used which I found on the net.

on (release) {

But, what I really want my 'up' 'down' buttons to do is when you click, or roll ever them the text smoothly scrolls. At the moment it is very jerk as it only moves on each click. Would love a suggestion. Thanks - HAMM


8:59 am on Mar 30, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member

you could use something along the lines of,

onMouseOver set a variable (e.g. over) to equal one, and onMouseout set it to 0.

Then, use an onEnterFrame to check if that variable =1, and if it does, bio.scroll+=1; else bio.scroll+=0;


9:26 am on Mar 31, 2005 (gmt 0)

10+ Year Member

Thanks. I will give that a try

Featured Threads

Hot Threads This Week

Hot Threads This Month