On 4/18/14, 12:18 PM, Jose Damaso wrote:
Hi all -- I've taken interest in using Livecode for displaying ticker tape
or digital signage type information. There were a few older forum posts on
this topic a few years ago but haven't seen any recent activity in that
area. Does anyone have a general direction or sample stacks I can start off
with? I have purchased Animation Engine and thought that may be the way to
go but I am only at the beginning of this project so any input would be
welcome. Thanks!

There are two basic ways to do this:

1. Put the text into a field and move the field. The "move" command should do this efficiently, or you can use animation engine. When the right edge of the field goes off the left edge of the stack, reposition it with its left edge at the right side of the stack and move it again. This produces a smooth glide.

2. Put the text into a field with enough leading spaces to visually push the actual text off the right edge of the field. Adjust the text repeatedly by removing the leading character and placing it at the end of the field text. This method produces an effect more like a stock ticker, where the text jumps from one position to the next (the way LED lights would work.)

Both are pretty easy to script. In either case, you'll need a field with at least locktext and dontwrap set to true.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to