FLV end function

Hi people

I’m having some problem with FLV when end the video.

I’m trying to make a gotoandplay for exemple when my FLV finished.

The problem is that I’m not using the FLV Component.

If I use the component, I can use:

var listenerObject:Object = new Object();
listenerObject.complete = function(eventObject:Object):Void {
trace("video ended");
play();
};
myVideo.addEventListener("complete",listenerObject); 

This work perfect. But

I’m using the NEW VIDEO option on the library panel. And this code don’t work.

Somebody can help me on this?

Thanks
Anderson