At 4:50 PM -0800 3/27/03, you wrote:
The best way to achieve something like this is to do move the sprite at every frame event. Since I don't know what your starting and stopping "triggers" are, I'll just give you the basic idea:
property spriteNum
on exitFrameme sprite(spriteNum).locV = sprite(spriteNum).locV + 1 end
This will move the sprite 1 pixel every frame. So, the animation will run at whatever the frame rate is.
Irv
At 7:09 PM -0500 3/27/03, DT-Rene Vazquez wrote:Hi, I'm trying to animate a sprite by script code with lingo. I move the sprite with a while loop sprite by increasing its locV property, but I want to introduce some delay between each change in position in order to see the animation. Can someone give me some guide to achieve this effect or something similar?
Thanks a lot in advance
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
--
Lingo / Director / Shockwave development for all occasions. (Home-made Lingo cooked up fresh every day just for you.)
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
