You posted in the 'Rich Media' section of the forum so I assumed you were working on the desktop... the 'player finished' message does get sent under iOS but you will have to display your movie using a 'MPMoviePlayerController' control, not a player from the liveCode 'tool palette' in the IDE.

However, my apologies... it would have been 'playerStopped' message that would have helped on the desktop...

on mouseUp
show player "happy"
set the filename of player "happy" to "/happy/ht/happy.mov"
START player "happy"
end mouseUp
on playstopped
set the filename of player "happy" to empty
hide player "happy"
end playstopped

This post describes my problem. I want to launch the main stack of my desktop application using a standalone named "launcher" as a splash screen. I am using the method prescribed in an online LC lesson. My standalone just has a player object and the following stack script:

on openstack
set the filename of player "player" to "filepath/movie.mp4">
start player "player"
end openstack
on playerfinished
open stack "main application"
close stack "launcher"
end playerfinished

The movie plays as intended from beginning to end. The LC Dictionary says "playerfinished" is sent when the content has finished playing," whereas regarding "playerstopped" it says "sent when the user exits playing." Since I want the 5-second movie to play from beginning to end automatically without user intervention, I use "playerfinished."

But neither the "playerstopped" nor "playerfinished" seems to be sent to the stack. The second handler does not run. Nothing visible happens. I just see what I hope is the last frame of the movie. Is the problem the .mp4 format of my movie? Windows? (I am in using the IDE on a Windows 10 platform.) Wrong code? The movie doesn't actually finish? Something else?

Thanks, Klaus, for your reply. I made the change in the code and it worked. The second thing I learned is when using the LC dictionary to notice for which platform the message is intended. Sometimes there is no clue in the body of the entry. The reader has to look at the first line of the book entry or the fifth or sixth line of the online dictionary.