The thread object is very simplistic, it's merely and object wrapper for setInterval,
you just do:
thread = new Thread();
thread.sleep(10);
thread.run = function() {
// code
}
thread.start()
And it'll execute run() every 10 milliseconds.
You can see in the Path, Circle, Hover, or Image animation objects how you can make
other sorts of animation objects.
You can pass a dynlayer into the thread as new Thread(dynlayer), and use this.dlyr
within the run().
Dan
On Wed, Dec 13, 2000 at 04:05:57PM +0200, Eytan Heidingsfeld wrote:
> thread object? we have multi-threading. I know I've only been playing with
> the DynAPI parts that I really needed but nobody told me about threads.
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/mailman/listinfo/dynapi-help
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/mailman/listinfo/dynapi-help