Next Frame After FLV Finishes

Hi guys,

I want to play an external FLV and then once the video finishes I want it to jump to a new frame (gotoAndPlay).

How can I do this, i.e. how does it know when the FLV has finished?

Thanks!
Matt