3 Replies Latest reply on Feb 28, 2007 4:08 AM by Newsgroup_User

    pause audio at start

    Level 7
      Is there a way to keep a piece of audio in one of the score's sound channels
      from starting automatically?

      --
      Craig Wollman
      Lingo Specialist
      Word of Mouth Productions
      212-928-9581

      www.wordofmouthpros.com


        • 1. Re: pause audio at start
          Level 7
          It's difficult to understand why you'd want to place it in a channel and
          /not/ play automatically - can you elaborate?
          If you want to start it manually, why place it in a sound channel
          instead of using sound lingo to play it when required?
          • 2. Re: pause audio at start
            Level 7
            I should have explained. I knew that would happen.

            I had to create a program with very specific timing where the animator
            enters timings and markers in a field using a certain convention. I didn't
            want to have to include in each command the sound file that needs to be
            played.

            This is all connected to my MIAW issue and putting the sound in a sound
            channel solved most of the problems but created some new ones.

            I think the only solution is to require the name of the sound member to be
            included with the animators data. It'll be a pain for him but other than my
            having to accomodate the currentTime going to zero when the sound member is
            finished playing (MPEGAdvanceExtra members don't do this), it will certainly
            be better for me.

            --
            Craig Wollman
            Lingo Specialist
            Word of Mouth Productions
            212-928-9581

            www.wordofmouthpros.com
            "Sean Wilson" <webforumsuser@macromedia.com> wrote in message
            news:es2po1$amq$1@forums.macromedia.com...
            > It's difficult to understand why you'd want to place it in a channel and
            > /not/ play automatically - can you elaborate?
            > If you want to start it manually, why place it in a sound channel instead
            > of using sound lingo to play it when required?


            • 3. Re: pause audio at start
              Level 7
              If you have this frame script in the same frame as the 1st place where
              the audio is, it should start off paused:

              on prepareFrame me
              sound(1).pause()
              end


              Then you can start it with

              sound(1).play()