Replay Flash at Time Interval

Posted on 2004-11-16
Last Modified: 2008-03-10
Is there a way to have a flash item replay after say 1 minute?  I would guess you would do this in HTML code when placing the flash object on your webpage, but not sure what the exact code would be.

Here is my flash that plays once, but I want it to replay after a minute or so...

(it's the new logo I am working on)

Question by:mgiusto
    LVL 11

    Accepted Solution

    at the end of the animation, in the FLA, something like:

    stop(); = setInterval(function () {
          _root.gotoAndPlay(1); // replay the movie from the start
    }, 60000);

    Author Comment

    works flawlessly, Thanks!!!
    LVL 11

    Expert Comment

    Glad to help!

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
    While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
    The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
    The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now