loading images

Oliver Hardt hardt at u.arizona.edu
Mon Nov 4 16:26:01 EST 2002


problem: i want to load an image but i don't want to display it 
immediately.  currently, i am using the approach lined out below.

2 questions:  (1) any better scripting out there?  (2) when i import 
an image with "import paint ...", how do i get the ID RR assigned to 
the image?

thanks, olli.



current approach:


   answer file "Select Image to Display"
   put it into lFileName
   if lFileName is not empty
   then
     lock screen
     import paint from file lFileName
     set the itemDelimiter to "/"
     put the last item of lFileName into lImageName
     hide image lImageName
     unlock screen
     wait 2 seconds
     show image lImageName
   end if



More information about the use-livecode mailing list