Page 1 of 1

replacement for playStopped?

Posted: Mon Jan 16, 2012 5:41 pm
by kcorey
Hi All,

I've built an app that waits for a click from a user on an img, then plays the name of the img, and then I want to automatically play another sound when the name is done playing.

On the desktop, I just use the playStopped event, and everything going exactly to plan. Of course, that's a desktop-only event.

How does one do this on iOS if the playStopped event isn't generated? I have several names all with different lengths, please don't tell me I need to do a 'send "playStopped" to me in xx milliseconds'!

Thanks,

-Ken

Re: replacement for playStopped?

Posted: Mon Jan 16, 2012 6:22 pm
by Klaus
Hi Ken,

use the native "Player control - MPMoviePlayerController" instead of just "play "video file"!
That will send a "playerFinished" message (and more!).

Check the "iOS Release Notes" (menu: Help) for more info!


Best

Klaus