A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: help!!! listener for video complete not working

  1. #1
    Member
    Join Date
    Sep 2006
    Posts
    39

    help!!! listener for video complete not working

    This is driving me completely crazy.

    Slapped the FLVPlayback component on the stage and gave it an instance name of dis1_flv.

    Attached to an actionscript layer is the following:
    var listenerObject:Object = new Object();
    listenerObject.complete = function(eventObject:Object):Void {
    _root.gotoandPlay("dis1 down");
    trace("done");
    }

    dis1_flv.addEventListener("complete", listenerObject);

    Pulls up the videos fine but then the video gets to the end and just hangs there. Here's the frustrating part: this project has eight videos in it, and two of those eight work perfectly, the video frame sliding down when the video is over.

    Racking my brains trying to figure out the difference between these two and the other six. There is none! I think the eventlistener only likes certain videos because if I flip them and have a nonworking actionscript/flvplayback combo call up one of the videos that worked in another part of the project, well then suddenly it does what it's supposed too. But why would that make a difference, and how do I fix it. These videos were compressed in Sorrenson with the VP6_cd codec.

    Any run into this before?

  2. #2
    Junior Member
    Join Date
    Apr 2005
    Posts
    20
    Drives me crazy too. Any black even the beginnings of a fade to black does this. Well sometimes you can cut the black off sometimes you can't like when the audio continues to the very end. I have one now that has a really fancy ending logo transition. Not an iota of black after. Still hangs

  3. #3
    Member
    Join Date
    Sep 2006
    Posts
    39
    Thank you, thank you, thank you.

    You're right, rendered out the clips again with no black and this time over half of them worked. Still a few are freezing on me. I'll move around the out point and see if that does the trick.

  4. #4
    Junior Member
    Join Date
    Apr 2005
    Posts
    20
    I have one that the video production company removed the black and it still won't get to the end to trigger the listenerObject. I even tried chopping the video before the logo thinking the alpha effects used in the logo were the problem. Still never makes it to the end. Has anyone opened an FLV in Avid or Final Cut?

  5. #5
    Member
    Join Date
    Sep 2006
    Posts
    39
    Won't have a chance to try this out until later, but notice what this guy says (near the bottom): http://www.jeroenwijering.com/?item=...eo_Compression

  6. #6
    Member
    Join Date
    Sep 2006
    Posts
    39
    I think it has something to do with this metadata issue. Keep running into it on the web. The software in the link I sent is supposed to rectify the problem, but it isn't working for me. I'll keep poking, but let me know if you come up with a fix.

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