From: Serge Golovin Message-Id: <199702271441.RAA02820@marstu.mari.su> Subject: Re: fli/flc files.. To: taylorn AT syntegra DOT bt DOT co DOT uk (Nigel Taylor) Date: Thu, 27 Feb 1997 17:41:52 +0300 (MSK) Cc: djgpp AT delorie DOT com (DJGPP Mailing List) In-Reply-To: <9702271202.AA11514@syntegra.bt.co.uk> from "Nigel Taylor" at "Feb 27, 97 12:04:08 pm" MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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