Copy image content for object image empty.

Sarah Reichelt sarah.reichelt at
Thu Sep 15 23:05:02 EDT 2005

> I am trying to copy an image that is in a stack for an object image empty,
> but it doesn't work; that makes it is to copy a dirty image for the object
> image.
> Script in the object image "Visor"
> on mouseUp
>     put the imagedata of image "img01" of this stack into tImageData
>     put the tImageData into the imagedata of image "Visor"
> end mouseUp

   set the imageData of image "Visor" to tImageData

"put" doesn't work with properties, you have to use "set". In fact I
am surprised that this didn't give you an script error.


More information about the Use-livecode mailing list