Björnke von Gierke
bvg at mac.com
Sat Nov 27 10:49:54 CST 2010
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???
> Klaus Major
> klaus at major.on-rev.com
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
More information about the use-livecode