2 Replies Latest reply on Oct 9, 2006 2:00 PM by Newsgroup_User

    Controlling FLV's????

    necie Level 1
      I have an FLV i imported into my .fla and need to figure out how to create some buttons that will let me go to specific places in the video. Can anyone point me in the right direction? I have used ActionScript before, but I'm no expert. Any help is greatly appreciated.

      Mike
        • 1. Re: Controlling FLV's????
          mgason
          Hi,
          you need to get into cue points. From the flash help

          "A navigation cue point allows you to seek to a particular frame in the FLV file because it creates a keyframe within the FLV file as near as possible to the time that you specify. A keyframe is a data segment that occurs between image frames in the FLV file stream. When you seek to a navigation cue point, the component seeks to the keyframe and starts the cuePoint event."

          search "cue points" in the help, you will find a topic "Seeking navigation cue points" amongst others.
          • 2. Re: Controlling FLV's????
            Level 7
            Mike,
            I've used the video player component, the netConnection and NetStream
            objects to control video. Really pretty easy.

            The following code is all you basically need to get started....
            ----------------------------------START FLV
            CODE------------------------------
            nc= new NetConnection();
            nc.connect(null);
            var ns = new NetStream(nc);
            _root.VidPlayerHBW.attachVideo(ns)//instance on the stage
            ns.play("High_16800.flv");
            ns.seek(0);
            ------------------------------END CODE------------

            You seek to a timecode to navigate around the FLV.

            Contact me if you need some assistance.
            marc@mlmultimedia.com

            -Marc Lee

            "necie" <webforumsuser@macromedia.com> wrote in message
            news:ege6j0$gno$1@forums.macromedia.com...
            > I have an FLV i imported into my .fla and need to figure out how to create
            some
            > buttons that will let me go to specific places in the video. Can anyone
            point
            > me in the right direction? I have used ActionScript before, but I'm no
            expert.
            > Any help is greatly appreciated.
            >
            > Mike
            >