A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: FLVPlayback loop?

  1. #1
    Junior Member
    Join Date
    May 2006
    Location
    France
    Posts
    7

    Question FLVPlayback loop?

    Hi there.

    I'm using a FLVPlayback to show an external .flv

    Everything is ok, but i don't understand the way to loop the video.

    Even with:
    autoPlay=true
    autoRewind=true

    At the end of my movie, it rewinds on the first frame and then stop.

    But i would like it to loop for ever.
    Is there anything i missed?

    Thanx.

  2. #2
    Registered User nunomira's Avatar
    Join Date
    May 2002
    Location
    portugal
    Posts
    7,003
    The answer is available in the livedocs.
    code:

    import mx.video.*;
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    my_FLVPlybk.play();

    };
    my_FLVPlybk.addEventListener("complete", listenerObject);
    my_FLVPlybk.contentPath = "http://www.helpexamples.com/flash/video/water.flv";


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center