Movie.init() or new Movie()?
in
Core Library Questions
•
3 years ago
Hi!
In my program, I see that when I create a Movie, (m=new Movie(...))
while I don't close it using m.dispose(), the program is slow.
As I just need to read the video a few times, I guess I have to open and dispose the movie each time.
But I wondered what is the best to reopen the Movie (the same movie each time) :
m = new Movie(...) OR m.init(...) ? (or something better?)
And I don't know what args needs init...
I need the fastest way :)
thx!
1