in reply to A Tk::Animation question
In the first case, you should probably create an image cache, loading each file only once and then passing the resulting Tk image objects to the animation object, multiple times if needed.
In the second case, I assume you aren't creating new animation objects over and over but rather resetting it and re-playing the same animation object, right? If that's the case it could be a Tk bug, try destroying the animation object and creating it again from the frames after it's played each time.
ESC[78;89;13p ESC[110;121;13p
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: A Tk::Animation question
by seith (Initiate) on Oct 16, 2004 at 00:11 UTC |