# listenerObject in an FLV

**URL:** <https://forum.kirupa.com/t/listenerobject-in-an-flv/219982>\
**Category:** flash\
**Created:** [March 21, 2007, 6:12pm UTC](https://forum.kirupa.com/t/listenerobject-in-an-flv/219982 "2007-03-21T18:12:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![somnamblst](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@somnamblst](https://forum.kirupa.com/u/somnamblst)\
**Post date:** [March 21, 2007, 6:12pm UTC](https://forum.kirupa.com/t/listenerobject-in-an-flv/219982/1 "2007-03-21T18:12:52Z")

</div>

I have been using the following for awhile now

import mx.video.\*;  
var listenerObject:Object = new Object();  
listenerObject.complete = function():Void {  
\_root.gotoAndPlay(“frame3”);  
trace(this);  
};  
my\_FLVPlybk.addEventListener(“complete”, listenerObject);

An issue I have run into that I have not been able to figure out is if the FLV faded to black it never returns to the flash timeline. I have been trimming black from the ends of videos but sometimes the video is fading out before the audio ends and I am stuck with a video that never returns for the call to action verbage on frame3

Any suggestions? I have an FLV that is driving me crazy.
