Reference+
Name
noLoop()
Class
Movie
Description
If a movie is looping, calling noLoop() will cause it to play until the end and then stop on the last frame.
Examples
import processing.video.*; Movie myMovie; void setup() { size(200, 200); myMovie = new Movie(this, "totoro.mov"); myMovie.loop(); } void draw() { image(myMovie, 0, 0); } void movieEvent(Movie m) { m.read(); } void mousePressed() { myMovie.noLoop(); }
Syntax
.noLoop()
Return
void
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.