Quantcast
Channel: Processing Forum
Viewing all articles
Browse latest Browse all 1768

Re : myVideo variable contains a Null but how to solve this?

$
0
0
The strange thing is that you don't have a variable named myVideo in your code... I will suppose you were talking about myMovie!
This variable is null by default, and will change only if you call pageCheck(), with a pageValue that is within the range you check. But you draw myMovie probably before pageCheck() is called.

Note: you should learn to use arrays, to avoid copy / paste style programming!

Viewing all articles
Browse latest Browse all 1768

Trending Articles