Re: lingo-l lingo equivalent to Wait for X seconds

2001-01-03 Thread Bryce Hall
do a startTimer in the 'on beginSprite' handler, rather than 'on enterframe'. this way it will only be executed once. good luck bryce Pausing the playback head with a "go to the frame" loop and setting a global "start time" variable, and then checking the elapsed time in "on exitFrame"

RE: lingo-l lingo equivalent to Wait for X seconds

2001-01-03 Thread Steven Sacks
Here's a no frills way of doing it based on frames instead of the timer, the ticks or the milliseconds. It may not be precisely X second, but it is close enough for government work and it looks like that is what you are after here. property waitTime, fCount on exitFrame me fCount = fCount +

Re: lingo-l lingo equivalent to Wait for X seconds

2001-01-03 Thread Jakob Hede Madsen
At 13:23 -0600 03/01/01, Bryce Hall wrote: do a startTimer in the 'on beginSprite' handler, rather than 'on enterframe'. this way it will only be executed once. Yes, using the 'beginSprite' event is a good idea. However using a global and volatile property such as the timer is maybe not the