4 Replies Latest reply on Aug 20, 2007 6:34 AM by Great Blue

    mpeg advance xtra

    Great Blue
      I'm using the mpeg advance xtra from Tabuleiro to play back some mpeg files. While the video is playing my rollovers, usering the "rollover member change" behavior, do not roll over. They work - they just don't change members. When there's no video - no problem. Thoughts?
        • 1. Re: mpeg advance xtra
          Level 7
          Are you using the tempo channel to monitor for the end of the video file
          ("Wait for cuepoint...")?
          • 2. Re: mpeg advance xtra
            Great Blue Level 1
            • 3. Re: mpeg advance xtra
              Level 7
              You should use a frameScript or behavior attached to the #TBMPEGADVANCE
              sprite instead to monitor for currentime = duration. Something like (as
              a behavior attached to the sprite):
              property spriteNum
              property my
              property myDuration
              property myTargetMarker

              on beginSprite me
              my = sprite(spriteNum)
              myDuration = my.member.duration

              on exitFrame me
              if my.currentTime = myDuration then
              end if

              on getPropertyDescriptionList
              pdl = [:]

              lItem = [:]
              lItem[#comment] = "Marker to navigate to when finished:"
              lItem[#format] = #marker
              lItem[#default] = EMPTY

              pdl[#myTargetMarker] = lItem

              return pdl

              And if you choose to use the above, you should remove the "Wait..."
              setting and use a frameScript to hold on a frame until this behavior
              causes the play head to move to another frame.
              • 4. Re: mpeg advance xtra
                Great Blue Level 1
                Thanks Sean. I'm happening. I also found the script that comes with the xtra that seems to work as well.

                on exitFrame me
                if sprite(me.spriteNum).currenttime < sprite(me.spriteNum).duration then
                go the frame
                go to "menu"
                end if