3 Replies Latest reply on Feb 27, 2007 2:52 PM by Newsgroup_User

    miaw oddity

    Level 7
      When I close an MIAW, the MP3 file that was playing starts over. It's an
      MPEG Advance Xtra cast member.

      In my original main movie, I pause this audio before closing the window.
      When I noticed this behavior there, I created a simple main movie for
      testing and the MIAW's behavior was the same. I put a breakpoint on all of
      the audio commands and saw that none is executed when the window is closed.
      I can't figure out what is happening here. Shouldn't the audio stay in it's
      paused state when the window is closed? I also put a "put the frame" in one
      of the window's exitFrame handlers to insure, as I thought, that the window
      continues to play even though it is closed (but not forgotten). I'm
      assuming from this that nothing outside of my own Lingo changes if the
      window is open or closed, it's just not visible when closed. But why the
      audio starts over is beyond me.

      Does anyone have any insight into this?

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

      www.wordofmouthpros.com


        • 1. rephrased
          Level 7
          So I did a test where I imported an MP3 file as an MPEG Advance Xtra member
          and as a regular linked audio member. I opened the miaw from a main movie
          and the audio played. I issued a pause command to the audio and it paused.
          Then I closed the MIAW (but didn't forget it) and the audio started playing
          immediately from the beginning. How can one develop a project made up of
          modules as MIAW's and expect to be able to jump to other modules and have
          the audio pause, then play again when that module is returned to?

          Am I going to have to store the audio time and Director frame and restore
          the state when returning? This seems like an unnecessary hassle.

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

          www.wordofmouthpros.com
          "forum.macromedia.com" <lingoboy@wordofmo.com> wrote in message
          news:es1lve$sc0$1@forums.macromedia.com...
          > When I close an MIAW, the MP3 file that was playing starts over. It's an
          > MPEG Advance Xtra cast member.
          >
          > In my original main movie, I pause this audio before closing the window.
          > When I noticed this behavior there, I created a simple main movie for
          > testing and the MIAW's behavior was the same. I put a breakpoint on all
          > of the audio commands and saw that none is executed when the window is
          > closed. I can't figure out what is happening here. Shouldn't the audio
          > stay in it's paused state when the window is closed? I also put a "put
          > the frame" in one of the window's exitFrame handlers to insure, as I
          > thought, that the window continues to play even though it is closed (but
          > not forgotten). I'm assuming from this that nothing outside of my own
          > Lingo changes if the window is open or closed, it's just not visible when
          > closed. But why the audio starts over is beyond me.
          >
          > Does anyone have any insight into this?
          >
          > --
          > Craig Wollman
          > Lingo Specialist
          > Word of Mouth Productions
          > 212-928-9581
          >
          > www.wordofmouthpros.com
          >


          • 2. Re: rephrased
            Level 7
            > So I did a test where I imported an MP3 file as an MPEG Advance Xtra member
            > and as a regular linked audio member.

            And it behaves the same way in both cases?
            Did you post Mauricio/Tabuleiro about this issue?
            Do you have small sample files that reproduces this?
            • 3. Re: rephrased
              Level 7

              I have been corresponding with Mauricio about this and he mentioned that the
              MAE doesn't support mp3 playback.

              So yes, it worked the same way in both cases in a stripped down MIAW and a
              basic stage to run it. But when I used Director's audio commands (sound
              (1).play (member "xxxx")), sound (1).pause (), sound (1).status and sound
              (1).play ()) it works like a charm. I can even start and stop the sound when
              the movie is closed but still in memory (which I don't really need to do)

              So all I have to do is to take all of the MAE sound sprites in the normal
              sprite channels and swap them for standard linked Director cast members in
              sound channel 1 (or 2). I suppose I can automate this so it won't be so
              bad.

              Craig

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

              www.wordofmouthpros.com
              "Sean Wilson" <webforumsuser@macromedia.com> wrote in message
              news:es2ba7$ola$1@forums.macromedia.com...
              >> So I did a test where I imported an MP3 file as an MPEG Advance Xtra
              >> member and as a regular linked audio member.
              >
              > And it behaves the same way in both cases?
              > Did you post Mauricio/Tabuleiro about this issue?
              > Do you have small sample files that reproduces this?