views:

82

answers:

1
+1  A: 

You can try replacing this code:

if (currentFrame < movie.TotalFrames() - 1)

with this

if (currentFrame < movie.TGetProperty('/', 5) - 1)

It's not as nice, but is another option. TotalFrames() should work.

Sam