Scrolling Text
Monday, September 4, 2006 by Hilbillyoct19 | Discussion: DesktopX
Reply #2 Tuesday, September 5, 2006 10:18 AM
Reply #3 Tuesday, November 7, 2006 6:27 PM
i wanted a script that would scrool the
how can i do that???
i found no artis+song name on the scripts and how to do that
thanks!
Please login to comment and/or vote for this skin.
Welcome Guest! Please take the time to register with us.
There are many great features available to you once you register, including:
- Richer content, access to many features that are disabled for guests like commenting on the forums and downloading skins.
- Access to a great community, with a massive database of many, many areas of interest.
- Access to contests & subscription offers like exclusive emails.
- It's simple, and FREE!







Reply #1 Monday, September 4, 2006 4:33 PM
The general idea is to set the text object as a contained child of another (non-text) object, then move it a certain direction until conditions are met, and reverse.
Because the text is a contained child of another object, you can set the viewable area by setting the size of the parent object (which can have a transparent image for its graphics if you wish). As the text extends outside those boundries it will become invisible.
Scrolling continously in a single direction would use a similar approach of using a timer to move the text, checking a condition at each step (Has the text been moved completely outside the parent?). But I think you'll need a second, identical text object, so that as one scrolls off it can leap-frog the other and be ready to scroll on again.
Depending on the situation, you may also want to check and include behavior (such as stopping the timers) if the text string is so short it fits entirely within the viewable area.