Skip to main content
Known Participant
December 8, 2006
Question

flvplayback

  • December 8, 2006
  • 3 replies
  • 334 views
Hello,
I would like to stream flv files.
I read few posts and some documentation but unfortunately I could not get any positive result.
I have two basic but important questions.
1) what should I put in main.asc file
2) I s there anything to add after dragging the flvplayback component appart the rtmp address where the flv file is located.
I would very much appreciate a fully illustrated answer which can I apply successfully.
Thanks very much indeed.
    This topic is closed to new replies. Start a new post to keep the conversation going.

    3 replies

    Participating Frequently
    December 12, 2006
    You do not place the .flv when using FCS or FMS.
    "rtmp:/video/intro";

    FMS is sending a stream communicating under RTMP protocol between FMS and Flash player and not sending a file for progressive download.

    Streams can be switched on the FMS side such as in a sitcom switching from camera one to camera two so you need to think differently from the idea of files. The file can be fed into the stream is another way of thinking about it.
    Participating Frequently
    December 8, 2006
    http://livedocs.macromedia.com/flash/8/main/00003495.html
    "If you use a FCS to stream FLV files to the FLVPlayback component, you must add the main.asc file to your Flash Communication Server FLV application. You can find the main.asc file in your Flash 8 application folder under Flash 8/Samples and Tutorials/Samples/Components/FLVPlayback/main.asc. "

    Note FCS means FMS.
    coolpyx1Author
    Known Participant
    December 8, 2006
    Thanks very much indeed for the tip. I have already tried it with no success. I have even added to the frame one aftre having dragged the flvplayback:res:
    - FLVPlayback component on the Stage with an instance name of my_FLVPlybk
    */
    import mx.video.*;
    var listenerObject:Object = new Object();
    listenerObject.playing = function(eventObject:Object) {
    trace("The isLive property is " + my_FLVPlybk.isLive);
    };
    my_FLVPlybk.addEventListener("playing", listenerObject);
    my_FLVPlybk.contentPath = "rtmp:/video/intro.flv";
    When I test the movie I do not even see the skin of the flvplayback.
    I have loaded the main.asc which I pasted from the link you gave me .
    If you have any idea why the flv is not playing please let me know.
    Many thanks