You are setting the imagedata to null, which is equivalent to 0 which is equivalent (at least for the imagedata) to 0000 which is equivalent to black. At least i'd assume something like that is happening. I suggest you file a bug report.
Try the following to set an image to a state where it shows nothing: put "" into image 1 On 27 Nov 2010, at 17:35, Klaus on-rev wrote: > Hi all, > > I found that the imagedata of EMPTY images are NOT really empty??? > > I did this: > 1. Created to identical EMPTY image object, so both appear (transparent) > white on the card > 2. Created a button with this script: > ... > set the imagedata of img 2 to the imagedata of img 1 > ... > 3. I exspected to see nothing, but image 2 turned BLACK after that? > > What am I missing??? > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > kl...@major.on-rev.com > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode