Cool, it seems that available isn't the right event.
We also have two other methods on the movie class that might be of use:
time() | Returns location of playback head in units of seconds |
---|
duration() | Returns length of movie in seconds |
---|
so hopefully we can do this
- if (myMovie.time() == myMovie.duration()) { //movie must be finished
- image(fragment,0,0);
- }