Execute code when movie ends?

Is there a way to do this with a streamed flv?