Play Until Done

I have never used CS3 before, as I have been using Flash 8. But a question has come up
to me and I do not know the answer. I was asked how do we know when a single frame, full actionscript flash movie, finishes playing ?

If you have the answer it would be greatly appreciated.