.flv instead of .f4v script doesn't work

This script was on the first frame of the swf that was playing the flv. When the flv was done playing the function was activated. All I did was change the flv to an f4v and now this script doesn’t work.

var listener:Object = new Object();

listener.complete = function(evt:Object):Void {
trace(“Video complete”);
trace(evt.state);
trace(evt.playheadTime);
loadMovieNum(“projector_all.swf”, 1001);
}

videoPlayer.addEventListener(“complete”, listener);