1 Reply Latest reply on May 31, 2007 9:41 AM by Newsgroup_User

    QT movies

    rlync04
      Hey all,
      Nearing the end of my project with just a few teething problems. I have a number of QT movies on the score. One of my QT movies is across 30 frames (it's 3500+ frames in total length). On the completion of the movie I want the playhead to jump to a Marker. I've tried using frameCounter and duration scripts but neither work. I'm sure it is straightforward enough but I'm puzzled.....

      Regards,
        • 1. Re: QT movies
          Level 7
          You should be able to use a behavior like this attached to the QT sprite:

          ---------
          property thisSprite
          property thisDuration
          property whereToGo

          on getPropertyDescriptionList
          myPropList = [:]
          myPropList.addProp(#whereToGo,[#comment:"choose the marker to jump
          to:",#format:#marker,#default:""]
          return myPropList
          end

          on beginSprite me
          thisSprite = me.spriteNum
          thisDuration = sprite(thisSprite).member.duration
          end

          on exitFrame me
          if sprite(thisSprite).movieTime >= thisDuration then
          go to whereToGo
          end if
          end
          ----------