Cue to the next frame after FLV video ends


I have a flv video after which I want to resume playback of the main timeline. In AS 2.0 I’ve been able to do it with this code (if the flv video component’s instance name is vid)

var vidList : Object = new Object();
vidList.complete = function() {
nextFrame(); //or whatever action you want
vid.addEventListener (“complete”,vidList);

But now it doesn’t work. What’s the correct way of doing it in AS 3.0? I really need to use AS 3.0 so pls don’t advise to change the settings to 2.0