strange imagedata
Björnke von Gierke
bvg at mac.com
Sat Nov 27 11:49:54 EST 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???
>
>
> Best
>
> Klaus
>
> --
> Klaus Major
> http://www.major-k.de
> 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:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list