OnMovieComplete event - equivalent

F-IN-BOX for Delphi / Builder C++ / VCL
Mark Elder
Posts: 1
Joined: Sat Mar 06, 2010 8:11 pm
Location: Scotland

OnMovieComplete event - equivalent

Postby Mark Elder » Mon Mar 08, 2010 2:28 pm

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
Mark Elder
1 million lines of D7 code in our main app

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Mon Mar 08, 2010 7:21 pm

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.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: Google [Bot] and 5 guests

cron