importing animated GIFs
Nicolas Cueto
nicolas_cueto at yahoo.com
Mon Sep 26 02:24:15 EDT 2005
Judy,
Here's the script I used for importing. Note: (1) it hides
each GIF immediately *after* it has been imported, and
(2) it assumes that the target directory/folder contains
only images.
-- SCRIPT FOR IMPORTING ANIMATED GIFs
on mouseUp
put [name of the directory] into tDir
set the defaultFolder to tDir
put the files into tFiles
repeat for each line tFileName in tFiles
put tDir & tFileName into tFilePath
import paint from file tFilePath
set the repeatCount of image tFileName to 0
set the visible of image tFileName to "false"
end repeat
end mouseUp
Cheers,
Nicolas Cueto
niconiko language school
More information about the use-livecode
mailing list