I'm trying to get a very simple interaction going. I'm aware that processing is by far not the easiest way of doing this, but nonetheless I'm fed up with not being able to achieve what I want to get done, which is:
A mouseclick sets a boolean value to true. Once this condition is satisfied the draw event checks wether the movie clip has a frame available and then reads it. I figured that the available() function would return false if the movie had no additional frames to display and would thus have ended, giving me means to detect that indeed the movie clip had ended. But it didn't.
Now I'm lost. How can I detect that the movieclip has ended?