Mail Archives: djgpp/1997/02/27/10:08:27
Nigel Taylor wrote:
> The question is regarding moving within the animation, is it possible
> in any way to move BACKWARDS through an animation?? I cant see a
> function to do this but it doesnt seem a particularly difficult task
> to carry out unless there is something odd about the way that a FLI
> stores data and it is impossible to restore the "previous frame" ??
You can NOT play flic backwards. Its stored in file with inter-frame
compression, so that subsequent frame is just a difference from previous.
Only (well, almost only) first frame is stored as whole picture.
To move one frame back you need to cache screenshots of certain frames
or begin with 1st frame and decomress all frames until you reach frame
with number current-1.
Though there is "ring frame" its frame with differences between last and
first frame.
--
SerGo, aka RES
- Raw text -