Skip to content

11 Comments

leave a comment
  1. christopher hill / Feb 4 2009

    perfect. thanks! just what i was looking 4.

  2. pablo / Feb 7 2009

    gr8 ! thanks

  3. Geni / Feb 17 2009

    Thank you! it seems that the live docs aren’t too clear as for the onMetaData event regards

  4. Consuelo Ore / Mar 23 2009

    Hi,

    This way to trace the cuePoints works perfect. Now I am trying to play another video after the cuePoint on the first video is reached.

    Any ideas?

  5. bobin / Oct 8 2009

    can u tell me how will give a specified width and height?

    thanks in advance

  6. Eric / Dec 23 2009

    I’ve been looking for this the entire morning. Thnx so much!

  7. Eric / Dec 23 2009

    I also found this for anti-aliasing the video: http://julian.empiregn.com/2006/1/30/Flash-Video-FLV-AntiAliasing

  8. lucca / Dec 29 2009

    is there a way of inserting the video in a specific layer below the graphics i have?
    thanks!

  9. Eva / Jul 5 2010

    Thanks so much, now I finally got my CuePoints working. I’m a beginner and was looking for hours to find a working example for my task.

  10. Dennis / Aug 29 2010

    I have my website set up so that each video plays by clicking on a button with the following code:

    /////////////////////////////////////////////////
    player.source=”stream .flv”;
    /////////////////////////////////////////////////

    My videos stutter. I don’t think they are streaming. so I changed the code to:

    /////////////////////////////////////////////////

    var vid:Video = new Video();
    addChild(vid);

    var nc:NetConnection = new NetConnection();
    nc.connect(null);

    var ns:NetStream = new NetStream(nc);
    vid.attachNetStream(ns);

    var listener:Object = new Object();
    listener.onMetaData = function(evt:Object):void {};
    ns.client = listener;
    ns.play(“stream.flv”);

    ///////////////////////////////////////////////////////////////

    This works but the videos continue to play when another button is clicked. You can hear the audio from one video while watching another.

    How can I stop the video when another is chosen?

    • Peter deHaan / Aug 29 2010

      @Dennis,

      Try calling ns.stop() before calling ns.play().

      Peter

Leave a Comment

Spam Protection by WP-SpamFree