How do I autoplay slides and set a delay between slides when a user opens my SWF file?

How do I autoplay slides and set a delay between slides when a user opens my SWF file?
tjmustangAsked:
Who is Participating?
 
kishoregpConnect With a Mentor Commented:
did you try setInterval? see attached code

In fName function move to next frame
nextFrame()

timingInterval is the delay... 1000 milliseconds = 1 second.
run this code common to all frames.
var timingInterval:Number = 250;           // in milliseconds
  
function fName() {
    // actions to take
    nextFrame()
}
  
intervalID = setInterval (fName, timingInterval);

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.