• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 576
  • Last Modified:

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?
0
tjmustang
Asked:
tjmustang
1 Solution
 
kishoregpCommented:
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now