What is the time interval between frames in a MovieClip?
For example in the following MovieClip definition
local mc = MovieClip.new{
{1, 5, bitmap1},
{5, 10, bitmap2},
} |
How long is bitmap1 playing in time units. I see that is plays for 5 frames, but how long?
I'm trying to use MovieClip instead of the timed animation approach discussed in
http://www.giderosmobile.com/forum/discussion/comment/37#Comment_37 Thanks in advance
Comments
You can set your framerate 60fps or 30fps and if you set your framerate 60fps, bitmap1 will last 5/60 secs. MovieClip uses frame based animation because this allows precise tuning of animation. But we can put an option to enable time based animation.
Thanks.
I'd like to generalize a class without using global variable directly and the api call would be useful.
Likes: chipster123