Answered
Scrolling Text (ticker bar)
Hello,
I am trying to create a scrolling ticker that rolls across the bottom of the page (like what you see on news channels). What I currently have works but it looks a little choppy. I use SetInterval for my ScrollTicker function, within that function I modify the ._x of the textbox (txtScrollBar._x -= 1). Is there a better way to do this? Oh also the way I do it I have to take the text and multiply it many many times so that it doesn't roll off the screen. Surely there's a way to "wrap" text horizontally so when the right edge runs out of text it starts at the begging of the string?
Thanks.
I am trying to create a scrolling ticker that rolls across the bottom of the page (like what you see on news channels). What I currently have works but it looks a little choppy. I use SetInterval for my ScrollTicker function, within that function I modify the ._x of the textbox (txtScrollBar._x -= 1). Is there a better way to do this? Oh also the way I do it I have to take the text and multiply it many many times so that it doesn't roll off the screen. Surely there's a way to "wrap" text horizontally so when the right edge runs out of text it starts at the begging of the string?
Thanks.
