Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

how to play a movie on mousePressed, with multiple other things happening.

$
0
0

Hello, I am a beginner, this is only my second 'serious' program. I am creating an 'interactive poster' for a school assignment. I have the poster loaded as a background image. I would like to have the mousePress function play a short video, if the mouse is clicked on a certain area of the screen. The part I'm having trouble with is which part of the PlayMovie functions to put in setup, which in draw, and which in mouseClicked. Each arrangement I have tried generates a different error, and none of them work so far. I have working programs for all the other components, but nothing where I can press the mouse and have it play the video, when there is a previous image in place. Can someone please help?


Viewing all articles
Browse latest Browse all 2896

Trending Articles