how to store imagedata in a custom property?

Tiemo Hollmann TB toolbook at kestner.de
Mon Jul 7 04:16:46 EDT 2008


Hello,

cause you can't undo actions with the paint tool, I would like to make my
own "undo" for painting actions with storing different states of the image
in custom properties, like:

set the undo1 of img "foo" to the imagedata of img "foo"

but when trying to restore the imagedata out of the custom property undo1

set the imagedata of img "foo" to the undo1 of img "foo"

just nothing happens.

Is this a scripting fault or how can I store imagedata in a custom property?

Thanks for any help

Tiemo

 

 




More information about the use-livecode mailing list