1 Reply Latest reply on May 31, 2006 10:09 AM by Newsgroup_User

    loadMovie question

    Level 7
      Have created a number of 10-15 second .swf's as Public Service
      Announcement type stand alone pieces. We want to have them running, one
      after the other on a free-standing computer (no internet to worry
      about). But we want to be able to put them together at will... One day
      maybe running A.swf-B.swf-C.swf-L.swf, etc and another day a different
      order, or different pieces.

      Have played around with loadMovie(), play(), nextFrame(), etc but can't
      seem to find the right scheme.

      How do you tell when one swf has played thru so the next can be told to
      start?

      Any help will be appreciated.

      Steve
        • 1. Re: loadMovie question
          Level 7
          1. The order and names of swfs would need to be stored as variables such as
          in an array. They could be loaded from an external file that could be
          updated as needed.

          2. The detection of the end of play could be implement in various ways. One
          is placing in the last frame in every movie the calling of a function in the
          parent movie that would load the next movie. The main movie function would
          keep track of the list of movies to play, perhaps from an external file, and
          use loadMovie to load each.



          --
          Lon Hosford
          www.lonhosford.com
          May many happy bits flow your way!
          "Steve Robertson" <noemail@badlands.com> wrote in message
          news:MPG.1ee24f38477aa064989680@forums.macromedia.com...
          Have created a number of 10-15 second .swf's as Public Service
          Announcement type stand alone pieces. We want to have them running, one
          after the other on a free-standing computer (no internet to worry
          about). But we want to be able to put them together at will... One day
          maybe running A.swf-B.swf-C.swf-L.swf, etc and another day a different
          order, or different pieces.

          Have played around with loadMovie(), play(), nextFrame(), etc but can't
          seem to find the right scheme.

          How do you tell when one swf has played thru so the next can be told to
          start?

          Any help will be appreciated.

          Steve