[5717] in java-interest

home help back first fref pref prev next nref lref last post

Loading large image files

daemon@ATHENA.MIT.EDU (Jon Barber)
Sat Feb 24 18:26:55 1996

Date: Wed, 24 Jan 1996 22:00:04 +0000
To: java-interest@java.sun.com
From: Jon Barber <jon@pavilion.co.uk>

Hi,
Sorry if this is blindingly obvious to you, but it isn't to me....

Is there a simple technique to ensure all images have been loded before
starting a loop for a simple animation ?   I've been given 17 quite largish
gifs (about 2000 bytes each) to loop through, but the images aren't all
loaded before the loop starts.  A simple but wrong solution would be to
wait, say, 3 seconds.  There must be a better way ?

I've tried loading the images in both init and run, but neither works properly.

Jon.

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post