Late to this, and I'm sure you have solved it now, but in case not, maybe this?
- if (myMovie.time() == myMovie.duration()) { //movie must be finished
- }