need help displaying a blank screen after a video had stop playing.

62nights's icon

hello, im new to max 6 and need wee bit of a hand.

what i am trying to do is make a video play when a infrared sensor detects movement and then it dose not, i want it to show a blank screen then the sensor dose not detects movement.
the part i am having trouble whit is getting the screen to go black then no motion is detected.
what i have been trying to do to make the screen go black is by using a revered trigger from the bang out put (from the sensor 1-0 off-on think its called bang) and an image but not have much success.
below is what iv got so far. (hopeful i have copied it correcting)

Max Patch
Copy patch and select New From Clipboard in Max.

thanks.

LSka's icon
Max Patch
Copy patch and select New From Clipboard in Max.

You can send 0 to a jit.matrix to make it black.

62nights's icon

awesome!
thanks so much, this is exactly what i needed.