From: Matt Lauder Photo on
Hi,

I am after a bit of code (time delay) that I can put on a keyframe where I
can have the movie play and then stop for 5 minutes and then the movie plays
again displaying another images in the movie clip.

Thanks again.

Matt


From: ricky.blaha on
Search the help file for setInterval and clearInterval. Those
functions will allow you to have a function called after some number of
milliseconds. When you want the interval to stop, you'll use
clearInterval.

~Ricky

From: NSurveyor on
I don't understand exactly what you're trying to do, but look up setInterval in the Help Panel.
From: Matt Lauder Photo on
I have a movie clip full of images that fade in an out and i want to put a
delay at the end of each, so the movie clip stops for about 5 minutes and
then it plays again fading out the old image with a new one.

"NSurveyor" <saif7463(a)yahoo.com> wrote in message
news:dh2g26$alj$1(a)forums.macromedia.com...
>I don't understand exactly what you're trying to do, but look up
>setInterval in the Help Panel.


From: urami_ on


Matt Lauder Photo wrote:
> I have a movie clip full of images that fade in an out and i want to put a
> delay at the end of each, so the movie clip stops for about 5 minutes and
> then it plays again fading out the old image with a new one.

stop();
ID = setInterval(myFunction, 3000);
function myFunction() {
play();
//or whatever action that kick in next fade
clearInterval(ID);
}

3000 is 3 seconds


--
Regards

Urami

--


<urami>
http://www.Flashfugitive.com
</urami>

<web junk free>
http://www.firefox.com
</web junk free>
 |  Next  |  Last
Pages: 1 2
Prev: Installation Error
Next: download