Multithread/Background function execution in Rev?

Scott Rossi scott at tactilemedia.com
Tue Jul 29 15:54:01 EDT 2003


Recently, "Steve Gehlbach"  wrote:

> I took the Hello World tutorial an an example and changed it as below.
> It is interesting that if you start the visual effect first, it seems to
> block the "move field".  But if you do it the way I have below, it works
> on Windows and Linux (although clunkyness may be platform dependent I
> suspect).  To me it seems that Revolution is mutithreaded sometimes.

As far as I've seen, Rev cannot simultaneously display a move and a visual
effect (at least, it should be very unlikely that you observe a smooth move
action along with a smooth dissolve transition, for example).

However, you can build this yourself to some extent by using the blendLevel
property with an image.  While moving an image, set its blendLevel to an a
continually increasing amount to hide it, or a continually decreasing amount
to show it.

As an example, you can see the TNT demo stack available via our stack
viewer.  In the Rev Message Box:

  go stack url "http://www.tactilemedia.com/tmpanel.rev"

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list