Copy Image

Todd Geist tg.lists at geistinteractive.com
Fri Oct 7 00:19:48 EDT 2005


Let me try to give some more info.  I am so new I can't even ask the
questions correctly  :>(

I am trying to copy and image from the current card to a card in a external
stack, "GrommetData".

If the image is already there from a previous copy,  I delete it first and
then copy it to the card.

If the image is already there all works as expected, BUT if the image is not
alredy there I get an error after the image is copied.  The handler looks
like this


   IF exists (img "image" of cd tCard of stack "GrommetData") THEN
      delete img "image" of cd tCard of stack "GrommetData"
   END if
   
   copy img "image" to cd tCard of stack "GrommetData"



Again, this does not work the fiirst time, but once the image has been
copied to the target card once it works.

Does anybody have any clues?

Thanks

Todd










-- 

Todd Geist
______________________________________
g e i s t   i n t e r a c t i v e 





More information about the use-livecode mailing list