One of the main drawbacks of the first version was not being able to assign links to each text element because the strings were concatenated into 1 string meter.
This meant at the most, 3 links could be made
This second version eliminates that by only scrolling the top meter, and setting all subsequent meters relative to that one. This allows placing each text item in a separate meter with a corresponding link.
The position of the scrolling is calculated using [MeasureY]. In the original post, the scrolling text simply moved above the skin margin and disappeared. This prevented using any image under the text because the text would scroll OVER the top.
Checking the output of [MeasureY] in Calc measures, allows showing or hiding meters based on their position in the skin. This allows hiding the text near the top and bottom edges so background images can be used.
Another change was using [MeasureY] in a Calc measure to determine when the scrolling reached the end, rather than using a timer to refresh. Taking that a bit further, a Calc is included which reverses the scroll direction when the text nears the bottom or top edge, instead of refreshing the skin. One unforeseen caveat is that a MouseOver action, while reversed, will reset the scroller measure to a forward scroll. If untouched, the scroll will continually flow up and down. Right now, only the scroll image skin demonstrates this Calc, but it can be applied to any skin.
I made other minor code changes for alignment and other situations, but getting individual links was my main achievement...
All variables are in the skins and comments are there to help you understand what I am doing and help you modify it.
Feel free to 'play' with this and use it or modify it for your use.
Plain Text Scroller Code
[ Direct Link ]
[ Direct Link ]