OnMovieComplete event - equivalent
Posted: Mon Mar 08, 2010 2:28 pm
by Mark Elder
OK - here is a classic newbie question for my first post - but what event (or other) tells me when my movie has finished playing? (or reached end of it's first play).
Thanks
Posted: Mon Mar 08, 2010 7:21 pm
by Softanics
Thank you for your question.
Unfortunaly, no such event. Because some movies doesn't have "finish" -- for example, if a movie is a game.
But for some movies you can detect the finish.
If flash movie is a frame-by-frame movie, you can periodically compare current number of frame with total frame count minus one.
See:
http://www.f-in-box.com/delphi/help/ind ... rames.html
http://www.f-in-box.com/delphi/help/ind ... menum.html
Thank you.