Recently, David C. Tremmel wrote:

> Just off the top of my head - not sure if this is the best way to do
> this - but what about having your repeat loop in an "on idle" message
> in the card script.  The loop should test to see if it should be
> scrolling the field by looking at the value of a custom property
> (e.g., of the field) which is in turn set by the Start & Stop
> buttons.  Something like (untested & off the cuff):
> 
> on idle
> if the doScroll of fld MyField is 1 then
> get the scroll of fld MyField
> set the scroll of fld MyField to (it + incrememt)
> end if
> end idle

Just FYI, it explains in the MC help stacks (and Scott Raney has pounded it
into my head a few times) that idle handlers are inefficient in MC and
should be avoided.  Instead, you should use "send MyMsg in xx milliseconds"
or similar to achieve the same results as idle but with better script
performance.

Regards,

Scott

_____________________________________________________________________
Scott Rossi                       Tactile Media - Multimedia & Design
Creative Director                 Email: [EMAIL PROTECTED]
                                  Web: www.tactilemedia.com


Archives: http://www.mail-archive.com/[email protected]/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.

Reply via email to