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!
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!