initialize movie problem about PApplet
in
Core Library Questions
•
11 months ago
Hi everyone,I'm trying to create a project using video library and my own Class
the main structure looks like following:
(In the main tab)
import video lib
MyClass myclass;
void setup(){
myclass=new MyClass();
......
}
void draw(){
......
}
(In the Myclass tab)
MyClass{
Movie m;
Myclass(){
m=new Movie(this,"filename.mov");
}
......
}
But when I run ,it says that it has a problem with the movie and PApplet's "this".Anybody knows why??
Simply,I just want create a movie and initialize it in my custom class.
Or is there any other way to achieve it??
THX
1