Hi, with the .sleep() method of the Thread object you set how
many milliseconds the thread will sleep between each loop. Default
in Thread is 50, try to decrease this. (I belive Win9x can't move
faster than 50, but Win2k/XP should do it)

if you're using DynLayer.slideTo() you won't need to call
the .sleep() but add it as a argument to slideTo(x,y,inc,ms)
the third is how much the animation will increase on every loop
(increase this to move faster, but if it's to high the animation
will not move smooth), and fourth is sleep time between loops.

cheers
/martin

----- Original Message -----
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, November 16, 2001 12:17 AM
Subject: [Dynapi-Help] Trouble with Pathanim.js


Just as a forwarning, I'm still learning the ins and outs of the DynAPI,
though I'm working with it pretty well. So hopefully this question isn't one
that I'm going to slap my forehead over and call myself an idiot for not
seeing it. :) On to my problem!

I'm having trouble finding where I would change the Speed of the path
animation in the pathanim.js file.  I'm using that, in conjuction with the
thread.js to create a horizontal sliding interface.  Everything works fine,
I just need it to move Faster. Can anyone help?

- Melissa Davies




_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to